mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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>>
|
||||
|
||||
Reference in New Issue
Block a user