<div dir="ltr">Now that the commit of...<div><br></div><div><div>------------------------------------------------------------------------</div><div>r236534 | achurbanov | 2015-05-05 16:02:52 -0400 (Tue, 05 May 2015) | 13 lines</div><div><br></div><div>Integrate libiomp CMake into LLVM CMake build system.</div><div><br></div><div>This patch integrates the libiomp CMake build system into the LLVM CMake build </div><div>system so that users can checkout libiomp into the projects directory of llvm </div><div>and build llvm,clang, and libiomp all together.  These changes specifically </div><div>introduce a new install target which will put libraries and headers into the </div><div>correct locations when either a standalone build or part of llvm.</div><div>The copy_recipe() method has been removed in favor of the POST_BUILD method </div><div>to move headers into the exports subdirectory.  And lastly, the MicroTests.cmake </div><div>file was refactored which led to simpler target dependencies and a new target, </div><div>make libiomp-micro-tests, which performs the 5 small tests (test-relo, </div><div>test-touch, etc.) when called.</div><div><br></div></div><div>..is done,.can we get a commit similar to that proposed in...</div><div><br></div><div><a href="http://lists.cs.uiuc.edu/pipermail/openmp-dev/2015-April/000502.html">http://lists.cs.uiuc.edu/pipermail/openmp-dev/2015-April/000502.html</a><br></div><div><br></div><div><div>--- llvm-3.7.0.src/projects/CMakeLists.txt.orig 2015-04-26 19:10:12.000000000 -0400</div><div>+++ llvm-3.7.0.src/projects/CMakeLists.txt      2015-04-28 21:14:59.000000000 -0400</div><div>@@ -6,6 +6,7 @@</div><div>   if(IS_DIRECTORY ${entry} AND EXISTS ${entry}/CMakeLists.txt)</div><div>     if((NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt) AND</div><div>        (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/dragonegg) AND</div><div>+       (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/openmp) AND</div><div>        (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxx) AND</div><div>        (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libcxxabi) AND</div><div>        (NOT ${entry} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}/libunwind))</div><div>@@ -26,6 +27,9 @@</div><div>     add_llvm_external_project(libcxx)</div><div>     add_llvm_external_project(libunwind)</div><div>   endif()</div><div>+  if(NOT MSVC)</div><div>+    add_llvm_external_project(openmp)</div><div>+  endif()</div><div>   if(NOT LLVM_BUILD_EXTERNAL_COMPILER_RT)</div><div>     add_llvm_external_project(compiler-rt)</div><div>   endif()</div></div><div><br></div><div>checked into llvm trunk to complete the integration of the openmp build into the llvm cmake build? The proposed patch from that message works fine with current openmp and llvm svn.</div><div>          Jack</div></div>