Commit graph

698 commits

Author SHA1 Message Date
Brindusan Cristian
19785b8b33 Backed out 3 changesets (bug 1709640) for causing android-4-1-armv7 pgo build bustages.
CLOSED TREE

Backed out changeset d8f2f3cc4da7 (bug 1709640)
Backed out changeset 3a6a274dae0d (bug 1709640)
Backed out changeset decc4edd47f9 (bug 1709640)
2021-06-08 03:58:27 +03:00
Agi Sferro
63b9850a4c Bug 1709640 - Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium
This patch adds a new GeckoView build variant dubbed "lite". We are in the
process of adding some optional dependencies to GeckoView that are needed by
Fenix (like Glean and Nimbus) which are likely not going to be used by anyone
else at Mozilla. To avoid bloating third party consumers, we provide a
geckoview-lite build that doesn't contain any optional dependency.

The min SDK version of GeckoView (non-lite) is being increased to 21 to match
Glean's min SDK. Given that Fenix's min SDK version is already 21 and that the
lite version's min SDK is still at 16 this change is safe to do and will not
incur in any loss of usability.

Differential Revision: https://phabricator.services.mozilla.com/D114370
2021-06-07 21:49:07 +00:00
Agi Sferro
65b64cb3e0 Bug 1709640 - Rename android-api-16 to android-arm. r=marionette-reviewers,firefox-build-system-reviewers,nalexander,whimboo,aklotz,releng-reviewers,mhentges,glandium,mtabara
We don't offer API splits any more, and with the separation of GeckoView with
the rest of the front-end it's increasingly unlikely that we will in the
future.

This change makes it so that the build name doesn't contain the API version so
that we can update it without breaking all the automation that relies on the
build name.

Differential Revision: https://phabricator.services.mozilla.com/D114369
2021-06-04 22:31:14 +00:00
Sandor Molnar
2a126fe036 Backed out changeset 453cb34e4a4a (bug 1709640) for causing linting failures in perfdocs/config. CLOSED TREE 2021-06-05 01:00:19 +03:00
Agi Sferro
ecf4f5f0ad Bug 1709640 - Rename android-api-16 to android-arm. r=marionette-reviewers,firefox-build-system-reviewers,nalexander,whimboo,aklotz,releng-reviewers,mhentges,glandium,mtabara
We don't offer API splits any more, and with the separation of GeckoView with
the rest of the front-end it's increasingly unlikely that we will in the
future.

This change makes it so that the build name doesn't contain the API version so
that we can update it without breaking all the automation that relies on the
build name.

Differential Revision: https://phabricator.services.mozilla.com/D114369
2021-06-04 21:20:56 +00:00
Mike Hommey
07973852a6 Bug 1714004 - Add a tier 2 build using GCC 11. r=sylvestre,andi
Differential Revision: https://phabricator.services.mozilla.com/D116549
2021-06-03 06:11:25 +00:00
Mike Hommey
5b2781f1af Bug 1712832 - Upgrade to nasm 2.15.05. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D116176
2021-05-27 23:59:03 +00:00
Mike Hommey
e0cced0f14 Bug 1712350 - Create a mozmake toolchain artifact for Windows. r=firefox-build-system-reviewers,mhentges
The script is derived from the one in https://hg.mozilla.org/mozilla-build/file/3b8c537ca3c879551956ad47ca9f089583f647c5/make-mozmake.sh
We take on the occasion to update to Make 4.3, which also means we need
less things because it's not coming off git.
We also apply the patch from http://savannah.gnu.org/bugs/?58656.

Differential Revision: https://phabricator.services.mozilla.com/D116063
2021-05-27 22:27:24 +00:00
Mike Hommey
2badf48dc0 Bug 1708592 - Package clippy in the rust toolchain artifact. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D113903
2021-04-30 21:09:11 +00:00
Mike Hommey
d4935c3ff9 Bug 1611513 - Migrate Node toolchain tasks to fetch toolchain tasks. r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D112896
2021-04-21 23:53:15 +00:00
Mike Hommey
02a7cd7a9e Bug 1611513 - Allow repacking tar archives containing e.g. symbolic links. r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D112895
2021-04-21 23:53:15 +00:00
Mike Hommey
7025e04613 Bug 1706543 - Use native zstd to compress toolchain artifacts. r=firefox-build-system-reviewers,andi,mhentges
Now that docker images have been upgraded to Debian buster, we can
install a native zstd binary and use tar's native support rather than
relying on piping the output of tar to a python script that uses the
python-zstandard module. At least we can do that for toolchain tasks
that run on such docker images, which also means we can't on Mac and
Windows.

Differential Revision: https://phabricator.services.mozilla.com/D112894
2021-04-21 22:29:34 +00:00
Mike Hommey
cabbb4a97a Bug 1377445 - Remove gtk+2 from docker images. r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D111998
2021-04-20 01:57:03 +00:00
Steve Fink
df6f52ac53 Bug 1697929 - Create a breakpad injector toolchain build. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D109504
2021-04-19 14:21:42 +00:00
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
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
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