[llvm] [llvm] Disable some LLVM arguments in runtimes mode (PR #73031)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 21 12:43:37 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)
----------------
jhuber6 wrote:
That was my first inclination, but I figured this would be the less destructive option. I'm assuming that many of these options are not required for projects that consume the LLVM static / shared libraries such as `openmp`, but I don't know the intention here strictly enough to make an accurate judgement there.
https://github.com/llvm/llvm-project/pull/73031
More information about the llvm-commits
mailing list