[Openmp-commits] [PATCH] D53479: [Cmake] Allowed OpenMP testing detect test compiler with same generator

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 15 11:12:29 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rOMP351223: [OpenMP][Cmake] Allowed OpenMP testing detect test compiler with same generator (authored by jlpeyton, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D53479?vs=170335&id=181828#toc

Repository:
  rOMP OpenMP

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D53479/new/

https://reviews.llvm.org/D53479

Files:
  cmake/OpenMPTesting.cmake


Index: cmake/OpenMPTesting.cmake
===================================================================
--- cmake/OpenMPTesting.cmake
+++ cmake/OpenMPTesting.cmake
@@ -99,7 +99,7 @@
   # project is built which is too late for detecting the compiler...
   file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/DetectTestCompiler)
   execute_process(
-    COMMAND ${CMAKE_COMMAND} ${CMAKE_CURRENT_LIST_DIR}/DetectTestCompiler
+    COMMAND ${CMAKE_COMMAND} -G${CMAKE_GENERATOR} ${CMAKE_CURRENT_LIST_DIR}/DetectTestCompiler
       -DCMAKE_C_COMPILER=${OPENMP_TEST_C_COMPILER}
       -DCMAKE_CXX_COMPILER=${OPENMP_TEST_CXX_COMPILER}
     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/DetectTestCompiler


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53479.181828.patch
Type: text/x-patch
Size: 689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190115/d588eb78/attachment.bin>


More information about the Openmp-commits mailing list