Commit Graph

889 Commits

Author SHA1 Message Date
Mike Hommey
fca45887e8 Bug 1773200 - Force-disable parts of wasi-libc built with -mbulk-memory. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D149503
2022-06-17 01:39:17 +00:00
Mike Hommey
ea97dc7b3a Bug 1773223 - Turn gn into local toolchains. r=firefox-build-system-reviewers,ahochheiden
- Because we don't have a native arm64 mac one, alias the x86_64 one.
- Because we always compress with zstd, don't pretend the main script
  has any power on the compression (which was wrong for Windows).

Differential Revision: https://phabricator.services.mozilla.com/D149204
2022-06-15 07:06:06 +00:00
Mike Hommey
3195e73f24 Bug 1773221 - Link NSIS stubs with /fixed (aka disable relocations). r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D148882
2022-06-15 07:04:41 +00:00
Mike Hommey
9ff0692446 Bug 1529033 - Update gn to latest trunk. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D148618
2022-06-08 22:40:00 +00:00
Mike Hommey
ca795a70da Bug 1529033 - Rename gn toolchain and script. r=firefox-build-system-reviewers,andi
Bug 1570598 turned the windows gn binary into a 64-bits executable.
Reflect that in the toolchain and script names.

Differential Revision: https://phabricator.services.mozilla.com/D148617
2022-06-08 22:40:00 +00:00
Mike Hommey
8acbc80cbe Bug 1773224 - Disable per-target runtime directory. r=firefox-build-system-reviewers,andi
There are a set of problems that arise from that setup that need to be
addressed before this can be enabled, but upstream is toying with it,
and it's better to have a setup that is stable rather than a setup that
can break when upstream changes something (which happened again earlier
today).

Differential Revision: https://phabricator.services.mozilla.com/D148625
2022-06-08 08:46:00 +00:00
Julian Descottes
ae3b9c7d50 Bug 1773203 - [devtools] Improve failure message and documentation for devtools-bundle job r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D148607
2022-06-08 07:47:25 +00:00
Mike Hommey
97aadddc0d Bug 1772035 - Add cargo-vet toolchains. r=firefox-build-system-reviewers,andi
We won't need all of them immediately, but while we're here, we might as
well produce them all.

Differential Revision: https://phabricator.services.mozilla.com/D147820
2022-06-02 06:54:25 +00:00
Gabriele Svelto
3bfe51253e Bug 1771214 - Bump dump_syms to version 1.0.1 r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D147359
2022-05-26 15:24:29 +00:00
Mike Hommey
b77400e9f7 Bug 1696504 - Bump macOS builds to SDK 11.0. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D131588
2022-05-26 14:31:05 +00:00
Cristian Tuns
c153a56fe1 Backed out changeset 10a2fbadf5d3 (bug 1696504) for causing reftest failures on hiragino-kaku-1.html CLOSED TREE 2022-05-25 22:19:24 -04:00
Mike Hommey
1e69f5d4e4 Bug 1696504 - Bump macOS builds to SDK 11.0. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D131588
2022-05-25 18:28:19 +00:00
Jesse Schwartzentruber
ff3dbf45af Bug 1769178 - Update to current AFL++ stable. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D146910
2022-05-24 21:07:40 +00:00
Tom Ritter
b88bbad70d Bug 1766662: Remove the Updatebot verify job r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D146124
2022-05-23 16:25:21 +00:00
Steve Fink
940428e321 Bug 1767612 - Update to sixgill that optimizes out trivial loops
Differential Revision: https://phabricator.services.mozilla.com/D146257
2022-05-18 23:34:02 +00:00
Mike Hommey
6cfa9f9231 Bug 1769174 - Add clang trunk tasks for all supported hosts/targets. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D146268
2022-05-14 22:06:55 +00:00
Marian-Vasile Laza
30cd719257 Backed out changeset fecdf3c0e77c (bug 1769174) for triggering clang trunk builds on all pushes. CLOSED TREE 2022-05-15 00:53:20 +03:00
Mike Hommey
e27c30d6a8 Bug 1769174 - Add clang trunk tasks for all supported hosts/targets. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D146268
2022-05-14 21:22:24 +00:00
Mike Hommey
f1379ba146 Bug 1769173 - Update wasi-sdk to the latest trunk. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D146264
2022-05-14 21:18:15 +00:00
Mike Hommey
66d994bb46 Bug 1767504 - Apply GCC upstream patch to silence a dubious warning. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D145404
2022-05-06 12:49:45 +00:00
Mike Hommey
10a7946072 Bug 1767917 - Remove rust compiler-builtins-hack. r=firefox-build-system-reviewers,andi
The underlying issue in the LLVM gold plugin now has a proposed fix that we
can use to remove the hack.

