[CMake] StringProcessing: Disable CMake compiler check (#80364)

The CMake compiler checks depend on StringProcessing being implemented.
The old build system may not have rebuilt the module, which will cause
the compiler check to fail. Disable the CMake compiler verification.
This commit is contained in:
Evan Wilde
2025-03-28 08:05:56 -07:00
committed by GitHub
parent 63c24afde6
commit d36b06747a

View File

@@ -1662,6 +1662,7 @@ if(SWIFT_ENABLE_NEW_RUNTIME_BUILD)
INSTALL_COMMAND "" # No install story set up yet
CMAKE_ARGS
-DBUILD_SHARED_LIBS=YES
-DCMAKE_Swift_COMPILER_WORKS:BOOLEAN=YES
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
-DCMAKE_INSTALL_PREFIX:FILEPATH=${INSTALL_DIR}
-DCMAKE_Swift_COMPILER:FILEPATH=$<IF:$<BOOL:${CMAKE_CROSSCOMPILING}>,${CMAKE_Swift_COMPILER},$<PATH:REPLACE_FILENAME,$<TARGET_FILE:swift-frontend>,swiftc>>