Ship most compiler-rts alongside clang toolchains on all platforms
Categories
(Firefox Build System :: Toolchains, task)
Tracking
(firefox99 fixed)
| Tracking | Status | |
|---|---|---|
| firefox99 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(5 files)
| Assignee | ||
Comment 1•4 years ago
|
||
This simplifies the setup for cross clang repacks.
Also use ninja install to get all the relevant things in the artifact.
| Assignee | ||
Comment 2•4 years ago
|
||
Use lld to build them (as well as aarch64 linux compiler-rt).
While here, remove redundant CMAKE_SHARED_LINKER_FLAGS in the Android case.
| Assignee | ||
Comment 3•4 years ago
|
||
This allows to build the compiler-rt earlier.
| Assignee | ||
Comment 4•4 years ago
|
||
Instead of building compiler-rt alongside clang, we reuse the clang
repack logic to put compiler-rts in place when building clang stage2
(which requires the profiling runtime).
The repack logic is unified to handle all platforms as well, and now
that compiler-rt is not built in clang, we also need to copy everything
that is not lib/* from the compiler-rt artifacts, so we now also ensure
that they're not diverging between those compiler-rt artifacts (except
for darwin libs, which need to be unified into universal libraries).
And as a bonus, we can also cross-build the mac clang toolchains with
the stage1 clang and the clang runtime for the target platform.
| Assignee | ||
Comment 5•4 years ago
|
||
This improves out-of-the-box support for cross-compiles on tier-1 build
platforms, including for asan. This also reduces the number of different
*-cross toolchains we need for CI builds.
The linux clang is now also a repack, like the others, and the insertion
of the wasm compiler-rt is moved to the repack, which also allows to
remove that part of the build-clang.py script.
Comment 7•4 years ago
•
|
||
Backed out 5 changesets (Bug 1755415) for causing build bustages.
Backout link
Push with failures
Failure Log
Comment 9•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/de4b01930cff
https://hg.mozilla.org/mozilla-central/rev/c42c67a91b3e
https://hg.mozilla.org/mozilla-central/rev/3996b904323e
https://hg.mozilla.org/mozilla-central/rev/2e45b678b24b
https://hg.mozilla.org/mozilla-central/rev/52f3ec5b41fd
| Assignee | ||
Updated•4 years ago
|
Description
•