Граф коммитов

787 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey d931e57c8e Bug 1571596 - Reduce the number of toolchain scripts for GCC. r=nalexander
Now that all GCC and related source tarballs extract to paths
independent of their version number, the scripts are all very
look-alike, so they can be consolidated.

Differential Revision: https://phabricator.services.mozilla.com/D40749
2019-08-07 13:54:27 +09:00
Mike Hommey 375094b924 Bug 1571596 - Repack GCC and related source tarballs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40748
2019-08-07 13:54:27 +09:00
Mike Hommey b3c14183b8 Bug 1571589 - Allow simple manipulation of file paths in fetched archives. r=tomprince
Namely:
- adding a prefix,
- stripping path components.

Differential Revision: https://phabricator.services.mozilla.com/D40741
2019-08-07 13:54:26 +09:00
Mike Hommey 890f87dad8 Bug 1571589 - Allow to repack downloaded archives "on the fly". r=tomprince
Bug 1479533 was proposing to add a similar functionality, but this
iteration avoids actually unpacking anything, and ensures
reproducibility by relying on the reproducible bits from the original
archives: file ordering, flags, etc. (since they are checksummed, those
are never going to change for a given archive).

Another notable difference is that this applies the repack on the fetch
task itself, rather than create a separate task to apply the repack. The
latter has advantages, in that it allows to change the repacking without
redownloading the original file from a third-party server, but in
practice, most changes to the repacking would trigger the download tasks
anyways.

This patch only takes care of changing the archive type (zip->tar), and
the compression type (anything->zstandard).

Differential Revision: https://phabricator.services.mozilla.com/D40740
2019-08-07 13:54:25 +09:00
Mike Hommey 525bccdd60 Bug 1571589 - Abstract opening a temporary file and renaming it after close. r=tomprince
And use that in git_checkout_archive.

Differential Revision: https://phabricator.services.mozilla.com/D40739
2019-08-07 13:54:24 +09:00
Mike Hommey 34a2eebc79 Bug 1571589 - Use urlparse rather relying on just splitting on / being enough. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D40738
2019-08-07 13:54:23 +09:00
Mike Hommey 57786654e0 Bug 1571562 - Use toolchain fetches instead of use_toolchain references in toolchain task definitions. r=nalexander
And remove the use of tooltool-download where it's not needed anymore.

Differential Revision: https://phabricator.services.mozilla.com/D40714
2019-08-07 13:54:20 +09:00
Mike Hommey 0d49eb3466 Bug 1571562 - Make tooltool-download.sh download and extract to MOZ_FETCHES_DIR. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40712
2019-08-07 13:54:18 +09:00
Mike Hommey 034e9b6b7b Bug 1570541 - Use git fetch tasks for clang. r=froydnj
What this means is that the sources for clang/llvm are downloaded
separately from the toolchain build (which also means we finally only
download a given version of clang once for all platforms).

In turn, this means the build-clang.py script needs to start with an
existing llvm-project tree, and we choose to make build-clang.py expect
that it's run from the llvm-project root directory.

This also means we don't need to download git for the windows toolchain
task.

Differential Revision: https://phabricator.services.mozilla.com/D40402
2019-08-07 13:54:15 +09:00
Mike Hommey a57cc9b49f Bug 1570541 - Use tarfile in fetch-content on Windows. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D40401
2019-08-07 13:54:14 +09:00
Mike Hommey 246fa80fb3 Bug 1570598 - Reduce the number of scripts used to build clang toolchains. r=froydnj
They are now all very similar, and there are only a few variations.

Differential Revision: https://phabricator.services.mozilla.com/D40365

MANUAL PUSH: avoid closing autoland while toolchains are rebuilt.
2019-08-03 07:08:50 +09:00
Mike Hommey 9b84c9014f Bug 1570598 - Pass the clang json file as an argument to the toolchain script. r=froydnj
Make the argument use the same format as resources, so move the
sub-script invocation accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D40364
2019-08-03 07:08:49 +09:00
Mike Hommey 98bd74773e Bug 1570598 - Consistently use GECKO_PATH and MOZ_FETCHES_DIR in toolchain scripts. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40187
2019-08-03 07:08:48 +09:00
Mike Hommey e2daeefe33 Bug 1570598 - Use a common setup file for Visual Studio in toolchain scripts. r=nalexander
This has the side effect of making gn a 64-bits binary. Keeping it
32-bits is not worth the effort.

Differential Revision: https://phabricator.services.mozilla.com/D40186
2019-08-03 07:08:47 +09:00
Mike Hommey 7c09816a13 Bug 1570598 - Make windows clang toolchain tasks download artifact from GECKO_PATH. r=nalexander
This makes the setup used by these builds more similar to everywhere
else, making subsequent improvements easier.

