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

1206 Коммитов

Автор SHA1 Сообщение Дата
Connor Sheehan 08ee03c250 Bug 1733180: add 2021/2022 hgmo SSL certificate fingerprint to `FALLBACK_FINGERPRINT` r=dhouse
Differential Revision: https://phabricator.services.mozilla.com/D129071
2021-10-21 14:02:11 +00:00
Andi-Bogdan Postelnicu 0d12e234b2 Bug 1731582 - Move to clang-13 r=firefox-build-system-reviewers,mhentges,decoder
Join work with glandium.

Differential Revision: https://phabricator.services.mozilla.com/D126208
2021-10-20 12:03:20 +00:00
Butkovits Atila c56f15eca0 Backed out changeset 7de44eaecb13 (bug 1731582) as requested by Andi. CLOSED TREE 2021-10-19 20:52:08 +03:00
Andi-Bogdan Postelnicu 151c81623a Bug 1731582 - Move to clang-13 r=firefox-build-system-reviewers,mhentges,decoder
Join work with glandium.

Differential Revision: https://phabricator.services.mozilla.com/D126208
2021-10-19 14:45:59 +00:00
Marian-Vasile Laza 3883f0ad91 Backed out changeset f3cf8baf4f0a (bug 1731582) for causing build bustages. CLOSED TREE 2021-10-19 12:36:47 +03:00
Andi-Bogdan Postelnicu da72439c02 Bug 1731582 - Move to clang-13 r=firefox-build-system-reviewers,mhentges
Join work with glandium.

Differential Revision: https://phabricator.services.mozilla.com/D126208
2021-10-19 08:00:30 +00:00
Mike Hommey b18b2b21a0 Bug 1690973 - Build the clang android cross toolchain as a repack of clang + compiler-rt. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D127933
2021-10-08 09:40:54 +00:00
Mike Hommey 63924fb2f0 Bug 1690973 - Add compiler-rt tasks for android. r=firefox-build-system-reviewers,andi
The necessary flags are somewhat different from what we currently use in
build-clang.py, but work.

Differential Revision: https://phabricator.services.mozilla.com/D127932
2021-10-08 09:40:53 +00:00
Mike Hommey 515b0d4960 Bug 1734331 - Upgrade toolchains to macosx-sdk 11.0. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D127618
2021-10-06 09:00:39 +00:00
Mike Hommey 4ca51203f1 Bug 1732824 - Update wasi-sdk to the latest trunk. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D126749
2021-10-06 08:56:32 +00:00
Butkovits Atila 8b745c7243 Backed out changeset 2f93c060a50c (bug 1732824) as per dev's request. CLOSED TREE 2021-09-29 04:21:35 +03:00
Mike Hommey f43531930b Bug 1732824 - Update wasi-sdk to the latest trunk. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D126749
2021-09-28 09:08:35 +00:00
Andi-Bogdan Postelnicu e2cab5c39c Bug 1731542 - remove `infer` from our static-analysis pipeline. r=static-analysis-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D126070
2021-09-20 12:47:44 +00:00
Mike Hommey 397ece0e6e Bug 1500802 - Remove now unused mingw32-gcc toolchain. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D125923
2021-09-17 20:55:42 +00:00
Mike Hommey 636982aa2e Bug 1500804 - Build nsis with mingw-clang rather than mingw-gcc. r=tjr
While here, build the Linux portions with a sysroot.

Differential Revision: https://phabricator.services.mozilla.com/D125922
2021-09-17 20:55:42 +00:00
Mike Hommey c2981c2307 Bug 1731195 - Use a linux-native makensis for Windows cross-builds. r=firefox-build-system-reviewers,andi
Because the result is 99% identical to the win64-nsis toolchain, we
produce a single toolchain that can be used both on native windows and
on cross builds.

Differential Revision: https://phabricator.services.mozilla.com/D125926
2021-09-17 09:11:22 +00:00
Mike Hommey a6e466b943 Bug 1731175 - Build clang-mingw off clang-12 rather than from scratch. r=firefox-build-system-reviewers,andi
The build-clang step in the clang-mingw toolchains just replicates what
we already do for clang, except with no patched applied, which could
arguably seen as an issue. Instead of rebuilding what we essentially
already have as a result of the clang-12 toolchain, we use the clang-12
toolchain directly instead.

Differential Revision: https://phabricator.services.mozilla.com/D125912
2021-09-17 08:26:33 +00:00
Mike Hommey a83683f935 Bug 1730851 - Build the rust-dev toolchain with more complete version information. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D125775
2021-09-16 22:34:24 +00:00
Mike Hommey b429159003 Bug 1730851 - Allow to keep .git directories in git fetches. r=firefox-build-system-reviewers,mhentges
And reduce the size of the artifact by making it a shallow clone.

Differential Revision: https://phabricator.services.mozilla.com/D125774
2021-09-16 22:34:24 +00:00
Mike Hommey 4dbe34f810 Bug 1730825 - Build NSIS as a relocatable binary. r=firefox-build-system-reviewers,andi
The reason the error mentioned in build-mingw32-nsis.sh happens is that
the default mode NSIS builds in is a fully-installed mode, where it
hardcodes the locations of its data files. This is why nsis needs to
be used from the same place it's built for. But there's another mode,
enabled with NSIS_CONFIG_CONST_DATA_PATH=no, that makes it relocatable,
and makes it find its data files relatively to the nsis binary.

However, there's a bug in the nsis build scripts, which makes the nsis
binary installed in the destination directory instead of a bin/
subdirectory, while the source code itself looks for data files relative
to the parent directory of the directory that contains the executable.
So we need to set PREFIX_BIN to force the executable to be installed in
a bin/ subdirectory.

