We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480feee commit 4653a11Copy full SHA for 4653a11
llvm/cmake/modules/GetHostTriple.cmake
@@ -2,7 +2,7 @@
2
# Invokes config.guess
3
4
function( get_host_triple var )
5
- if( MSVC OR (CMAKE_SYSTEM_NAME STREQUAL Windows AND CMAKE_C_COMPILER_ID MATCHES "Clang"))
+ if( MSVC OR (CMAKE_SYSTEM_NAME STREQUAL "Windows" AND CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT MINGW AND NOT MSYS))
6
if( CMAKE_C_COMPILER_ARCHITECTURE_ID MATCHES "ARM64.*" )
7
set( value "aarch64-pc-windows-msvc" )
8
elseif( CMAKE_C_COMPILER_ARCHITECTURE_ID MATCHES "ARM.*" )
0 commit comments