[Openmp-commits] [PATCH] D28280: [CMake] Make openmp build under runtimes/
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 4 10:22:25 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL290978: [CMake] Make openmp build under runtimes/ (authored by Hahnfeld).
Changed prior to commit:
https://reviews.llvm.org/D28280?vs=83019&id=83078#toc
Repository:
rL LLVM
https://reviews.llvm.org/D28280
Files:
openmp/trunk/runtime/CMakeLists.txt
Index: openmp/trunk/runtime/CMakeLists.txt
===================================================================
--- openmp/trunk/runtime/CMakeLists.txt
+++ openmp/trunk/runtime/CMakeLists.txt
@@ -17,7 +17,8 @@
# Standalone build or part of LLVM?
set(LIBOMP_STANDALONE_BUILD FALSE)
-if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}" OR
+if(OPENMP_STANDALONE_BUILD OR
+ "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}" OR
"${CMAKE_SOURCE_DIR}/runtime" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
project(libomp C CXX)
set(LIBOMP_STANDALONE_BUILD TRUE)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28280.83078.patch
Type: text/x-patch
Size: 587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170104/3385092c/attachment.bin>
More information about the Openmp-commits
mailing list