There is also an issue in nsis itself when it's executed by anything
other than a shell, which we patch out.

Differential Revision: https://phabricator.services.mozilla.com/D125638
2021-09-15 08:33:06 +00:00
Mike Hommey f7c5a8e8cd Bug 1730825 - Ship the linux64-mingw32-nsis toolchain in a nsis/ directory. r=firefox-build-system-reviewers,andi
While the comment at the top of build-mingw32-nsis.sh is true, it only
applies to nsis being in the same path in the build tasks as it was
built from in the toolchain task. So we don't actually need to build
it in a mingw32/bin directory, and can ship it in a nsis/bin directory,
as long as that's where we build it.

That makes the toolchain match the expectations from bootstrap, which
also makes PATH adjustments for nsis unnecessary, no other toolchain
used in those builds providing a binary in mingw32/bin.

Differential Revision: https://phabricator.services.mozilla.com/D125637
2021-09-15 08:33:05 +00:00
Mike Hommey 7e693067b8 Bug 1730825 - Bootstrap nsis for Windows builds. r=firefox-build-system-reviewers,andi
And at the same time, make the toolchain artifact directly usable on
cross-compiles.

Differential Revision: https://phabricator.services.mozilla.com/D125635
2021-09-15 08:33:04 +00:00
Mike Hommey b3ea935824 Bug 1730078 - Build gn with system gcc. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D125155
2021-09-15 02:39:51 +00:00
Mike Hommey 4b9f8db275 Bug 1726506 - Build linux grcov with the linux build sysroot. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D124166
2021-09-15 02:22:13 +00:00
Mike Hommey 0aae65e107 Bug 1726506 - Build cctools-port with the toolchain sysroot. r=firefox-build-system-reviewers,mhentges
And while here, remove tooltool-downloads attribute that is unused, and
add verbosity to ninja output.

Differential Revision: https://phabricator.services.mozilla.com/D124164
2021-09-15 02:22:13 +00:00
Mike Hommey dd72dc7fb3 Bug 1728507 - Upgrade NSIS to 3.07. r=firefox-build-system-reviewers,agashlin,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D124163
2021-09-14 23:18:22 +00:00
Mike Hommey c27d5e43d1 Bug 1728507 - Pass the nsis version to scons. r=firefox-build-system-reviewers,mhentges
Rather than rewriting SConstruct.

Differential Revision: https://phabricator.services.mozilla.com/D124162
2021-09-14 23:18:22 +00:00
Mike Hommey b2dd8f3c30 Bug 1729611 - Remove the separate llvm-dsymutil toolchain. r=firefox-build-system-reviewers,mhentges
It made sense when we did have problems with the one shipped with clang
and needed an explicitly newer version, but that hasn't been true in a
while. On the contrary, we're now using a version older than clang for
no reason other than having forgotten to update it.

Differential Revision: https://phabricator.services.mozilla.com/D124886
2021-09-09 00:11:47 +00:00
Mike Hommey 692e4afda9 Bug 1729610 - Remove taskcluster/scripts/misc/source-test-clang-setup-macos64.sh. r=firefox-build-system-reviewers,mhentges DONTBUILD
It isn't used anymore after bug 1725171.

Differential Revision: https://phabricator.services.mozilla.com/D124874
2021-09-08 23:59:54 +00:00
Mike Hommey 9ef9a07ff2 Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged:
- geckodriver because the results are used to releases on github.
- sixgill because the script that creates it is not in-tree.
- *-dist-toolchain because sccache is not expecting a .tar.zst.

We use native tar support in most cases, except for toolchain scripts also
used on Windows, for which we use our zstdpy script.

Differential Revision: https://phabricator.services.mozilla.com/D124733
2021-09-08 23:46:51 +00:00
Iulian Moraru 82a880399a Backed out 2 changesets (bug 1729406) for causing toolchain-wrench-deps build bustages. CLOSED TREE
Backed out changeset 2b28ac860723 (bug 1729406)
Backed out changeset 89c9940d7402 (bug 1729406)
2021-09-08 16:08:40 +03:00
Mike Hommey cc6d99c4e2 Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged:
- geckodriver because the results are used to releases on github.
- sixgill because the script that creates it is not in-tree.
- *-dist-toolchain because sccache is not expecting a .tar.zst.

We use native tar support in most cases, except for toolchain scripts also
used on Windows, for which we use our zstdpy script.

Differential Revision: https://phabricator.services.mozilla.com/D124733
2021-09-08 08:00:54 +00:00
Cosmin Sabou e097f3b06f Backed out changeset 40f514ec207e (bug 1729406) for causing windows build bustages. CLOSED TREE 2021-09-08 07:43:48 +03:00
Mike Hommey c7391546a8 Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged:
- geckodriver because the results are used to releases on github.
- sixgill because the script that creates it is not in-tree.
- *-dist-toolchain because sccache is not expecting a .tar.zst.

We use native tar support in most cases, except for toolchain scripts also
used on Windows, for which we use our zstdpy script.

Differential Revision: https://phabricator.services.mozilla.com/D124733
2021-09-08 03:44:03 +00:00
Noemi Erli 2c90034df8 Backed out changeset d6d54748247b (bug 1729406) for causing Win build bustages CLOSED TREE 2021-09-08 05:26:26 +03:00
Mike Hommey ddf2323be6 Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged:
- geckodriver because the results are used to releases on github.
- sixgill because the script that creates it is not in-tree.
- *-dist-toolchain because sccache is not expecting a .tar.zst.

We use native tar support in most cases, except for toolchain scripts also
used on Windows, for which we use our zstdpy script.

Differential Revision: https://phabricator.services.mozilla.com/D124733
2021-09-08 00:31:19 +00:00
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