Differential Revision: https://phabricator.services.mozilla.com/D145539
2022-05-06 12:26:38 +00:00
Mike Hommey
c7ed58a5ea Bug 1767919 - Build clang-mingw's libc++/libc++abi/libunwind in one go. r=firefox-build-system-reviewers,andi
Building libc++ and libc++abi standalone is not supported as of LLVM 15
(it already shows a deprecation warning in LLVM 14). Switch to using the
new canonical way to build them*, and get libunwind along.

As a bonus, merging the libraries is handled by the LLVM build system in
that case.

[*] https://libcxx.llvm.org/BuildingLibcxx.html

Differential Revision: https://phabricator.services.mozilla.com/D145543
2022-05-05 22:21:00 +00:00
Mike Hommey
83cf0a1eaf Bug 1767919 - Build clang-mingw's libunwind from llvm-project. r=firefox-build-system-reviewers,andi
The separate libunwind we were getting is from an old llvm mirror. We
can just use the version from llvm-project, which will be up-to-date,
and will allow to simplify the whole process later.

Differential Revision: https://phabricator.services.mozilla.com/D145542
2022-05-05 22:21:00 +00:00
Jesse Schwartzentruber
c4d24abc2e Bug 1765546 - Add AFL++ instrumentation toolchain r=decoder,firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D144208
2022-05-04 19:24:57 +00:00
Jamie Nicol
aea641381c Bug 1615148 - Fix wrench on android. r=jrmuizel
This uses a patched version of glutin 0.28 which builds successfully
on Android. It has the caveat that the application is now responsible
to ensure we only create a GL context when the application has been
resumed and the window is valid. This patch does so by spinning an
event loop on startup until we receive a Resume event. This is a bit
of a hack, and will break if the app is minimised, but it is good
enough for wrench's use case.

Cargo-apk no longer supports specifying a separate target_sdk_version
and android_version, meaning we must use a target_sdk_version of
31. This means we no longer have permission to read from "/sdcard", so
wrench and its scripts have been updated to use the application's
"external data dir".

Finally, when running on CI we use a patched version of cargo-apk
which allows building with SDK version 31 and NDK r21d. We should be
able to switch to the upstream git version once we update to NDK r23.

Differential Revision: https://phabricator.services.mozilla.com/D144418
2022-04-27 15:31:56 +00:00
Mike Hommey
0793e1a021 Bug 1765677 - Upgrade the version of cargo used for the vendoring but not for cargo-apk when building wrench. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D144239
2022-04-21 05:05:14 +00:00
Mike Hommey
c036d9fa75 Bug 1758780 - Update builders to clang 14. r=firefox-build-system-reviewers,mhentges,andi
Differential Revision: https://phabricator.services.mozilla.com/D143175
2022-04-21 04:36:24 +00:00
Narcis Beleuzu
ca3d248c27 Backed out 2 changesets (bug 1758780) for jsreftest failure on fp-evaluation-order.js . CLOSED TREE
Backed out changeset 10e2414392ae (bug 1758780)
Backed out changeset 481062597411 (bug 1758780)
2022-04-20 03:03:26 +03:00
Mike Hommey
084572fdfe Bug 1758780 - Update builders to clang 14. r=firefox-build-system-reviewers,mhentges,andi
Differential Revision: https://phabricator.services.mozilla.com/D143175
2022-04-19 08:08:45 +00:00
Mike Hommey
5579a5ae06 Bug 1764882 - Use apple-m1 cpu target on mac arm64 builds. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D143818
2022-04-18 20:38:25 +00:00
Tom Ritter
ba6b03ac81 Bug 1763412: Unpack 2 and only 2 values r=jewilde
We were getting ('dav1d', '87f9a81cd770e49394a45deca7a3df41243de00b', '')
which is three values and throwing an exception.

Differential Revision: https://phabricator.services.mozilla.com/D143060
2022-04-15 18:17:40 +00:00
Noemi Erli
5c6908c9f3 Backed out 2 changesets (bug 1758780) for causing OSX failures
Backed out changeset 2a3c0204b519 (bug 1758780)
Backed out changeset 330065f83d19 (bug 1758780)
2022-04-13 14:08:51 +03:00
Mike Hommey
fcaf95f5c1 Bug 1758780 - Update builders to clang 14. r=firefox-build-system-reviewers,mhentges,andi
Differential Revision: https://phabricator.services.mozilla.com/D143175
2022-04-13 05:09:09 +00:00
Butkovits Atila
36666c724e Backed out 2 changesets (bug 1758780) as per request by dev. CLOSED TREE
Backed out changeset 0f6aff1f340e (bug 1758780)
Backed out changeset e390fac06dae (bug 1758780)
2022-04-13 07:53:43 +03:00
Mike Hommey
2617bb4207 Bug 1758780 - Update builders to clang 14. r=firefox-build-system-reviewers,mhentges,andi
Differential Revision: https://phabricator.services.mozilla.com/D143175
2022-04-13 04:35:11 +00:00
Mike Hommey
fb4dff3f7f Bug 1289641 - Replace uses of the vs2017-15.9 tooltool manifest. r=firefox-build-system-reviewers,mhentges
Now that we have a toolchain artifact with the same function, we can use
that instead.

