[llvm] [offload] Standalone build fixes (PR #118173)

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 1 10:37:03 PST 2024


================
@@ -136,7 +125,7 @@ if (${OPENMP_STANDALONE_BUILD})
   # project is built which is too late for detecting the compiler...
   file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/DetectTestCompiler)
   execute_process(
-    COMMAND ${CMAKE_COMMAND} -G${CMAKE_GENERATOR} ${CMAKE_CURRENT_LIST_DIR}/DetectTestCompiler
+    COMMAND ${CMAKE_COMMAND} -G${CMAKE_GENERATOR} ${CMAKE_SOURCE_DIR}/../openmp/cmake/DetectTestCompiler
----------------
mgorny wrote:

Fixed.

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


More information about the llvm-commits mailing list