Closed Bug 1690757 Opened 3 years ago Closed 3 years ago

Build the clang aarch64 cross toolchain as a repack or clang + compiler-rt

Categories

(Firefox Build System :: Toolchains, task)

task

Tracking

(firefox87 fixed)

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(3 files)

No description provided.
  • Switch to use llvm-ar and llvm-ranlib
  • Use CMAKE_*_COMPILER_TARGET for --target
  • Use CMAKE_OSX_SYSROOT for -isysroot
  • Limit the compiler wrapper to adding -mcpu=apple-a12 on arm64
  • Remove -DLLVM_DEFAULT_TARGET_TRIPLE and add -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
  • Group all the flags that are OSX-only
Attachment #9201088 - Attachment description: Bug 1690757 - Build the clang aarch64 cross toolchain as a repack or clang + compiler-rt. → Bug 1690757 - Build the clang aarch64 cross toolchain as a repack of clang + compiler-rt.
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/0deaa2da5461
Change compiler-rt cmake flags to better share with upcoming new platforms. r=firefox-build-system-reviewers,mhentges
https://hg.mozilla.org/integration/autoland/rev/8058fad9eff0
Add a compiler-rt task for aarch64 linux. r=firefox-build-system-reviewers,mhentges
https://hg.mozilla.org/integration/autoland/rev/79063bd8183c
Build the clang aarch64 cross toolchain as a repack of clang + compiler-rt. r=firefox-build-system-reviewers,andi,mhentges
Blocks: 1690932
Blocks: 1690973
See Also: → 1691007
Blocks: 1751812
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: