[PATCH] D89942: Disable LTO and LLD for bootstrap builds on systems unsupported by LLD

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 10 07:57:11 PST 2021


serge-sans-paille added inline comments.


================
Comment at: clang/CMakeLists.txt:639
+  # We want LLD for LTO, but LLD does not support SystemZ, so disable
+  # LTO here and use the installed system linker
+  if ("${LLVM_NATIVE_ARCH}" MATCHES "SystemZ")
----------------
I guess you're using `FORCE` here to change the user default, right? In that case wouldn't that make sense to warn only if it's an actual change?


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

https://reviews.llvm.org/D89942



More information about the cfe-commits mailing list