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 7060aef commit def22dcCopy full SHA for def22dc
unittests/runtime/CMakeLists.txt
@@ -2,10 +2,7 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
2
("${SWIFT_HOST_VARIANT_ARCH}" STREQUAL "${SWIFT_PRIMARY_VARIANT_ARCH}"))
3
4
if("${CMAKE_C_COMPILER_ID}" MATCHES "Clang")
5
- if(NOT SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER)
6
- set(CMAKE_CXX_COMPILER "${SWIFT_NATIVE_CLANG_TOOLS_PATH}/clang++")
7
- set(CMAKE_C_COMPILER "${SWIFT_NATIVE_CLANG_TOOLS_PATH}/clang")
8
- endif()
+ # Do nothing
9
elseif(SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER)
10
if(NOT "${CMAKE_C_COMPILER_ID}" MATCHES "Clang")
11
message(FATAL_ERROR "Building the swift runtime is not supported with ${CMAKE_C_COMPILER_ID}. Use the just-built clang instead.")
0 commit comments