[Openmp-commits] [llvm] [openmp] [OpenMP] Fix runtimes default build (PR #149871)

via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 29 00:33:24 PDT 2025


================
@@ -11,7 +11,7 @@
 include(ExtendPath)
 
 # The generated headers will be placed in clang's resource directory if present.
-if(OPENMP_STANDALONE_BUILD OR NOT LLVM_RUNTIMES_BUILD)
+if(NOT LLVM_TREE_AVAILABLE)
----------------
jprotze wrote:

When building openmp as llvm project, `LLVM_TREE_AVAILABLE` is undefined, so the wrong branch will be used

https://github.com/llvm/llvm-project/pull/149871


More information about the Openmp-commits mailing list