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

738 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey bf3d27d7b7 Bug 1571986 - Add some info to try to find what is going on. r=me
MANUAL PUSH: because it starts happening with something that landed on inbound.
2019-08-07 16:52:55 +09:00
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