[llvm] [CMake] Handle clang in MSVC mode in GetHostTriple (PR #116701)
Daniel Kiss via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 29 01:30:51 PST 2024
================
@@ -2,7 +2,7 @@
# Invokes config.guess
function( get_host_triple var )
- if( MSVC )
+ if( MSVC OR (CMAKE_SYSTEM_NAME STREQUAL "Windows" AND CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT MINGW AND NOT MSYS))
----------------
DanielKristofKiss wrote:
I'll take care of that later, just first want to be sure all changes there to run all test, build everything fine. Not sure how much other changes needed... looking at it.
https://github.com/llvm/llvm-project/pull/116701
More information about the llvm-commits
mailing list