[compiler-rt] [Darwin][CompilerRT] Set compiler ID to 'Clang' for Compiler RT Tests for Apple Clang (PR #121858)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 16:49:12 PST 2025


================
@@ -79,7 +79,12 @@ endif()
 
 get_filename_component(_test_compiler_name "${COMPILER_RT_TEST_COMPILER}" NAME)
 if("${COMPILER_RT_TEST_COMPILER}" STREQUAL "${CMAKE_C_COMPILER}")
-  set(COMPILER_RT_TEST_COMPILER_ID "${CMAKE_C_COMPILER_ID}")
+  if ("${CMAKE_C_COMPILER}" STREQUAL "AppleClang")
----------------
arichardson wrote:

This seems wrong, shouldn't it be "CMAKE_C_COMPILER_ID"?

https://github.com/llvm/llvm-project/pull/121858


More information about the llvm-commits mailing list