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

1170 Коммитов

Автор SHA1 Сообщение Дата
Dzmitry Malyshau 5695f517a5 Bug 1726626 - Move gfx/wgpu into a 3rd party dependency r=jgilbert,bholley
This update makes wgpu a vendored dependency instead of having it in gfx/wgpu.

## Notes


It relies on https://phabricator.services.mozilla.com/D123157

It has a quirk related to OpenGL ES backend. Previousy, we manually had to disable GL backend
in order to avoid vendoring WASM dependencies in. This time, manual editing is more complicated,
so instead this change adds a few cargo patch lines to point WASM dependencies to dummy projects.

The update also totally removes SPIRV-Cross, since the latest `wgpu` doesn't depend on it any more.
The compiled binary size for Gecko should improve with this.

Differential Revision: https://phabricator.services.mozilla.com/D123153
2021-09-03 16:52:08 +00:00
Andi-Bogdan Postelnicu afeb9e9702 Bug 1725171 - Remove non unified static-analysis test. r=firefox-build-system-reviewers,glandium
Since now we have the hybrid build that is ran on linux64, win64 and macos64 this
has become obsolete.

Differential Revision: https://phabricator.services.mozilla.com/D123850
2021-08-31 06:23:00 +00:00
Mike Hommey 278fa528e2 Bug 1727687 - Upgrade windows builds to MSVC 15.9.6. r=firefox-build-system-reviewers,agashlin,jgilbert,mhentges
There are two big parts in the MSVC toolchain we use:
- the Windows 10 SDK
- Visual C++

For the former, both the 15.8.4 and 15.9.6 toolchains are using the same
version of the Win10 SDK.
For the latter, we're not using the compiler itself anymore, so the only
substantial difference is in the headers and libraries included with
Visual C++, as well as the redist libraries for the CRT. Both versions
are supposed to be compatible to the same set of OS versions, fitting
our system requirements.

This makes us use the same version of MSVC on all our Windows builds
(arm64 builds were already on 15.9.6).

Differential Revision: https://phabricator.services.mozilla.com/D123720
2021-08-30 21:29:35 +00:00
Mike Hommey c630e9c4dc Bug 1725526 - Use the apt configuration from the global environment when creating sysroots. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D122571
2021-08-14 21:09:15 +00:00
Mike Hommey e6e3843025 Bug 1725526 - Remove files we don't need in sysroots. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D122570
2021-08-14 21:09:14 +00:00
Mike Hommey f3466c1f48 Bug 1725568 - When repacking use the same tar format as the original. r=taskgraph-reviewers,bhearsum
Not whatever happens to be the default in the tarfile module.
Also, apply filters to pax_headers["path"] when it's set.

Differential Revision: https://phabricator.services.mozilla.com/D122575
2021-08-14 21:01:09 +00:00
Mike Hommey 88d4f9b7ab Bug 1725568 - Reformat fetch-content with black. r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D122574
2021-08-14 21:01:08 +00:00
Mike Hommey 5ce33a1833 Bug 1725566 - Remove unnecessary "library paths". r=taskgraph-reviewers,bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D122573
2021-08-13 21:02:13 +00:00
Mike Hommey 6474710c7a Bug 1724522 - Split wasi-sysroot in two separate toolchains. r=firefox-build-system-reviewers,mhentges
The wasi-sysroot toolchain contains both a sysroot for wasi and a
compiler-rt for clang. That makes it impractical to use as a
bootstrapped sysroot for wasm32-wasi builds of Spidermonkey.

We thus split the toolchain in two, one for the compiler-rt and one
for the sysroot. Ideally, the compiler-rt one would avoid building
clang/llvm the same way the sysroot one does, but that leads to
a case of chicken-and-egg, because the compiler-rt is needed to build
the clang toolchain. Eventually, the clang build would be split from
the addition of the compiler-rt, but we're not there yet.

