We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8052b32 commit 8c1b0c8Copy full SHA for 8c1b0c8
flang/test/lit.site.cfg.py.in
@@ -25,7 +25,11 @@ config.cc = "@CMAKE_C_COMPILER@"
25
config.osx_sysroot = path(r"@CMAKE_OSX_SYSROOT@")
26
config.targets_to_build = "@TARGETS_TO_BUILD@"
27
config.default_sysroot = "@DEFAULT_SYSROOT@"
28
-config.have_openmp_rtl = ("@LLVM_TOOL_OPENMP_BUILD@" == "TRUE")
+config.have_openmp_rtl = ("@LLVM_TOOL_OPENMP_BUILD@" == "TRUE") or ("openmp" in "@LLVM_ENABLE_RUNTIMES@".lower().split(";"))
29
+if "openmp" in "@LLVM_ENABLE_RUNTIMES@".lower().split(";"):
30
+ config.openmp_module_dir = "@CMAKE_BINARY_DIR@/runtimes/runtimes-bins/openmp/runtime/src"
31
+else:
32
+ config.openmp_module_dir = None
33
config.flang_runtime_f128_math_lib = "@FLANG_RUNTIME_F128_MATH_LIB@"
34
35
import lit.llvm
0 commit comments