Differential Revision: https://phabricator.services.mozilla.com/D40185
2019-08-03 07:08:46 +09:00
Mike Hommey 65e385dc5d Bug 1570598 - Use GECKO_PATH instead of WORKSPACE/build/src in tooltool-download.sh. r=nalexander
This removes the need for the hacks in wr-macos-cross-build-setup.sh and
wrench-windows-tests.sh, while keeping things working in other scripts.

Differential Revision: https://phabricator.services.mozilla.com/D40184
2019-08-03 07:08:46 +09:00
Mike Hommey 9648466042 Bug 1570240 - Use a fetch task artifact for android-rs-glue source. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40034
2019-08-03 07:08:45 +09:00
Mike Hommey ebf4f74742 Bug 1570240 - Use fetch tasks' artifacts for clang-8-mingw sources. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40033
2019-08-03 07:08:44 +09:00
Mike Hommey f2d5d3ee9e Bug 1570240 - Use a fetch task artifact to get fxc2 source. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40032
2019-08-03 07:08:43 +09:00
Mike Hommey 7aad59e35d Bug 1570240 - Use fetch tasks' artifacts to get sccache and openssl source. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D40031
2019-08-03 07:08:43 +09:00
Mike Hommey 5096ed0b29 Bug 1570240 - Use a fetch task artifact to get grcov source. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40030
2019-08-03 07:08:42 +09:00
Mike Hommey 89e989fe7c Bug 1570240 - Use a fetch task artifact to get gn source. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40029
2019-08-03 07:08:41 +09:00
Mike Hommey fd9831be96 Bug 1570240 - Use a fetch task artifact to get rust-size source. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40028
2019-08-03 07:08:40 +09:00
Mike Hommey 99201dd8a2 Bug 1570240 - Use the fetch task artifact for cbindgen source. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40027
2019-08-03 07:08:40 +09:00
Mike Hommey 6e5fc78628 Bug 1570564 - Convert build-clang.py to python 3. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D40152
2019-08-02 19:06:20 +09:00
Tom Prince f5366339ef Bug 1570054: Specify `UPLOAD_DIR` explicitly in taskgraph for docker-worker built toolchains; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D39903
2019-08-02 19:05:56 +09:00
Tom Prince 249252f4b0 Bug 1565725: Use run-task to change the working directory; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D39600
2019-08-02 19:05:55 +09:00
Tom Prince a09d72c850 Bug 1565725: Add an option to run-task to change the current directory for the command; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D39599
2019-08-02 19:05:55 +09:00
Razvan Maries 14c6d8b7c6 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-08-02 01:50:59 +03:00
Razvan Maries 3ca183c1a2 Merge mozilla-inbound to mozilla-central a=merge 2019-08-02 00:21:57 +03:00
Sylvestre Ledru 2505df426c Bug 1566336 - Build clang from git rather than subversion. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D38361

MANUAL PUSH: avoid closing autoland while clang rebuilds.
2019-08-01 07:26:55 +09:00
Bogdan Tara 4f87c3bc2b Backed out changeset 4ba7a3e079e3 (bug 1566336) for static analysis bustage CLOSED TREE 2019-08-01 00:38:59 +03:00
Sylvestre Ledru 86692bad14 Bug 1566336 - Build clang from git rather than subversion. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D38361

MANUAL PUSH: avoid closing autoland while clang rebuilds.
2019-08-01 05:56:39 +09:00
Mike Hommey 93784dd2f7 Bug 1515082 - Use "fetches.toolchain" for webrender tasks. r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D40014

--HG--
extra : moz-landing-system : lando
2019-08-01 21:04:09 +00:00
Mike Hommey 70693454fd Bug 1570224 - Use nproc instead of getconf _NPROCESSORS_ONLN. r=nalexander
Plenty of places use `nproc`, and only a couple use `getconf
_NPROCESSORS_ONLN`. Use the former instead of the latter.

Differential Revision: https://phabricator.services.mozilla.com/D39999

--HG--
extra : moz-landing-system : lando
2019-07-31 17:21:22 +00:00
Mike Hommey d5a633f2e9 Bug 1569887 - Use a fetch task artifact to get tup source. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39849

--HG--
extra : moz-landing-system : lando
2019-07-30 16:39:20 +00:00
Mike Hommey 0e5de57dd0 Bug 1569887 - Use a fetch task artifact to get llvm-dsymutil source. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D39848

--HG--
extra : moz-landing-system : lando
2019-07-30 21:10:09 +00:00
Mike Hommey 506f421e75 Bug 1569887 - Use the fetch task artifacts for libdmg-hfsplus. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39847