Differential Revision: https://phabricator.services.mozilla.com/D122402
2021-08-13 07:07:45 +00:00
Mike Hommey 0b4372e828 Bug 1721968 - Remove support for lucetc for rlbox. r=firefox-build-system-reviewers,shravanrn,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D120700
2021-08-11 21:58:52 +00:00
Steve Fink 1321fa97c4 Bug 1724969 - Fix run-task when not running_as_root r=releng-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D122265
2021-08-10 20:54:58 +00:00
Jan-Erik Rediger 20e5ef2e83 Bug 1670261 - Add Mozilla Maven as a maven repository on CI. r=agi,firefox-build-system-reviewers,mhentges,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D116603
2021-08-10 07:49:08 +00:00
Ben Hearsum 25d7a66e88 Bug 1721864 - Add `msix-packaging` toolchain build. r=bhearsum,firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D119669
2021-08-05 02:58:15 +00:00
Narcis Beleuzu 00e6b46d6a Backed out 9 changesets (bug 1724030, bug 1721864, bug 1722980, bug 1712164, bug 1720190, bug 1712328, bug 1709697) for Windows repack bustages. CLOSED TREE
Backed out changeset bc7dff1c6f2c (bug 1724030)
Backed out changeset 9520d11c1ff4 (bug 1722980)
Backed out changeset 5d9ef490612f (bug 1712328)
Backed out changeset aaec04ed5ecb (bug 1720190)
Backed out changeset 3c5fbac7cc7f (bug 1721864)
Backed out changeset 3c1bccc04fb8 (bug 1709697)
Backed out changeset 6293b6ed5695 (bug 1709697)
Backed out changeset d824b2347ffd (bug 1709697)
Backed out changeset 888359c1dcc5 (bug 1712164)
2021-08-05 04:35:18 +03:00
Mike Hommey 2ca2443b5b Bug 1723815 - Ensure failure on macosx64-sdk* tasks when the sdk is not there. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D121786
2021-08-04 22:20:14 +00:00
Ben Hearsum dd146db8a3 Bug 1721864 - Add `msix-packaging` toolchain build. r=bhearsum,firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D119669
2021-08-04 13:54:35 +00:00
Butkovits Atila 0474a346a1 Backed out 6 changesets (bug 1670261) for causing perma android bustage. CLOSED TREE
Backed out changeset 58ab9d5d45b7 (bug 1670261)
Backed out changeset e68f58dd9c24 (bug 1670261)
Backed out changeset af093190c4f7 (bug 1670261)
Backed out changeset 150c73837e22 (bug 1670261)
Backed out changeset c42784eeccee (bug 1670261)
Backed out changeset 45ab05c0c371 (bug 1670261)
2021-08-03 15:11:22 +03:00
Jan-Erik Rediger 17a64b1d2a Bug 1670261 - Add Mozilla Maven as a maven repository on CI. r=agi,firefox-build-system-reviewers,mhentges,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D116603
2021-08-02 16:22:46 +00:00
Agi Sferro 8fc4964dd1 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-07-20 22:19:17 +00:00
Agi Sferro e8f6769032 Bug 1718341 - Download Android AVD from TL job artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119542
2021-07-20 22:19:16 +00:00
Agi Sferro 83fffa1198 Bug 1718341 - Update Android cmdtools to 4.0. r=nalexander,glandium
The SDK Tools version we're currently using is deprecated and was last released
in 2017. It's time for an upgrade!

Differential Revision: https://phabricator.services.mozilla.com/D119226
2021-07-20 22:19:16 +00:00
Agi Sferro 4391056abd Bug 1718341 - Prewarm AVD before packaging r=nalexander
The very first time an Android AVD starts it runs some one time jobs to
properly set up the AVD.

To avoid running the setup every time we run tests in automation, we can boot
the AVD before packaging it so that the testing jobs can use a "prewarmed" AVD
instead.

Differential Revision: https://phabricator.services.mozilla.com/D119225
2021-07-20 22:19:15 +00:00
Agi Sferro 59a13bd422 Bug 1718341 - Initialize XVFB during SDK packaging. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D119224
2021-07-20 22:19:15 +00:00
Agi Sferro 7517b3ca00 Bug 1718341 - Generate Android AVD in TL job instead of using tooltool r=aklotz,nalexander
Tooltool images are hard to update because we don't provide a script to
generate the image and documentation is often inaccurate.

This patch makes it so we generate the AVD in the android-sdk TL job instead.

Differential Revision: https://phabricator.services.mozilla.com/D119221
2021-07-20 22:19:14 +00:00
Sebastian Hengst 5a4f8ee0eb Backed out 13 changesets (bug 1709640, bug 1718341) for failing geckoview-junit tasks on shippable lite platform. CLOSED TREE
Backed out changeset abc4249b08a0 (bug 1709640)
Backed out changeset c7f2fa8d7535 (bug 1709640)
Backed out changeset 45b07d37f247 (bug 1709640)
Backed out changeset a15b3b87d71e (bug 1718341)
Backed out changeset a87639f2921b (bug 1718341)
Backed out changeset 31a57851c6d1 (bug 1718341)
Backed out changeset c7de56a1f886 (bug 1718341)
Backed out changeset 5e76806752c8 (bug 1718341)
Backed out changeset 74cfe6df218b (bug 1718341)
Backed out changeset 3bd0e376de51 (bug 1718341)
Backed out changeset 176238f92cfe (bug 1718341)
Backed out changeset 38d622f60fa5 (bug 1718341)
Backed out changeset 2e16fa5f0a1f (bug 1718341)
2021-07-20 11:31:01 +02:00
Agi Sferro 4c9aa8ef11 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-07-20 03:23:32 +00:00
Agi Sferro 4881f826db Bug 1718341 - Download Android AVD from TL job artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119542
2021-07-20 03:23:32 +00:00
Agi Sferro be84115bc0 Bug 1718341 - Update Android cmdtools to 4.0. r=nalexander,glandium
The SDK Tools version we're currently using is deprecated and was last released
in 2017. It's time for an upgrade!

