aboutsummaryrefslogtreecommitdiff
path: root/runtimes/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2023-11-27 11:11:06 -0600
committerJoseph Huber <huberjn@outlook.com>2023-11-27 11:16:50 -0600
commit9a376530b3e3b5d105f46ca5abc2375a593b9a63 (patch)
tree350bb75e705d62531391e2fe55c3bf292e8b6064 /runtimes/CMakeLists.txt
parentfe3c4218438adeebba4914a57b4d382e3a947394 (diff)
downloadllvm-9a376530b3e3b5d105f46ca5abc2375a593b9a63.zip
llvm-9a376530b3e3b5d105f46ca5abc2375a593b9a63.tar.gz
llvm-9a376530b3e3b5d105f46ca5abc2375a593b9a63.tar.bz2
Revert "[llvm] Disable HandleLLVMOptions in runtimes mode (#73031)"
This reverts commit 79b03306af5c11d354fa90db8bfd7818cd811ef5. I am seeing very confusing errors with the `libomptarget` test suite when using dlopen / other flags. Reverting to investigate why this is.
Diffstat (limited to 'runtimes/CMakeLists.txt')
-rw-r--r--runtimes/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtimes/CMakeLists.txt b/runtimes/CMakeLists.txt
index 603a328..010ec87 100644
--- a/runtimes/CMakeLists.txt
+++ b/runtimes/CMakeLists.txt
@@ -151,7 +151,9 @@ endif()
# Avoid checking whether the compiler is working.
set(LLVM_COMPILER_CHECKED ON)
+# Handle common options used by all runtimes.
include(AddLLVM)
+include(HandleLLVMOptions)
find_package(Python3 REQUIRED COMPONENTS Interpreter)