--HG--
extra : moz-landing-system : lando
2019-07-30 21:09:24 +00:00
Mike Hommey eab1179c45 Bug 1569887 - Use the fetch task artifacts for cctools-port/libtapi source. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39846

--HG--
extra : moz-landing-system : lando
2019-07-30 21:08:01 +00:00
Mike Hommey 99390d1487 Bug 1569865 - Switch the llvm-dsymutil toolchain task to cloning the llvm-project repo. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D39837

--HG--
extra : moz-landing-system : lando
2019-07-30 13:43:08 +00:00
Andreea Pavel 38c88cbf4b Merge mozilla-inbound to mozilla-central a=merge 2019-07-30 12:50:56 +03:00
Mike Hommey 21665e187c Bug 1569124 - Add git support to fetch tasks. r=tomprince
This is loosely based on what was in bug 1467359, but simplified to
handle git only, and simply using git-archive because, at least now,
it's deterministic (it uses the commit date as timestamp in tar
archives).

This also adds 4 tasks for some of the things we use for toolchains, but
doesn't hook them up yet.

This also upgrades the fetch docker image to Debian buster, and installs
the required packages in it.

Differential Revision: https://phabricator.services.mozilla.com/D39480
2019-07-30 14:43:31 +09:00
Mike Hommey 633f41e4b0 Bug 1568460 - Set MOZ_FETCHES_DIR more appropriately. r=tomprince
For some tasks, the workdir known to the decision task doesn't actually match
the workdir used in the task, which makes MOZ_FETCHES_DIR wrong when the
decision task derives it from the workdir.

On other tasks, MOZ_FETCHES_DIR is set to a relative directory, which
may work in some places where MOZ_FETCHES_DIR is used, but not in
others, that happen to be executed from a different directory.

To solve both problems, we set MOZ_FETCHES_DIR as a relative directory
everywhere, and we make run-task normalize it to an absolute path
before executing the task.

Differential Revision: https://phabricator.services.mozilla.com/D39152

--HG--
extra : moz-landing-system : lando
2019-07-29 20:48:40 +00:00
shindli 1c380bd4ec Backed out changeset a2c0bed45b89 (bug 1568460) for causing spidermonkey failures "[Errno 2] No such file or directory" 2019-07-29 04:51:41 +03:00
Mike Hommey 54a61a549b Bug 1568460 - Set MOZ_FETCHES_DIR more appropriately. r=tomprince
For some tasks, the workdir known to the decision task doesn't actually match
the workdir used in the task, which makes MOZ_FETCHES_DIR wrong when the
decision task derives it from the workdir.

On other tasks, MOZ_FETCHES_DIR is set to a relative directory, which
may work in some places where MOZ_FETCHES_DIR is used, but not in
others, that happen to be executed from a different directory.

To solve both problems, we set MOZ_FETCHES_DIR as a relative directory
everywhere, and we make run-task normalize it to an absolute path
before executing the task.

Differential Revision: https://phabricator.services.mozilla.com/D39152

--HG--
extra : moz-landing-system : lando
2019-07-28 22:05:42 +00:00
Oana Pop Rus 15a4017037 Backed out changeset a1a4f3976b34 (bug 1564638) for wrench-deps bustages. on a CLOSED TREE 2019-07-25 04:26:08 +03:00
Eric Rahm de3cb80766 Bug 1564638 - Update Linux to Rust beta 1.37. r=froydnj,glandium
Differential Revision: https://phabricator.services.mozilla.com/D37775

--HG--
extra : moz-landing-system : lando
2019-07-25 00:36:16 +00:00
Nick Alexander 280126dff5 Bug 1564256 - Part 2: Produce browsertime.zip in a toolchain task. r=mshal
In browsertime.zip we should have:

browsertime/
  package.json
  package-lock.json
  node_modules/
    .bin/
      browsertime -> ../browsertime/bin/browsertime.js
    browsertime/
      ...

The idea is that we'll fetch browsertime.zip in a generic-worker
environment and be able to run Node.js from within the top level
browsertime/ directory.

Differential Revision: https://phabricator.services.mozilla.com/D38773

--HG--
extra : moz-landing-system : lando
2019-07-24 20:59:55 +00:00
Agi Sferro 094f958c69 Bug 1522795 - Update android gradle plugin to 3.4.2. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39106

--HG--
extra : moz-landing-system : lando
2019-07-24 18:48:54 +00:00
Jeff Muizelaar 9d76533592 Bug 1567807. Use a newer gradle for wrench. r=nalexander
This gets the wrench android builds working again after
07168db23c565e4506690612a7be50738844ddb2.

Differential Revision: https://phabricator.services.mozilla.com/D38882

