Build Windows compiler runtimes like for macOS and Android
Categories
(Firefox Build System :: Toolchains, task)
Tracking
(firefox98 fixed)
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(3 files)
Assignee | ||
Comment 1•2 years ago
|
||
It turns out not only can we successfully build the Windows compiler
runtimes separately like on other platforms, but we can also
cross-compile them! Which saves a tremendous amount of time when
rebuilding the toolchains, since we can now produce the clang-win-cross
toolchain much earlier than waiting for a native build of a windows
clang compiler first.
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/5a7179b0085c Build Windows compiler runtimes like for macOS and Android. r=firefox-build-system-reviewers,andi
Comment 3•2 years ago
|
||
Backed out changeset 5a7179b0085c (Bug 1751824) for causing failures in sanitizer_common_interceptors.inc
Backout link: https://hg.mozilla.org/integration/autoland/rev/8c90abaecb0e87b9a34aaac4706df85315901595
Push with failures, failure log.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
And use the clang-13 json for all clang-13-based compiler-rt tasks.
This will ensure we apply all the patches that are intended to be
applied (we may want to split out the compiler-rt patches in the future,
though).
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/7bcfe989eee4 Support passing a clang json config to compiler-rt builds. r=firefox-build-system-reviewers,mhentges https://hg.mozilla.org/integration/autoland/rev/14409ae0509b Build Windows compiler runtimes like for macOS and Android. r=firefox-build-system-reviewers,andi
Assignee | ||
Comment 6•2 years ago
|
||
Applying all the patches from build-clang enabled the patch for macos
cross compiles that adds a -target argument based on
LLVM_DEFAULT_TARGET_TRIPLE, that we weren't setting.
Pushed by abutkovits@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5f10f1434149 Fixup for macos compiler-rt build. CLOSED TREE
Comment 8•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7bcfe989eee4
https://hg.mozilla.org/mozilla-central/rev/14409ae0509b
https://hg.mozilla.org/mozilla-central/rev/5f10f1434149
Description
•