Commit Graph
499 Commits
Author SHA1 Message Date
Chris Manchester 125285b2e1 Bug 1528374 - Add macOS pgo builds to the taskgraph. r=firefox-build-system-reviewers,mshal,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20409
2019-12-16 23:25:07 +00:00
Oana Pop Rus 5dc9da60c5 Backed out 3 changesets (bug 1528374) for build bustages failures during artifact upload: file-missing-on-worker: Could not read directory /Users/task_1576213467/artifacts on a CLOSED TREE
Backed out changeset 3c2a1cf616b4 (bug 1528374)
Backed out changeset 967d0072cd2f (bug 1528374)
Backed out changeset 0d0186ecd70e (bug 1528374)
2019-12-16 23:50:45 +02:00
Chris Manchester 49931496c3 Bug 1528374 - Add macOS pgo builds to the taskgraph. r=firefox-build-system-reviewers,mshal,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20409
2019-12-13 05:43:44 +00:00
Eric Rahm 697fbc45d9 Bug 1594344 - Part 1: Add dump_syms toolchain. r=froydnj
This defines a new `dump_syms` toolchain that uses the rust implementation of `dump_syms`.

Differential Revision: https://phabricator.services.mozilla.com/D53318
2019-12-13 10:26:49 +00:00
Noemi Erli 807f00da58 Backed out 3 changesets (bug 1528374) per tomprice's request for breaking macOS signing jobs CLOSED TREE
Backed out changeset 5a6fa3b5123b (bug 1528374)
Backed out changeset 32f3b1b3fe3b (bug 1528374)
Backed out changeset a412a319534c (bug 1528374)
2019-12-13 06:48:05 +02:00
Chris Manchester 31e4207dbf Bug 1528374 - Add macOS pgo builds to the taskgraph. r=firefox-build-system-reviewers,mshal,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20409
2019-12-12 19:31:17 +00:00
Tom Ritter 1c838a3a28 Bug 1590624 - Update the mingw-clang compiler to clang 9 r=dmajor
We can remove our backported objcopy patches, we'll need to update
llvm-mingw for toolchain fixes, and we need to add binutils to compile
this newer version of clang because the system binutils is too old.

Differential Revision: https://phabricator.services.mozilla.com/D50152
2019-12-12 07:43:53 +00:00
Andreea Pavel 649aee7986 Backed out 4 changesets (bug 1590624) for breaking gecko decision task on a CLOSED TREE
Backed out changeset 2ac8dd1d709d (bug 1590624)
Backed out changeset 8432398c212a (bug 1590624)
Backed out changeset 2b28154aacdb (bug 1590624)
Backed out changeset d305e4160ee4 (bug 1590624)
2019-12-12 08:35:11 +02:00
Tom Ritter 911f071cf9 Bug 1590624 - Update the mingw-clang compiler to clang 9 r=dmajor
We can remove our backported objcopy patches, we'll need to update
llvm-mingw for toolchain fixes, and we need to add binutils to compile
this newer version of clang because the system binutils is too old.

Differential Revision: https://phabricator.services.mozilla.com/D50152
2019-12-10 18:56:45 +00:00
Steve Fink e1c2f28d0c Bug 1602312 - sixgill fix for reentrant call to XIL_GetFunctionFields
Differential Revision: https://phabricator.services.mozilla.com/D56825
2019-12-12 00:44:54 +00:00
Dorel Luca 8a9a0bfa1c Backed out 3 changesets (bug 1594344) for Decision task failure on taskcluster/ci/toolchain/rust-size.yml. CLOSED TREE
Backed out changeset 3208e2b16458 (bug 1594344)
Backed out changeset 57b641bb4d4b (bug 1594344)
Backed out changeset 36458762149d (bug 1594344)
2019-12-10 15:59:12 +02:00
Eric Rahm 03d0dda78c Bug 1594344 - Part 1: Add dump_syms toolchain. r=froydnj
This defines a new `dump_syms` toolchain that uses the rust implementation of `dump_syms`.

Differential Revision: https://phabricator.services.mozilla.com/D53318
2019-12-10 13:36:31 +00:00
Tom Ritter a28be7d443 Bug 1601701 - Build libssp as part of the mingw-clang toolchain build r=froydnj
llvm-mingw has found a way to build libssp indepdendent of gcc which
is great. We set up some stuff to support that and then use that method.