--HG--
extra : moz-landing-system : lando
2019-07-22 16:39:08 +00:00
Nicolas Silva 1f245ea240 Bug 1565569 - Remove the old pathfinder integration. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D37862

--HG--
extra : rebase_source : 93849386dacff73f73481e652e7e5a00f9d019fa
extra : source : 12d70adf7d1c28d0a4f7328c4b4659d4f33db107
2019-07-18 15:07:31 +02:00
Chris Manchester d95bf19baf Bug 1566219 - Update sccache built in tree to pick up fix for "too many open files" on macOS. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38152

--HG--
extra : moz-landing-system : lando
2019-07-16 18:52:22 +00:00
Mike Hommey 79919f31ad Bug 1357317 - Add an rpath to cctools such that it doesn't require LD_LIBRARY_PATH at run-time. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38140

--HG--
extra : moz-landing-system : lando
2019-07-16 20:54:42 +00:00
Mike Hommey a4493b9ba3 Bug 1566300 - Upgrade GCC 7 to 7.4.0 and add toolchain tasks for GCC 8 and 9. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38154

--HG--
rename : taskcluster/scripts/misc/build-gcc-7-linux.sh => taskcluster/scripts/misc/build-gcc-8-linux.sh
rename : taskcluster/scripts/misc/build-gcc-7-linux.sh => taskcluster/scripts/misc/build-gcc-9-linux.sh
extra : moz-landing-system : lando
2019-07-16 20:39:09 +00:00
Nathan Froyd 186e5cc97a Bug 1562953 - update cctools-port; r=mshal
We need a fix from `cctools-port` master for cross-language LTO builds
to work properly on the Mac.  Rather than cherry-picking yet another
commit, which would have to deal with a updated `ld64` upstream, we've
opted to go ahead and update directly to upstream.

This choice brings about some significant build changes, as TAPI support
has moved to a different library that is not easily buildable directly.

Differential Revision: https://phabricator.services.mozilla.com/D36636

--HG--
extra : moz-landing-system : lando
2019-07-11 21:54:07 +00:00
Tom Prince 9bb7066754 Bug 1458385: Update linux-upx to 3.9.5; r=glandium
This matches the version that exists in mozilla-build (see Bug 1501403).

Differential Revision: https://phabricator.services.mozilla.com/D26413

--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:20 +00:00
Tom Prince 0cd3337d90 Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D24229

--HG--
extra : moz-landing-system : lando
2019-07-11 16:40:13 +00:00
Csoregi Natalia 3ee5aa5125 Backed out changeset 43e086ced66f (bug 1562953) for toolchains bustage. CLOSED TREE 2019-07-09 08:54:59 +03:00
Nathan Froyd c762dc8e76 Bug 1562953 - update cctools-port; r=mshal
We need a fix from `cctools-port` master for cross-language LTO builds
to work properly on the Mac.  Rather than cherry-picking yet another
commit, which would have to deal with a updated `ld64` upstream, we've
opted to go ahead and update directly to upstream.

This choice brings about some significant build changes, as TAPI support
has moved to a different library that is not easily buildable directly.

Differential Revision: https://phabricator.services.mozilla.com/D36636

--HG--
extra : moz-landing-system : lando
2019-07-09 04:59:37 +00:00
Mike Hommey 1e693768bf Bug 1563465 - Remove leftovers from bug 1451104. r=froydnj
Bug 1451104 removed the GCC 4.9 toolchain, but left the build script and
the patch that only that toolchain build was using.

Differential Revision: https://phabricator.services.mozilla.com/D36886

--HG--
extra : moz-landing-system : lando
2019-07-04 13:00:43 +00:00
Tom Ritter c6acf7ff90 Bug 1562256 - Update mingw version and re-enable mingw-clang builds r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D36662

--HG--
extra : moz-landing-system : lando
2019-07-02 20:50:51 +00:00
Nathan Froyd 3547dc13e2 Bug 1562955 - remove macosx64-cctools-port job; r=nalexander
Nothing references this job anymore.

Differential Revision: https://phabricator.services.mozilla.com/D36635

--HG--
extra : moz-landing-system : lando
2019-07-02 19:48:51 +00:00
Mike Shal b89eb348d4 Bug 1562725 - export UPLOAD_PATH in run-profileserver.sh; r=firefox-build-system-reviewers,chmanchester
When adding Windows compatibility in bug 1557785, we stopped exported
UPLOAD_PATH by default. UPLOAD_PATH is used by profileserver.py to
determine where to store the logs; when it is unset, the logs go to
stdout and the artifacts aren't created. We should always export
UPLOAD_PATH to get the same logging behavior on all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D36521

--HG--
extra : moz-landing-system : lando
2019-07-01 20:32:35 +00:00
Tom Ritter 01f7b56cf8 Bug 1552706 - Update MinGW version and remove MinGW sandbox hacks r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D36218

