[PATCH] D63834: [cmake] Allow config.guess to be run with MSYS on Windows
Pengxuan Zheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 26 15:07:57 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL364485: [cmake] Allow config.guess to be run with MSYS on Windows (authored by pzheng, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D63834?vs=206718&id=206754#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63834/new/
https://reviews.llvm.org/D63834
Files:
llvm/trunk/cmake/modules/GetHostTriple.cmake
Index: llvm/trunk/cmake/modules/GetHostTriple.cmake
===================================================================
--- llvm/trunk/cmake/modules/GetHostTriple.cmake
+++ llvm/trunk/cmake/modules/GetHostTriple.cmake
@@ -15,7 +15,7 @@
set( value "i686-pc-windows-gnu" )
endif()
else( MSVC )
- if(CMAKE_HOST_SYSTEM_NAME STREQUAL Windows)
+ if(CMAKE_HOST_SYSTEM_NAME STREQUAL Windows AND NOT MSYS)
message(WARNING "unable to determine host target triple")
else()
set(config_guess ${LLVM_MAIN_SRC_DIR}/cmake/config.guess)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63834.206754.patch
Type: text/x-patch
Size: 560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/fd864d86/attachment.bin>
More information about the llvm-commits
mailing list