[PATCH] D122862: gn build: Fix support for building the builtins for baremetal.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 10:52:30 PDT 2022


pcc added inline comments.


================
Comment at: llvm/utils/gn/secondary/compiler-rt/BUILD.gn:16
+if (llvm_build_AArch64) {
+  supported_toolchains += [ "//llvm/utils/gn/build/toolchain:stage2_baremetal_aarch64" ]
+}
----------------
thakis wrote:
> Will we now always build these, unconditionally?
Yes, if the aarch64 backend is enabled. We can add a toggle if we need it but it doesn't seem necessary at this point as it builds quickly and it should help avoid bitrot.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122862/new/

https://reviews.llvm.org/D122862



More information about the llvm-commits mailing list