File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1626,6 +1626,8 @@ if(SWIFT_ENABLE_NEW_RUNTIME_BUILD)
16261626 # INSTALL_DIR "${CMAKE_BINARY_DIR}/"
16271627
16281628 DEPENDS PopulateRuntimeSourceDir
1629+ # To ensure incremental builds work as expected
1630+ BUILD_ALWAYS 1
16291631 CMAKE_ARGS
16301632 -DCMAKE_INSTALL_LIBDIR:FILEPATH =lib
16311633 # Compiler will see mismatched swift modules and fail initial checks
@@ -1657,6 +1659,8 @@ if(SWIFT_ENABLE_NEW_RUNTIME_BUILD)
16571659 INSTALL_DIR "${INSTALL_DIR} "
16581660 INSTALL_COMMAND ""
16591661 LIST_SEPARATOR "|"
1662+ # To ensure incremental builds work as expected
1663+ BUILD_ALWAYS 1
16601664 CMAKE_ARGS
16611665 -DSwift_ENABLE_RUNTIMES=StringProcessing
16621666 -DBUILD_SHARED_LIBS=YES
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ if(SwiftRuntime_ENABLE_stringprocessing)
5151 SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR} /StringProcessing"
5252 INSTALL_DIR "${CMAKE_INSTALL_PREFIX} "
5353 INSTALL_COMMAND ""
54+ # To ensure incremental builds work as expected
55+ BUILD_ALWAYS 1
5456 CMAKE_ARGS
5557 ${COMMON_OPTIONS} )
5658endif ()
@@ -62,6 +64,8 @@ if(SwiftRuntime_ENABLE_synchronization)
6264 SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR} /Synchronization"
6365 INSTALL_DIR "${CMAKE_INSTALL_PREFIX} "
6466 INSTALL_COMMAND ""
67+ # To ensure incremental builds work as expected
68+ BUILD_ALWAYS 1
6569 CMAKE_ARGS
6670 ${COMMON_OPTIONS} )
6771endif ()
You can’t perform that action at this time.
0 commit comments