--HG--
extra : moz-landing-system : lando
2019-06-28 09:53:12 +00:00
Emilio Cobos Álvarez 3d0f056ca7 Bug 1559814 - Update cbindgen. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D36020

--HG--
extra : moz-landing-system : lando
2019-06-26 20:32:41 +00:00
Chris Manchester ed3205a579 Bug 1561702 - Bump sccache in tree to 0.2.9 release. r=dmajor
This version includes several fixes for sccache-dist in addition
to changes that make sccache compatible with cargo pipelining.

Differential Revision: https://phabricator.services.mozilla.com/D36075

--HG--
extra : moz-landing-system : lando
2019-06-26 19:58:16 +00:00
Mike Shal f1f2c9715a Bug 1557785 - Update run-profileserver.sh for Windows compatibility; r=firefox-build-system-reviewers,chmanchester
The run-profileserver.sh script is a bridge between the Taskcluster task
and profileserver.py. It was originally written as a Linux-only script,
but with a few modifications it can support Windows as well. The xvfb
support needs to be optional, and the UPLOAD_PATH and PGO_RUNDIR
variables must not assume a Linux filesystem.

Differential Revision: https://phabricator.services.mozilla.com/D34796

--HG--
extra : moz-landing-system : lando
2019-06-19 22:05:41 +00:00
Rok Garbas 002308f48f Bug 1557255 - fixing toolchain-linux64-clang-8-macosx-cross job r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D34839

--HG--
extra : moz-landing-system : lando
2019-06-13 09:39:47 +00:00
Rok Garbas bb7bcf38e3 Bug 1557255 - switch from relengapi-proxy to taskcluster-proxy in taskgraph r=rail
Bug 1557255 - use taskcluster proxy when running tooltool.py

Bug 1557255 - fixing tooltool url

Differential Revision: https://phabricator.services.mozilla.com/D34472

--HG--
extra : moz-landing-system : lando
2019-06-12 14:43:14 +00:00
Mike Hommey 985a376afa Bug 1526857 - Improve bindgen configuration wrt clang. r=chmanchester
The current setup for bindgen relies on either finding clang/libclang
from the output of llvm-config, or from the paths given via the
configure flags --with-clang-path/--with-libclang-path.

One _very_ common problem is that the llvm-config we end up using does
not correspond to the clang used for compilation, which has some
undesirable side effect, like failing to build.

So instead of relying on llvm-config, we do the following:
- when the compiler is clang, we just use that
- when the compiler is clang-cl, we use clang from the same directory
- otherwise, we either try to find clang in PATH, or rely on
  --with-clang-path.

Once clang is found, we try to deduce the location of the corresponding
libclang via the output of `clang -print-search-dirs`, or rely on
--with-libclang-path.

Differential Revision: https://phabricator.services.mozilla.com/D33241

--HG--
extra : moz-landing-system : lando
2019-06-05 02:48:20 +00:00
Tom Prince d02555e20e Bug 1553915: Check for `mach` binary before trying to use it to run python; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D33175

--HG--
extra : moz-landing-system : lando
2019-05-30 20:20:57 +00:00
Chris Manchester 99eb67df5d Bug 1499147 - Produce archives of toolchains suitable for use with sccache-dist in automation. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33101

--HG--
extra : moz-landing-system : lando
2019-05-30 06:38:00 +00:00
Chris Manchester 494eff062e Bug 1555396 - Bump revision of sccache built in automation to current master. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D33102

--HG--
extra : moz-landing-system : lando
2019-05-30 06:32:54 +00:00
Andi-Bogdan Postelnicu 16bdec73bc Bug 1554632 - reviewbot tasks should use a mozconfig file. r=bastien,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D32680

--HG--
extra : moz-landing-system : lando
2019-05-27 14:07:39 +00:00
Tom Prince 573c84911a No bug: [mozharness] Don't explicitly pass scm-level to mozharness; r=Callek
The last use of scm level in mozharness is in `mozharness.mozilla.secrets` which
uses the `MOZ_SCM_LEVEL` environment variable directy.

Differential Revision: https://phabricator.services.mozilla.com/D20897

--HG--
extra : moz-landing-system : lando
2019-05-24 01:08:06 +00:00
Nathan Froyd fd36809417 Bug 1553973 - make run-profileserver.sh collect all .profraw files; r=firefox-build-system-reviewers,mshal
This change is necessary to make either e10s profiling or LLVM IR-based
PGO instrumentation work properly, as both will generate multiple
`.profraw` files.

Differential Revision: https://phabricator.services.mozilla.com/D32390