Differential Revision: https://phabricator.services.mozilla.com/D56248
2019-12-09 14:57:37 +00:00
Ricky Stewart e97d2aa347 Bug 1599607 - lucetc toolchain artifact should unpack to a directory called "lucetc" r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54823
2019-11-27 20:02:55 +00:00
Ricky Stewart a0d017fba0 Bug 1596219 - Augment wasi sysroot from bug 1582192 with bits necessary to perform wasm builds r=froydnj
Build a full sysroot by downloading the `wasi-sdk` repo, which has `llvm-project` and `wasi-libc` as submodules. `wasi-sdk` builds a `clang` in a unique configuration (with `wasm32-wasi` as a default target) and uses that `clang` to build the rest of the pieces for the wasm sysroot.

In principle it should be possible to build the sysroot using our in-house automation-built `clang`, but I kept running into strange, hard-to-diagnose issues when I attempted that. If someone else is able to straighten out all the compilation issues, we could replace this script and stop pulling in `wasi-sdk` entirely, which would result in a build that takes much less time overall. Until then, this will have to do to unblock the rest of the wasm sandboxing work.

Differential Revision: https://phabricator.services.mozilla.com/D54560
2019-11-26 13:27:39 +00:00
Mike Hommey 8ebe5c433c Bug 1596341 - Fix nasm putting garbage in the .debug_loc section on elf32. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52972
2019-11-14 20:59:03 +00:00
Nathan Froyd 66d47358d9 Bug 1582192 - add a job to build a wasi sysroot; r=glandium
When we start compiling things to wasm during the build process, we're
going to need a basic sysroot.  This new job builds just such a sysroot.

Differential Revision: https://phabricator.services.mozilla.com/D50993
2019-11-12 00:10:38 +00:00
Sylvestre Ledru 8a923b7669 Bug 1562642 - add missing license in taskcluster r=dustin
Depends on D52579

Differential Revision: https://phabricator.services.mozilla.com/D52581
2019-11-11 22:16:37 +00:00
Tom Prince 6d1d6ca247 Bug 1595368: [firefox-ci] Use consitent logic to determine tooltool url; r=sfraser a=task-fix
Differential Revision: https://phabricator.services.mozilla.com/D52498

Depends on D52497
2019-11-11 05:50:11 +01:00
Andreea Pavel 6129bd0996 Backed out changeset 69049d8a2c4b (bug 1594530) on tomprince's request. CLOSED TREE 2019-11-10 05:33:35 +02:00
Dorel Luca 530fe299d5 Backed out changeset ac63c8962183 (bug 1594530) on tomprince's request. CLOSED TREE 2019-11-10 05:13:38 +02:00
Tom Prince f9d3b3a915 Bug 1594530: [firefox-ci] Fix staging tooltool URL; r=Callek a=tomrpince CLOSED TREE
MANUAL PUSH: Firefox-CI migration testing

Differential Revision: https://phabricator.services.mozilla.com/D52125
2019-11-07 16:07:45 -07:00
Justin Wood 058a5acc7d Bug 1594530 Make tooltool via the taskcluster proxy work on both legacy and firefox-ci clusters at the same time. r=tomprince a=Aryx
MANUAL PUSH: (a) This patch will cause a ton of toolchain rebuilds, and might as well do that on central right now rather than autoland, and (b) We want to test the new Taskcluster instance today, and will be testing THAT on m-c, so we'll need this patch on m-c before we can test the new cluster as well.

tooltool at present needs to support production (legacy cluster) but its auth system is tied to that cluster.

Which means that using tooltool in the new cluster ahead of TCW is harder. We have swapped the credentials for the tooltool staging deployment to use the new tc cluster, so when we're using the taskcluster proxy we need to have it swap between legacy and new tooltool url's depending on which cluster (ROOT_URL) we're using.

This patch is intended to be ok to land on production code today, and could be backed out after the TCW when production tooltool will be configured to work with the firefox-ci cluster itself.

Differential Revision: https://phabricator.services.mozilla.com/D52089
2019-11-06 16:37:22 -07:00
Dorel Luca aca1015fd3 Backed out 2 changesets (bug 1594530) for Toolchain failure. a=backout
Backed out changeset c1e66d6fc61e (bug 1594530)
Backed out changeset 9c751b07dda1 (bug 1594530)
2019-11-06 23:20:13 +02:00
Sebastian Hengst 5e86d489c4 Bug 1594530 Make tooltool via the taskcluster proxy work on both legacy and firefox-ci clusters at the same time: Fix typo in legacy root url. a=bustage-fix 2019-11-06 21:48:52 +01:00
Justin Wood ca91963458 Bug 1594530 Make tooltool via the taskcluster proxy work on both legacy and firefox-ci clusters at the same time. r=tomprince a=Aryx
MANUAL PUSH: (a) This patch will cause a ton of toolchain rebuilds, and might as well do that on central right now rather than autoland, and (b) We want to test the new Taskcluster instance today, and will be testing THAT on m-c, so we'll need this patch on m-c before we can test the new cluster as well.