Differential Revision: https://phabricator.services.mozilla.com/D143127
2022-04-12 22:52:54 +00:00
Mike Hommey
11d782a753 Bug 1289641 - Stop depending on the tooltool manifest to distinguish whether to build a windows winchecksec. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D143257
2022-04-12 22:52:53 +00:00
Mike Hommey
6242e9c82a Bug 1289641 - Setup a taskcluster task to build the vs2017 toolchain. r=firefox-build-system-reviewers,mhentges
Its layout differs from the one in the tooltool archive for forward
compatibility with the upcoming (clang 15) -winsysroot flag.

There is probably more filtering we can do to somehow match what
windows_toolchain.py used to do, but we'll keep that for later.

Differential Revision: https://phabricator.services.mozilla.com/D143126
2022-04-12 22:52:53 +00:00
Butkovits Atila
4e5f6bf343 Backed out 7 changesets (bug 1289641) for causing Python failures. CLOSED TREE
Backed out changeset 0c1cedebf915 (bug 1289641)
Backed out changeset 575732020bd2 (bug 1289641)
Backed out changeset 55b68a71e03a (bug 1289641)
Backed out changeset 0b16a05aa405 (bug 1289641)
Backed out changeset acbff13b91b3 (bug 1289641)
Backed out changeset 2645367da7cb (bug 1289641)
Backed out changeset 8b22a8ec44fe (bug 1289641)
2022-04-12 22:23:27 +03:00
Mike Hommey
b49ca95e6e Bug 1758780 - Avoid building LLVM when building wasi compiler-rt. r=firefox-build-system-reviewers,mhentges
Instead, do the same trick as for the wasi sysroot, and reuse clang
itself.

Differential Revision: https://phabricator.services.mozilla.com/D143171
2022-04-12 01:30:55 +00:00
Mike Hommey
ed0369a01a Bug 1289641 - Replace uses of the vs2017-15.9 tooltool manifest. r=firefox-build-system-reviewers,mhentges
Now that we have a toolchain artifact with the same function, we can use
that instead.

Differential Revision: https://phabricator.services.mozilla.com/D143127
2022-04-11 23:00:10 +00:00
Mike Hommey
dba911ebc9 Bug 1289641 - Stop depending on the tooltool manifest to distinguish whether to build a windows winchecksec. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D143257
2022-04-11 23:00:09 +00:00
Mike Hommey
88524f5e92 Bug 1289641 - Setup a taskcluster task to build the vs2017 toolchain. r=firefox-build-system-reviewers,mhentges
Its layout differs from the one in the tooltool archive for forward
compatibility with the upcoming (clang 15) -winsysroot flag.

There is probably more filtering we can do to somehow match what
windows_toolchain.py used to do, but we'll keep that for later.

Differential Revision: https://phabricator.services.mozilla.com/D143126
2022-04-11 23:00:09 +00:00
Steve Fink
4c4cd314da Bug 1735970 - [hazards] Update sixgill to fix covariant return value problem
Differential Revision: https://phabricator.services.mozilla.com/D142574
2022-03-31 16:17:38 +00:00
Butkovits Atila
4b092b0d07 Bug 1743238 - lint fix. a=fix 2022-03-21 18:11:47 +02:00
Tom Ritter
3d43143625 Bug 1743238: Do not verify angle updates for now r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D141510
2022-03-21 13:50:00 +00:00
Tom Ritter
099e5c45f0 Bug 1759149: Retry commit fetch r=jewilde
Occassionally the request fails. If it does, try it
again. It'll probably work, and if it doesn't, we're
no worse off.

Differential Revision: https://phabricator.services.mozilla.com/D140840
2022-03-15 19:47:03 +00:00
Steve Fink
893098b485 Bug 1759244 - [hazards] Handle range-based for loops over zero-length arrays (sixgill update)
Differential Revision: https://phabricator.services.mozilla.com/D140999
2022-03-14 19:21:56 +00:00
Mike Hommey
29757d82d7 Bug 1758781 - Build llvm-symbolizer separately. r=firefox-build-system-reviewers,mhentges
The llvm-symbolizer tasks currently extract a llvm-symbolizer from clang
tasks. Changes in clang 14 make the hack that we have in place to keep
llvm-symbolizer statically linked to libllvm while clang uses a dynamic
libllvm not work anymore, so it's time to bite the bullet and build
llvm-symbolizer separately.

We share most of the build setup with the compiler-rt build.

Differential Revision: https://phabricator.services.mozilla.com/D140711
2022-03-11 04:10:49 +00:00
Mike Hommey
053d859bcf Bug 1758781 - Use the WinMsvc.cmake toolchain file to build compiler-rt. r=firefox-build-system-reviewers,mhentges
The toolchain file is a helper for cross-compilation that even deals
with case-sensivity in MSVC, which simplifies our setup.

Differential Revision: https://phabricator.services.mozilla.com/D140710
2022-03-11 04:10:48 +00:00