--HG--
extra : moz-landing-system : lando
2019-05-23 21:54:17 +00:00
Tom Ritter 6ac52e21b1 Bug 1471698 - Remove our binutils-corruption-avoiding workaround for mingw-clang r=froydnj
Depends on D31347

Differential Revision: https://phabricator.services.mozilla.com/D31349

--HG--
extra : moz-landing-system : lando
2019-05-22 13:40:36 +00:00
Edwin Gao 231ad45e42 Bug 1552563 - remove mochitest-media from whitelist not requiring compiz CLOSED TREE
Summary:
Changes:
- remove `mochitest-media` from the whiteslist - compiz is required.

Test Plan: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=pending%2Crunning%2Csuperseded%2Cusercancel%2Cretry%2Csuccess%2Ctestfailed%2Cbusted%2Cexception&classifiedState=unclassified&group_state=expanded&revision=f16b0ce4af9e575ef2ec877b405698c0b0c62f92

Reviewers: jmaher, gbrown

Bug #: 1552563

Differential Revision: https://phabricator.services.mozilla.com/D32383

--HG--
extra : rebase_source : 1d8b1ba401ab9b565258fd6be4c0de9975e1e4fd
extra : histedit_source : c53f405d98335228f3313abedb4dfd26fab4f9e2
2019-05-23 23:53:21 +03:00
Andreea Pavel 3c9b661125 Backed out changeset 52e365586577 (bug 1552563) for failing test_getUserMedia_basicScreenshare.html on a CLOSED TREE 2019-05-23 23:52:19 +03:00
Edwin Gao 428bdb8a57 Bug 1552563 - do not run compiz on linux tests unless needed by tests r=jmaher
Changes:

- removed UBUNTU_1604 detection mechanism at top of `test-linux.sh` file, since all tests are run on Ubuntu 16.04 anyway
- added new environment value `NEED_COMPIZ`, defaulting to `true`, which will inform the test if compiz is required for tests
- from `test-linux.sh` remove unconditional invocation of compiz, and replace it with detection of `NEED_COMPIZ` environment variable

Differential Revision: https://phabricator.services.mozilla.com/D31724

--HG--
extra : moz-landing-system : lando
2019-05-21 16:33:43 +00:00
Chris Manchester a18c4d2cbd Bug 1553339 - Abandon "2" in name of sccache toolchain artifacts. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D32218

--HG--
extra : moz-landing-system : lando
2019-05-22 21:06:16 +00:00
Oana Pop Rus af0293e185 Backed out changeset 7de6c5aab8b4 (bug 1471698) for build bustages on Windows MinGW all on a CLOSED TREE 2019-05-22 16:36:06 +03:00
Tom Ritter 382e464814 Bug 1471698 - Remove our binutils-corruption-avoiding workaround for mingw-clang r=froydnj
Depends on D31347

Differential Revision: https://phabricator.services.mozilla.com/D31349

--HG--
extra : moz-landing-system : lando
2019-05-21 17:57:06 +00:00
Chris Manchester 75b9d34484 Bug 1532329 - Build sccache for macOS as a toolchain task. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D31692

--HG--
extra : moz-landing-system : lando
2019-05-22 03:27:23 +00:00
Noemi Erli ea4d1bdf44 Backed out changeset aadea84deaeb (bug 1532329) for toolchains bustages CLOSED TREE 2019-05-22 02:40:58 +03:00
Chris Manchester 154f462aa7 Bug 1532329 - Build sccache for macOS as a toolchain task. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D31692

--HG--
extra : moz-landing-system : lando
2019-05-18 00:20:17 +00:00
Nathan Froyd 37d0db29a9 Bug 1551690 - be more specific about the LLVM target on OS X; r=nalexander
Our current OS X builds use `--target=x86_64-darwin11` (which
corresponds to OS X 10.7).  This target is problematic for two reasons:

* We're actually targeting for OS X 10.9 (`MACOSX_DEPLOYMENT_TARGET`);
* It's slightly different from the default Rust target.

Let's address these problems in reverse order: differences from the Rust
target are bad, because the `--target` we provide to `clang` and the
Rust target find their way into LLVM bitcode files and the linker will
refuse to link together bitcode files that have incompatible targets.

Why are the two incompatible?  The current `--target` doesn't have a
"vendor" in triple-speak, whereas the Rust one has "apple" as the
vendor (`x86_64-apple-darwin`) We therefore need to change the
`--target` we pass to `clang` to have a vendor of "apple".

This need is behind the {init,toolchain}.configure changes,
but it has ramifications elsewhere, because `clang` looks for
`--target`-prefixed build tools.  So we have to change the `--target`
for cctools to get the right tool prefixes and we have to change the
`--target` for building clang ourselves so that *those* builds can find
the newly renamed cctools.