tooltool at present needs to support production (legacy cluster) but its auth system is tied to that cluster.

Which means that using tooltool in the new cluster ahead of TCW is harder. We have swapped the credentials for the tooltool staging deployment to use the new tc cluster, so when we're using the taskcluster proxy we need to have it swap between legacy and new tooltool url's depending on which cluster (ROOT_URL) we're using.

This patch is intended to be ok to land on production code today, and could be backed out after the TCW when production tooltool will be configured to work with the firefox-ci cluster itself.

Differential Revision: https://phabricator.services.mozilla.com/D52089
2019-11-06 14:38:05 -05:00
Ricky Stewart c9698dd153 Bug 1582195 - Provide a job to build lucetc r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D51716
2019-11-05 16:30:24 +00:00
Gregory Mierzwinski e611c2ba9d Bug 1592401 - Prevent verbose output when unpacking browsertime. r=perftest-reviewers,rwood
This patch changes the browsertime archive built as a toolchain from a .zip archive to a .tar.bz2 archive to prevent the large amount of verbose unpacking output we currently see.

Differential Revision: https://phabricator.services.mozilla.com/D50995
2019-10-30 20:32:19 +00:00
Daniel Varga 31b1a2e31d Backed out changeset f4520f5c3cdb (bug 1590414) on request by ANdi a=backout 2019-10-25 11:06:54 +03:00
Andi-Bogdan Postelnicu 3d15f9df48 Bug 1590414 - For C++ static analysis cleanup the running scripts. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D50065
2019-10-22 14:36:53 +00:00
David Major 5365135fd9 Bug 1573211 - Update to clang 9.0.0 r=glandium
Updates all clang 8.0.1 to version 9.0.0, except for the mingw builds
which suffer from bug 1548624 and will be handled separately later.

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

MANUAL PUSH: Rebuild clang toolchains without stalling autoland
2019-09-21 16:26:53 +02:00
Steve Fink da17c825a3 Bug 1560667 - Switch hazard analysis over to gcc 8.3.0 r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46682
2019-10-02 03:19:06 +00:00
Nick Alexander 01f212cf01 Bug 1584530 - [geckodriver] Don't require the Microsoft MSVC runtime to be installed. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D47456
2019-10-01 19:36:21 +00:00
Jamie Nicol 7edeff79c0 Bug 1581628 - Update wrench jobs to work with NDK r20. r=jrmuizel
To support NDK r20, wrench needs to be built with a more recent, upstream
(though still unpublished) version of cargo-apk. This has some consequences
which have been adjusted for:
 * Gradle is no longer required to build wrench.
 * The output apk file paths have changed.
 * The apks are now signed automatically.
 * The default activity name has changed.
 * Android permissions must be explicitly requested.
 * We must ensure winit is built with a matching version of android_glue.

Differential Revision: https://phabricator.services.mozilla.com/D47129
2019-09-27 13:50:43 +00:00
Brindusan Cristian babebbc6cb Backed out 2 changesets (bug 1573211) as requested by dmajor on irc. CLOSED TREE
Backed out changeset 587463567434 (bug 1573211)
Backed out changeset de0fe40466cb (bug 1573211)
2019-09-26 20:12:51 +03:00
Mike Shal 8a65dd165f Bug 1582189 - Include submodules in git fetch tasks; r=froydnj
Using git-archive for the fetch task means that we don't get the
submodules of a git repository included in the archive. There isn't a
straightforward way to get submodules from a bare repo included with
git-archive, so instead we can simply clone & checkout with
--recurse-submodules and then use a standard tar command to bundle up
the tree.

Adding --recurse-submodules to the commands has no effect on a repo
without submodules, so we can add it to all invocations for simplicity.

Differential Revision: https://phabricator.services.mozilla.com/D46827
2019-09-25 20:46:24 +00:00
Rob Thijssen cd2ef8a96c Bug 1582726 - use cafile from certifi when available r=dustin
python's `urllib.request.urlopen(url)` can fail when a system doesn't know how to verify a ca certificate. this patch makes use of the cafile provided by the `certifi` module, if/when it is installed, to verify certificates.

Differential Revision: https://phabricator.services.mozilla.com/D47044
2019-09-26 09:17:15 +00:00
Noemi Erli 2417fdf814 Backed out changeset 92b9ffc8f37d (bug 1582726) for causing fetch bustages CLOSED TREE 2019-09-26 14:14:17 +03:00
Rob Thijssen b4cdd300a3 Bug 1582726 - use cafile from certifi when available r=dustin
python's `urllib.request.urlopen(url)` can fail when a system doesn't know how to verify a ca certificate. this patch makes use of the cafile provided by the `certifi` module, if/when it is installed, to verify certificates.

