Mike Hommey
159a96d29e
Bug 1699380 - Add an arm64 mac toolchain task for minidump-stackwalk. r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D108924
2021-03-24 05:15:11 +00:00
Mike Hommey
91bf8be47e
Bug 1699380 - Add an arm64 mac toolchain task for fix-stacks. r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D108923
2021-03-24 05:15:10 +00:00
Mike Hommey
8f946602e9
Bug 1699380 - Add an arm64 mac toolchain task for dump-syms. r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D108922
2021-03-24 05:15:10 +00:00
Emilio Cobos Álvarez
97f5b13ac3
Bug 1699777 - Update wine. r=glandium
...
Wine 6.0 fixes this locally.
https://treeherder.mozilla.org/jobs?repo=try&revision=d298c6976323480b44fc8bb5fccbc13fff08d780
Differential Revision: https://phabricator.services.mozilla.com/D109167
2021-03-20 04:43:07 +00:00
Brindusan Cristian
a831a71a2c
Backed out changeset c83b1889124d (bug 1699777) for wine bustages. CLOSED TREE
2021-03-20 03:43:46 +02:00
Emilio Cobos Álvarez
423e4b6902
Bug 1699777 - Update wine. r=glandium
...
Wine 6.0 fixes this locally.
https://treeherder.mozilla.org/jobs?repo=try&revision=d298c6976323480b44fc8bb5fccbc13fff08d780
Differential Revision: https://phabricator.services.mozilla.com/D109167
2021-03-20 01:25:21 +00:00
Henrik Skupin
f745da9bfd
Bug 1677471
- [geckodriver] Build binaries for MacOS AArch64. r=firefox-build-system-reviewers,andi,mhentges,glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D107785
2021-03-16 13:55:06 +00:00
owlishDeveloper
d2fed3ba8c
Bug 1691101 - Migrate from jcenter in android builds r=geckoview-reviewers,nalexander,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D107573
2021-03-11 00:18:40 +00:00
Mike Hommey
f83c67b24f
Bug 1696077 - Add a toolchain for arm64 mac sccache. r=firefox-build-system-reviewers,nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D107017
2021-03-03 05:20:20 +00:00
Mike Hommey
d1bc707ea0
Bug 1695835
- Build geckodriver using liblowercase. r=firefox-build-system-reviewers,andi,dmajor
...
Bug 1694775 had to get a fixup to install the rename utility, that is
not in the base Debian image for buster, while it was there for jessie.
However, we only use rename for a hack when cross-building geckodriver
for Windows, and we don't need to.
Differential Revision: https://phabricator.services.mozilla.com/D106875
2021-03-02 21:58:05 +00:00
Mike Hommey
a25d8f2688
Bug 1694785 - Upgrade Debian-based docker images to a more recent snapshot. r=firefox-build-system-reviewers,mhentges
...
Likewise for sysroots.
Differential Revision: https://phabricator.services.mozilla.com/D106403
2021-03-02 08:17:03 +00:00
Mike Hommey
39a14165d0
Bug 1694318 - Remove the mozjs_sys rust crate. r=jandem
...
The mozjs_sys crate is actually responsible for all the problems
encountered with the js crate we just removed, but the sm-mozjs-crate
task that builds and runs tests for it doesn't fail because... there is
actually no test to build and run, so all it builds is a static library,
which doesn't expose all the problems that exist.
The content of this crate in mozilla-central is also outdated compared
to servo upstream.
Differential Revision: https://phabricator.services.mozilla.com/D106390
2021-03-02 08:09:35 +00:00
Mike Hommey
93e7a214c2
Bug 1694318 - Remove the js rust crate. r=jandem,sheehan
...
The sm-rust-bindings task that builds and runs tests for it actually only
doesn't fail by three(!) distinct happenstances of chance:
- It somehow doesn't hit a race condition that can happen, but that
attempting to change the build process for jsglue.cpp did,
- The second call to `cargo test` without `--feature debugmozjs` only
works because nothing was cleaned up from the first and the second
build uses artifacts from the first that are otherwise not there if
only running the second.
- The addition of rust code to spidermonkey (the jsrust crate in
js/src/rust) somehow didsn't cause problems in the current
configuration, but in other configurations (which fixing the second
thing above unveils) the build fails because of the multiple
definition of rust_eh_personality between the jsrust staticlib and the
rust stdlib that rustc links to test programs.
On top of all the above, the content of the crate in mozilla-central
has not received updates from upstream servo in years, and doesn't
reflect what servo actually uses.
Differential Revision: https://phabricator.services.mozilla.com/D106389
2021-03-02 08:09:35 +00:00
Mike Hommey
e3fdb7209c
Bug 1694784 - Switch Linux builds to using sysroots. r=firefox-build-system-reviewers,andi,sheehan,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D106353
2021-03-02 02:06:37 +00:00
Mike Hommey
39b2a5e1c4
Bug 1694775 - Build dump-syms with a sysroot. r=firefox-build-system-reviewers,dmajor
...
It was forgotten in bug 1690937.
Differential Revision: https://phabricator.services.mozilla.com/D106324
2021-03-02 00:37:45 +00:00
Mike Hommey
8d08773d3c
Bug 1694775 - Build libdmg-hfsplus with a sysroot. r=firefox-build-system-reviewers,dmajor
...
While not strictly necessary for CI on the longer term (because builds
will also run on a newer docker image soon), for transition purposes, we
need the toolchain to keep running on old systems.
However, eventually, we'll want libdmg-hfsplus to be a local-toolchain,
so it would need to use a sysroot in the long run anyways.
Differential Revision: https://phabricator.services.mozilla.com/D106323
2021-03-02 00:37:44 +00:00
Andi-Bogdan Postelnicu
4594e6db8f
Bug 1694161 - run non-unified sanity targeting MacOS. r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D105977
2021-02-27 08:05:46 +00:00
smolnar
bbe0284415
Backed out 2 changesets (bug 1694161) as requested by dev. DONTBUILD CLOSED TREE
...
Backed out changeset 0fb8a1114e84 (bug 1694161)
Backed out changeset 453ce7dffdcc (bug 1694161)
2021-02-26 18:52:04 +02:00
Andi-Bogdan Postelnicu
46785aee1b
Bug 1694161 - run non-unified sanity targeting MacOS. r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D105977
2021-02-26 16:39:17 +00:00
Mike Hommey
1b305c741e
Bug 1694323 - Upgrade psutil to 5.8.0. r=firefox-build-system-reviewers,andi,sheehan,mhentges
...
It is the first version that comes with wheels for most platforms.
Differential Revision: https://phabricator.services.mozilla.com/D106066
2021-02-24 02:45:59 +00:00
Dorel Luca
ceb2414add
Backed out changeset 34b849af9365 (bug 1694161) for Clag failure in gecko/dom/gamepad/GamepadRemapping.cpp. CLOSED TREE
2021-02-23 21:52:40 +02:00
Andi-Bogdan Postelnicu
431ef3d203
Bug 1694161 - run non-unified sanity targeting MacOS. r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D105977
2021-02-23 18:24:02 +00:00
Mike Hommey
39a6fa30f3
Bug 1693234 - Build a nasm toolchain for arm64 mac. r=firefox-build-system-reviewers,andi,dmajor
...
Differential Revision: https://phabricator.services.mozilla.com/D105409
2021-02-23 01:59:32 +00:00
Mike Hommey
35d498a886
Bug 1692944 - Add a clang toolchain for arm64 mac. r=firefox-build-system-reviewers,andi,dmajor
...
Differential Revision: https://phabricator.services.mozilla.com/D105267
2021-02-22 21:38:34 +00:00
Mike Hommey
c0a9b1a56c
Bug 1693242 - Pass sysroot flag via CC rather than CFLAGS when building nasm. r=firefox-build-system-reviewers,andi,sheehan,dmajor
...
Setting CFLAGS overrides all other flags nasm's configure would have
set, including the optimization flags.
Differential Revision: https://phabricator.services.mozilla.com/D105417
2021-02-17 21:27:44 +00:00
Mike Hommey
66c474fcb9
Bug 1692416 - Add a toolchain for arm64 mac cbindgen. r=firefox-build-system-reviewers,andi,dmajor
...
Differential Revision: https://phabricator.services.mozilla.com/D104978
2021-02-12 22:28:02 +00:00
Mike Hommey
d5812ccae9
Bug 1692418 - Upgrade cctools-port. r=firefox-build-system-reviewers,dmajor
...
The newer version optionally uses the ldid tool to fake-sign binaries on
arm64, which we pull and package together.
Differential Revision: https://phabricator.services.mozilla.com/D104973
2021-02-12 21:44:26 +00:00
Mike Hommey
27dfa198c6
Bug 1685764 - Switch all tasks using the cross-releng tooltool manifest to the corresponding toolchain task. r=firefox-build-system-reviewers,dmajor
...
In the case of toolchain tasks, the tooltool download script already
extracted the SDK in $MOZ_FETCHES_DIR, so no adjustment was required.
Only a Firefox mozconfig needs adaptation.
Differential Revision: https://phabricator.services.mozilla.com/D104646
2021-02-11 22:06:20 +00:00
Mike Hommey
a23d94a8e3
Bug 1691685 - Add base 32-bits development files to the toolchain sysroot. r=firefox-build-system-reviewers,dmajor
...
This allows the clang task to build the x86 compiler-rt again.
Differential Revision: https://phabricator.services.mozilla.com/D104583
2021-02-10 01:07:39 +00:00
Mike Hommey
509fddfd3b
Bug 1690937 - Build cbindgen with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges
...
Similarly to sccache, we need to use clang.
Differential Revision: https://phabricator.services.mozilla.com/D104134
2021-02-09 00:44:03 +00:00
Mike Hommey
0c3830eb4e
Bug 1690937 - Build fix-stacks with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D104133
2021-02-09 00:44:03 +00:00
Mike Hommey
734ff1e79a
Bug 1690937 - Build minidump-stackwalk with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D104132
2021-02-09 00:44:03 +00:00
Mike Hommey
735d49f9d2
Bug 1690937 - Build lucetc with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D104131
2021-02-09 00:44:02 +00:00
Mike Hommey
8d3954c5fc
Bug 1690937 - Build nasm with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges
...
For the same reason we used clang for sccache, we use clang here.
Differential Revision: https://phabricator.services.mozilla.com/D104130
2021-02-09 00:44:02 +00:00
Mike Hommey
907f9b6aab
Bug 1690937 - Build sccache with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges
...
We can't use the system compiler (gcc) because of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786883
(which despite being closed, still is a problem)
We could use the linux64-gcc toolchain, but since we're using clang
on other platforms, we might as well do the same.
Differential Revision: https://phabricator.services.mozilla.com/D104129
2021-02-09 00:44:02 +00:00
Mike Hommey
43f741b235
Bug 1690932 - Use aarch64 sysroot to build aarch64 linux compiler-rt. r=firefox-build-system-reviewers,sheehan,mhentges
...
And remove the now unused toolchain-aarch64-build docker image.
While here, switch all compiler-rt toolchain tasks to a buster-based
docker image.
Differential Revision: https://phabricator.services.mozilla.com/D104122
2021-02-08 18:44:15 +00:00
Mike Hommey
89a85627df
Bug 1690930 - Build sysroots suitable for the Firefox Linux builds. r=firefox-build-system-reviewers,sheehan,mhentges
...
With the same -dev packages as per taskcluster/docker/debian-build/Dockerfile
plus valgrind, for the one .h file it contains that we use.
This will later allow local builds to bootstrap them, and CI builds
to avoid relying on docker images for old Debian releases.
Differential Revision: https://phabricator.services.mozilla.com/D104119
2021-02-08 22:16:23 +00:00
Mike Hommey
142b37dbe4
Bug 1690940 - Don't package things we don't use in wasi-sysroot. r=firefox-build-system-reviewers,dmajor
...
This brings the artifact size from 38M to 1.8M.
Differential Revision: https://phabricator.services.mozilla.com/D104135
2021-02-05 14:51:56 +00:00
Mike Hommey
4e004f1b25
Bug 1690757 - Build the clang aarch64 cross toolchain as a repack of clang + compiler-rt. r=firefox-build-system-reviewers,andi,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D104013
2021-02-04 14:52:00 +00:00
Mike Hommey
fba0bf38c9
Bug 1690757 - Add a compiler-rt task for aarch64 linux. r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D104012
2021-02-04 21:35:39 +00:00
Mike Hommey
250f0d4870
Bug 1690757 - Change compiler-rt cmake flags to better share with upcoming new platforms. r=firefox-build-system-reviewers,mhentges
...
- Switch to use llvm-ar and llvm-ranlib
- Use CMAKE_*_COMPILER_TARGET for --target
- Use CMAKE_OSX_SYSROOT for -isysroot
- Limit the compiler wrapper to adding -mcpu=apple-a12 on arm64
- Remove -DLLVM_DEFAULT_TARGET_TRIPLE and add -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
- Group all the flags that are OSX-only
Differential Revision: https://phabricator.services.mozilla.com/D104011
2021-02-04 14:36:12 +00:00
Marco Castelluccio
e073f23c69
Bug 1499663 - Build grcov so it's compatible with older libstdc++ versions. r=calixte DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D103896
2021-02-03 14:57:41 +00:00
Mike Hommey
beb8f44609
Bug 1689467 - Use mozharness virtualenv python to run custom mach commands. r=releng-reviewers,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D103447
2021-01-29 12:08:33 +00:00
Marco Castelluccio
42abfd5b8c
Bug 1688039 - Build grcov with Clang. r=calixte DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D102723
2021-01-23 00:19:52 +00:00
Dorel Luca
3ffee52559
Backed out 2 changesets (bug 1688039) for Toolchain failure. CLOSED TREE
...
Backed out changeset f0e423809772 (bug 1688039)
Backed out changeset c3c76c537eb3 (bug 1688039)
2021-01-22 17:06:30 +02:00
Marco Castelluccio
8c4cb8607c
Bug 1688039 - Build grcov with Clang. r=calixte DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D102723
2021-01-22 13:40:56 +00:00
Mike Hommey
49a9eeaf91
Bug 1687594 - Don't take path@task-id arguments on `mach artifact toolchain`. r=firefox-build-system-reviewers,mhentges
...
This form hasn't been used since bug 1573435.
Differential Revision: https://phabricator.services.mozilla.com/D102375
2021-01-20 15:04:49 +00:00
Mike Hommey
32ec3e64de
Bug 1687594 - Remove the --authentication-file option to `mach artifact toolchain`. r=firefox-build-system-reviewers,mhentges
...
It has been a no-op since bug 1595368.
Differential Revision: https://phabricator.services.mozilla.com/D102374
2021-01-20 15:03:45 +00:00
David Major
ab26127584
Bug 1686321 - Pass patches as arguments to build-compiler-rt.sh r=glandium
...
rename_gcov_flush_clang_11.patch doesn't apply cleanly to clang 12 and will need to be forked. Turning the filename into a parameter will let us have the tasks exist side by side.
Differential Revision: https://phabricator.services.mozilla.com/D101495
2021-01-14 03:41:08 +00:00
Dan Mosedale
e91d8deeea
Bug 1684936 - update NodeJS to 10.23.1 for latest sec fixes r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D100810
2021-01-07 17:06:42 +00:00