Once we've done, that's really enough; we don't *need to address the
first problem: While the `--target` might be `x86_64-apple-darwin11`,
both `clang` and `rustc` will dynamically choose the target triple that
eventually lands in LLVM bitcode files based on
`MACOSX_DEPLOYMENT_TARGET`, which we set in all builds.  But the current
target is slightly misleading, and the cctools don't need to be prefixed
with a particular Darwin version, since they work for all Darwin
targets.  Let's just drop the "11" from the `--target` and eliminate a
little bit of confusion.

Differential Revision: https://phabricator.services.mozilla.com/D31128

--HG--
extra : moz-landing-system : lando
2019-05-21 17:53:44 +00:00
Andreea Pavel 58566309c2 Backed out changeset ae7096d1add7 (bug 1551690) for toolchain bustages on a CLOSED TREE 2019-05-21 17:05:24 +03:00
Nathan Froyd d49bc5f0ef Bug 1551690 - be more specific about the LLVM target on OS X; r=nalexander
Our current OS X builds use `--target=x86_64-darwin11` (which
corresponds to OS X 10.7).  This target is problematic for two reasons:

* We're actually targeting for OS X 10.9 (`MACOSX_DEPLOYMENT_TARGET`);
* It's slightly different from the default Rust target.

Let's address these problems in reverse order: differences from the Rust
target are bad, because the `--target` we provide to `clang` and the
Rust target find their way into LLVM bitcode files and the linker will
refuse to link together bitcode files that have incompatible targets.

Why are the two incompatible?  The current `--target` doesn't have a
"vendor" in triple-speak, whereas the Rust one has "apple" as the
vendor (`x86_64-apple-darwin`) We therefore need to change the
`--target` we pass to `clang` to have a vendor of "apple".

This need is behind the {init,toolchain}.configure changes,
but it has ramifications elsewhere, because `clang` looks for
`--target`-prefixed build tools.  So we have to change the `--target`
for cctools to get the right tool prefixes and we have to change the
`--target` for building clang ourselves so that *those* builds can find
the newly renamed cctools.

Once we've done, that's really enough; we don't *need to address the
first problem: While the `--target` might be `x86_64-apple-darwin11`,
both `clang` and `rustc` will dynamically choose the target triple that
eventually lands in LLVM bitcode files based on
`MACOSX_DEPLOYMENT_TARGET`, which we set in all builds.  But the current
target is slightly misleading, and the cctools don't need to be prefixed
with a particular Darwin version, since they work for all Darwin
targets.  Let's just drop the "11" from the `--target` and eliminate a
little bit of confusion.

Differential Revision: https://phabricator.services.mozilla.com/D31128

--HG--
extra : moz-landing-system : lando
2019-05-21 13:48:23 +00:00
Coroiu Cristina c4361da40f Backed out changeset 2e560a9e4bcf (bug 1551690) for build bustages 2019-05-21 03:51:56 +03:00
Nathan Froyd dc2ad25275 Bug 1551690 - be more specific about the LLVM target on OS X; r=nalexander
Our current OS X builds use `--target=x86_64-darwin11` (which
corresponds to OS X 10.7).  This target is problematic for two reasons:

* We're actually targeting for OS X 10.9 (`MACOSX_DEPLOYMENT_TARGET`);
* It's slightly different from the default Rust target.

Let's address these problems in reverse order: differences from the Rust
target are bad, because the `--target` we provide to `clang` and the
Rust target find their way into LLVM bitcode files and the linker will
refuse to link together bitcode files that have incompatible targets.

Why are the two incompatible?  The current `--target` doesn't have a
"vendor" in triple-speak, whereas the Rust one has "apple" as the
vendor (`x86_64-apple-darwin`) We therefore need to change the
`--target` we pass to `clang` to have a vendor of "apple".

This need is behind the {init,toolchain}.configure changes,
but it has ramifications elsewhere, because `clang` looks for
`--target`-prefixed build tools.  So we have to change the `--target`
for cctools to get the right tool prefixes and we have to change the
`--target` for building clang ourselves so that *those* builds can find
the newly renamed cctools.

Once we've done, that's really enough; we don't *need to address the
first problem: While the `--target` might be `x86_64-apple-darwin11`,
both `clang` and `rustc` will dynamically choose the target triple that
eventually lands in LLVM bitcode files based on
`MACOSX_DEPLOYMENT_TARGET`, which we set in all builds.  But the current
target is slightly misleading, and the cctools don't need to be prefixed
with a particular Darwin version, since they work for all Darwin
targets.  Let's just drop the "11" from the `--target` and eliminate a
little bit of confusion.

Differential Revision: https://phabricator.services.mozilla.com/D31128