Differential Revision: https://phabricator.services.mozilla.com/D47044
2019-09-26 09:17:15 +00:00
David Major af664e68d7 Bug 1573211 - Update to clang 9.0.0 r=glandium
Updates all clang 8.0.1 to version 9.0.0, except for the mingw builds
which suffer from bug 1548624 and will be handled separately later.

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

MANUAL PUSH: Rebuild clang toolchains without stalling autoland
2019-09-21 16:26:53 +02:00
Mike Hommey 823ae6c716 Bug 1579471 - Remove the in-tree .cargo/config. r=mshal
It was added in bug 1575760 and turns out to be causing a lot more
problems than anticipated.

However, the previous status quo is also not ideal, so we do
auto-generate .cargo/config.in instead, with a little trick that allows
to just copy it to .cargo/config instead of how individual scripts would
previously manually preprocess it.

Differential Revision: https://phabricator.services.mozilla.com/D46138
2019-09-20 00:47:22 +00:00
Mike Shal a364038406 Bug 1580028 - Always merge PGO profile data in the run task; r=firefox-build-system-reviewers,chmanchester
If the run task generates bad profile data, the merge step in the
profile-use task will fail. However, retrying the profile-use task
doesn't fix the problem, and there isn't a straightforward way to retry
the run task in this situation. Instead we can add a clang toolchain to
all the run tasks, and perform the merge there.

This means the output from the run task will always be a successfully
merged file called 'merged.profdata', and we no longer need to perform
the merge as part of the profile-use build as a GENERATED_FILES step.

Depends on D45262

Differential Revision: https://phabricator.services.mozilla.com/D45263
2019-09-10 21:56:15 +00:00
Chris Manchester 8e6551fed3 Bug 1578852 - Update wrench-deps to use rustc 1.37 r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D44929
2019-09-06 20:08:52 +00:00
Nick Alexander 14cf2772af Bug 1576971 - Fail browsertime toolchain harder. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D43655
2019-08-28 20:58:19 +00:00
Nick Alexander 4856b2e254 Bug 1534533 - Add geckodriver toolchain tasks. r=chmanchester
There was quite a bit of discussion of this in `#build` on IRC,
and the consensus was that geckodriver should be built as a
stand-alone Rust crate and not as part of Firefox/Gecko (say, as a new
--enable-project target). This follows that approach, and the
expression, modeled off of cbindgen but updated to cross compile from
a Linux host to all targets, is pretty straight-forward.

A sparse profile would be nice, but the way that the Gecko Cargo
workspace works means that the profile must accumulate Rust code from
many locations.

If we want to, eventually testing/geckodriver can be removed from the
top-level Rust workspace, the geckodriver-signing tasks migrated to
these toolchain tasks, consumers migrated to the signing tasks, and
geckodriver removed from the "common" test archive.

Differential Revision: https://phabricator.services.mozilla.com/D43646
2019-08-28 20:54:06 +00:00
Chris Manchester 13b266fe9c Bug 1572880 - Package dist-toolchains from a specific directory. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D43696
2019-08-28 18:34:29 +00:00
Mike Hommey 1f9ff65b79 Bug 1574128 - Fixup for bug 1573435 to unbust webrender-windows jobs. r=me
MANUAL PUSH: Fix bustage on inbound.
2019-08-15 20:09:27 +09:00
Mike Hommey f0cc906f75 No bug - Bustage fix for Windows gn builds. r=me
MANUAL PUSH: This fixes bustage on inbound on a CLOSED TREE.
2019-08-15 12:25:32 +09:00
Mike Hommey 07aa0c80ec Bug 1573435 - Use toolchain fetches for all remaining toolchain uses. r=nalexander
The remaining uses all need adjustements to in-tree mozconfigs, so they
all need to be done at once.

However, to make things slightly more intelligible, we do this in two
steps. This is step 1: we modify the use_toolchain transform to take care of
the transformation, while keeping the task definitions intact, so that
we only deal with mozconfig and build script adjustements here.

Differential Revision: https://phabricator.services.mozilla.com/D41890
2019-08-15 11:21:52 +09:00
Mike Hommey 9711e14288 Bug 1573435 - Use toolchain fetches for source-test builds. r=nalexander
While here, use GECKO_PATH instead of $HOME/checkouts/gecko.

Differential Revision: https://phabricator.services.mozilla.com/D41889
2019-08-15 11:21:51 +09:00