[llvm] [llvm] Disable some LLVM arguments in runtimes mode (PR #73031)
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 21 14:10:12 PST 2023
================
@@ -151,6 +151,9 @@ endif()
# Avoid checking whether the compiler is working.
set(LLVM_COMPILER_CHECKED ON)
+# This can be used to detect whether we're in the runtimes build.
+set(LLVM_RUNTIMES_BUILD ON)
+
# Handle common options used by all runtimes.
include(AddLLVM)
include(HandleLLVMOptions)
----------------
jdoerfert wrote:
FWIW, I think this is the right way to go. We'll handle the fallout as it shows up.
https://github.com/llvm/llvm-project/pull/73031
More information about the llvm-commits
mailing list