--HG--
extra : moz-landing-system : lando
2019-05-15 21:13:17 +00:00
Tom Ritter 505cced8b9 Bug 1471698 - Switch the mingw clang compiler to the 8 branch r=froydnj
This will match the compiler version Tor would like. We backport several
llvm-objcopy patches that landed right after the 8 branch though. We
also grab some upstream changes from mingw-clang in the build script

Differential Revision: https://phabricator.services.mozilla.com/D31347

--HG--
extra : moz-landing-system : lando
2019-05-17 19:21:15 +00:00
Emilio Cobos Álvarez cee627fc60 Bug 1529002 - Update cbindgen. r=boris
We need this to auto-generate the copy-constructor for TransformOperation,
without which the patch wouldn't build.

Differential Revision: https://phabricator.services.mozilla.com/D30799

--HG--
extra : moz-landing-system : lando
2019-05-16 23:24:17 +00:00
Ciure Andrei 00a73f5055 Backed out 17 changesets (bug 1550554, bug 1549593, bug 1551991, bug 1529002) for failing multiple Android tests and Windows 2012 bustages CLOSED TREE
Backed out changeset 3bb3fafa62e2 (bug 1551991)
Backed out changeset e12a979de502 (bug 1551991)
Backed out changeset d81e4aa6bf0c (bug 1551991)
Backed out changeset c354e61f2a34 (bug 1551991)
Backed out changeset 37fd602bebc2 (bug 1551991)
Backed out changeset 6c1f00cc30ca (bug 1551991)
Backed out changeset 8a7a0329bdc3 (bug 1551991)
Backed out changeset 86159475ddd3 (bug 1551991)
Backed out changeset 35f91a9ea82a (bug 1529002)
Backed out changeset 6798155e71dc (bug 1529002)
Backed out changeset b90c2cf5b8c5 (bug 1550554)
Backed out changeset 882ab9868c95 (bug 1550554)
Backed out changeset b28a48e2ed21 (bug 1550554)
Backed out changeset 2c31fe18eefd (bug 1550554)
Backed out changeset 57f2362aa538 (bug 1550554)
Backed out changeset 45f171b26e95 (bug 1550554)
Backed out changeset 2e4b263c9410 (bug 1549593)
2019-05-16 13:17:10 +03:00
Emilio Cobos Álvarez e10c38f6f4 Bug 1529002 - Update cbindgen. r=boris
We need this to auto-generate the copy-constructor for TransformOperation,
without which the patch wouldn't build.

Differential Revision: https://phabricator.services.mozilla.com/D30799
2019-05-16 16:24:36 +02:00
Joel Maher ec5f3f9ae1 Bug 1551957 - Allow for osx 10.14 in CI for source tasks. r=ahal
Allow for osx 10.14 in CI for source tasks.

Differential Revision: https://phabricator.services.mozilla.com/D31297

--HG--
extra : moz-landing-system : lando
2019-05-15 21:04:57 +00:00
Kartikaya Gupta e23526209c Bug 1545968 - Update repack_rust.py to include rust stdlib src and analysis data. r=glandium
This makes the rust toolchain artifacts contain the rust stdlib as well,
for use by searchfox. It does bring up the size of the toolchain
artifact slightly - rustc.tar.xz file for the Linux/rust 1.34 job for
example goes from 270483672 bytes to 273803148 bytes (1.23% larger) and
the equivalent android tarball goes from 230503888 to 235698736 bytes
(2.25% larger).

Differential Revision: https://phabricator.services.mozilla.com/D28282

--HG--
extra : moz-landing-system : lando
2019-05-14 17:30:55 +00:00
Rob Thijssen 898299aa0d Bug 1549346 - toggle sccache gcs feature to always on r=chmanchester
partial revert of https://hg.mozilla.org/mozilla-central/rev/5b08dd3eeec9 where the gcs feature switch should have been to the win build only and always enabled rather than just when the SCCACHE_GCS_KEY_PATH variable is set.

Differential Revision: https://phabricator.services.mozilla.com/D30774

--HG--
extra : moz-landing-system : lando
2019-05-13 23:56:02 +00:00
Edwin Gao cfbdbd0133 Bug 1548924 - task efficiency: remove sleep 15 clause from test-linux.sh r=gbrown,jmaher CLOSED TREE
Changes:
- remove the `sleep 15` clause.

Differential Revision: https://phabricator.services.mozilla.com/D30251

--HG--
extra : source : 0e9e744accd3ed7b7b0ff2436904ed78a92bf9e2
2019-05-07 23:06:53 +00:00
Mihai Alexandru Michis f7b2873656 Backed out changeset 0e9e744accd3 (bug 1548924) for causing leaks 2019-05-08 09:35:04 +03:00