Closed Bug 1751824 Opened 2 years ago Closed 2 years ago

Build Windows compiler runtimes like for macOS and Android

Categories

(Firefox Build System :: Toolchains, task)

task

Tracking

(firefox98 fixed)

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(3 files)

No description provided.

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.

Depends on: 1751839
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
See Also: → 1751929

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.

Flags: needinfo?(mh+mozilla)
Flags: needinfo?(mh+mozilla)

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

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
Blocks: 1752486
Blocks: 1752490
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: