[clang] [openmp] [Libomp] Place generated OpenMP headers into build resource directory (PR #88007)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 8 13:09:21 PDT 2024


================
@@ -10,12 +10,19 @@
 
 include(ExtendPath)
 
+# The generated headers will be placed in clang's resource directory if present.
+if(${OPENMP_STANDALONE_BUILD})
+  set(LIBOMP_HEADERS_INTDIR ${CMAKE_CURRENT_BINARY_DIR})
+else()
+  set(LIBOMP_HEADERS_INTDIR ${LLVM_BINARY_DIR}/${LIBOMP_HEADERS_INSTALL_PATH})
----------------
shiltian wrote:

Is it `INSTDIR` or `INTDIR`? What does `INTDIR` mean?

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


More information about the cfe-commits mailing list