Differential Revision: https://phabricator.services.mozilla.com/D119226
2021-07-20 03:23:32 +00:00
Agi Sferro 2aca7bde2e Bug 1718341 - Prewarm AVD before packaging r=nalexander
The very first time an Android AVD starts it runs some one time jobs to
properly set up the AVD.

To avoid running the setup every time we run tests in automation, we can boot
the AVD before packaging it so that the testing jobs can use a "prewarmed" AVD
instead.

Differential Revision: https://phabricator.services.mozilla.com/D119225
2021-07-20 03:23:31 +00:00
Agi Sferro eb349aa1ee Bug 1718341 - Initialize XVFB during SDK packaging. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D119224
2021-07-20 03:23:30 +00:00
Agi Sferro 43584d5056 Bug 1718341 - Generate Android AVD in TL job instead of using tooltool r=aklotz,nalexander
Tooltool images are hard to update because we don't provide a script to
generate the image and documentation is often inaccurate.

This patch makes it so we generate the AVD in the android-sdk TL job instead.

Differential Revision: https://phabricator.services.mozilla.com/D119221
2021-07-20 03:23:29 +00:00
Butkovits Atila df5b6f3929 Backed out 13 changesets (bug 1709640, bug 1718341) for causing android build bustages. CLOSED TREE
Backed out changeset 20645ae32b84 (bug 1709640)
Backed out changeset 7c45682a8f98 (bug 1709640)
Backed out changeset 667e768fd75e (bug 1709640)
Backed out changeset f072adb45b85 (bug 1718341)
Backed out changeset cf443dddb5f5 (bug 1718341)
Backed out changeset 09d3d3e4ce7d (bug 1718341)
Backed out changeset 2b47cc469477 (bug 1718341)
Backed out changeset 8ec277361e46 (bug 1718341)
Backed out changeset b6c4c82d3efc (bug 1718341)
Backed out changeset 8afb8fcd0dc3 (bug 1718341)
Backed out changeset 7723d3a9ba7f (bug 1718341)
Backed out changeset f33b120a77d0 (bug 1718341)
Backed out changeset e7bf6deac270 (bug 1718341)
2021-07-17 01:02:51 +03:00
Agi Sferro 73fdfec807 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-07-16 19:26:48 +00:00
Agi Sferro 0c28adfdc3 Bug 1718341 - Download Android AVD from TL job artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119542
2021-07-16 17:49:57 +00:00
Agi Sferro e63d6a91a2 Bug 1718341 - Update Android cmdtools to 4.0. r=nalexander,glandium
The SDK Tools version we're currently using is deprecated and was last released
in 2017. It's time for an upgrade!

Differential Revision: https://phabricator.services.mozilla.com/D119226
2021-07-16 17:49:56 +00:00
Agi Sferro ee741ede76 Bug 1718341 - Prewarm AVD before packaging r=nalexander
The very first time an Android AVD starts it runs some one time jobs to
properly set up the AVD.

To avoid running the setup every time we run tests in automation, we can boot
the AVD before packaging it so that the testing jobs can use a "prewarmed" AVD
instead.

Differential Revision: https://phabricator.services.mozilla.com/D119225
2021-07-16 17:49:56 +00:00
Agi Sferro 7450f3801e Bug 1718341 - Initialize XVFB during SDK packaging. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D119224
2021-07-16 17:49:55 +00:00
Agi Sferro fa3a9445b3 Bug 1718341 - Generate Android AVD in TL job instead of using tooltool r=aklotz,nalexander
Tooltool images are hard to update because we don't provide a script to
generate the image and documentation is often inaccurate.

This patch makes it so we generate the AVD in the android-sdk TL job instead.

