Skip to content

Commit f6605a6

Browse files
committed
Delete version check for clang-cl
We have a 19.0 version but it's checking for 19.0.2xxx, so presumably it's just a bug in the compiler check and we should be running alright. For now just assume that, delete this, and see if this is fixed by the next LLVM release.
1 parent d77d0f8 commit f6605a6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/cmake/modules/CheckCompilerVersion.cmake

-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ check_compiler_version("MSVC" "Visual Studio" ${MSVC_MIN} ${MSVC_SOFT_ERROR})
4949

5050
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
5151
if (CMAKE_CXX_SIMULATE_ID MATCHES "MSVC")
52-
if (CMAKE_CXX_SIMULATE_VERSION VERSION_LESS MSVC_MIN)
53-
message(FATAL_ERROR "Host Clang must have at least -fms-compatibility-version=${MSVC_MIN}, your version is ${CMAKE_CXX_SIMULATE_VERSION}.")
54-
endif()
5552
set(CLANG_CL 1)
5653
elseif(NOT LLVM_ENABLE_LIBCXX)
5754
# Test that we aren't using too old of a version of libstdc++.

0 commit comments

Comments
 (0)