Differential Revision: https://phabricator.services.mozilla.com/D119221
2021-07-16 17:49:54 +00:00
Sandor Molnar c40ce62c3c Backed out 10 changesets (bug 1718341) for causing wrench bustages. CLOSED TREE
Backed out changeset e5bd150a58b2 (bug 1718341)
Backed out changeset e82e752b8f44 (bug 1718341)
Backed out changeset d9462c727c8f (bug 1718341)
Backed out changeset 2bd647754780 (bug 1718341)
Backed out changeset 31dfce45985f (bug 1718341)
Backed out changeset 03266cea345d (bug 1718341)
Backed out changeset 3920b27acecb (bug 1718341)
Backed out changeset 2b17603c5e65 (bug 1718341)
Backed out changeset ebc0d5d4f537 (bug 1718341)
Backed out changeset 1c8844157b8d (bug 1718341)
2021-07-16 03:40:56 +03:00
Agi Sferro ea13a76521 Bug 1718341 - Download Android AVD from TL job artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119542
2021-07-15 23:22:18 +00:00
Agi Sferro 3c257f8ca5 Bug 1718341 - Update Android cmdtools to 4.0. r=nalexander,glandium
The SDK Tools version we're currently using is deprecated and was last released
in 2017. It's time for an upgrade!

Differential Revision: https://phabricator.services.mozilla.com/D119226
2021-07-15 23:22:17 +00:00
Agi Sferro 9ee3064894 Bug 1718341 - Prewarm AVD before packaging r=nalexander
The very first time an Android AVD starts it runs some one time jobs to
properly set up the AVD.

To avoid running the setup every time we run tests in automation, we can boot
the AVD before packaging it so that the testing jobs can use a "prewarmed" AVD
instead.

Differential Revision: https://phabricator.services.mozilla.com/D119225
2021-07-15 23:22:17 +00:00
Agi Sferro a9fb86aee6 Bug 1718341 - Initialize XVFB during SDK packaging. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D119224
2021-07-15 23:22:16 +00:00
Agi Sferro 164fc2191d Bug 1718341 - Generate Android AVD in TL job instead of using tooltool r=aklotz,nalexander
Tooltool images are hard to update because we don't provide a script to
generate the image and documentation is often inaccurate.

This patch makes it so we generate the AVD in the android-sdk TL job instead.

Differential Revision: https://phabricator.services.mozilla.com/D119221
2021-07-15 23:22:15 +00:00
Mike Hommey c10a2e7771 Bug 1719229 - Fix for Toolchain bustage. CLOSED TREE 2021-07-14 13:55:56 +03:00
Mike Hommey 162f9b6800 Bug 1719229 - Rename the bootstrappable sysroot toolchains. r=firefox-build-system-reviewers,andi
In cross-compilation setups (x86_64 host, i686 or aarch64 target), we're
going to need two sysroots. Obviously, we need the sysroot paths to be
different in that case, so the sysroot path themselves need to contain
some distinctive name, and we'll use the `target.toolchain` name for
that (the target triplet with the vendor/machine stripped out).

Because the path name needs to be reflected in the artifact name as well
as the toolchain name, we also change them.

And because the current prefix in the toolchain name is now redundant
with the suffix, we remove the prefix, and allow the bootstrapping
mechanism to try toolchains without the prefix.

Differential Revision: https://phabricator.services.mozilla.com/D119846
2021-07-14 08:54:43 +00:00
Mike Hommey 6def90d273 Bug 1719228 - Build binutils with the toolchain sysroot. r=firefox-build-system-reviewers,andi
This allows to use the same toolchain docker images as other toolchains,
based on Debian buster.

While here, use the default max-run-time, which is more than enough for
this toolchain.

Differential Revision: https://phabricator.services.mozilla.com/D119137
2021-07-06 21:47:11 +00:00
Mike Hommey 899af76508 Bug 1719225 - Don't build binutils as part of gcc. r=firefox-build-system-reviewers,andi
We have a separate binutils toolchain already, and the only remaining
use of the binutils part of the the GCC toolchain is for the gold plugin
headers for clang, which we can add to the toolchain sysroot.

Differential Revision: https://phabricator.services.mozilla.com/D119133
2021-07-06 21:47:09 +00:00
Mike Hommey c44a775592 Bug 1719207 - Install libstdc++ dev package in sysroots. r=firefox-build-system-reviewers,mhentges
Because the build requires a version that is newer than the one
available in Debian jessie, we build a newer version. The exact minor
version doesn't matter, as long as it's 7.x, so we take the last version
that produced a libstdc++6 package (before Debian switched to GCC 8 as
the default), and add a few workarounds to fix the packaging that
doesn't quite work for jessie out of the box.

Differential Revision: https://phabricator.services.mozilla.com/D119124
2021-07-05 22:47:18 +00:00
Mike Hommey a9a1fbb581 Bug 1719205 - Upgrade mmdebstrap to latest version. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D119118
2021-07-05 22:47:18 +00:00