Skip to content

Commit a192e67

Browse files
committed
build: force rebuild of libdispatch always
This pays a small penalty in build times by invoking an extra call to ninja. However, unless there is a change in libdispatch, no actions will be taken other than ensuring that it is up-to-date. Should ensure that the buildbots switching between builds DTRT.
1 parent 96fe8ef commit a192e67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/SourceKit/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
105105
${SWIFT_PATH_TO_LIBDISPATCH_BUILD}/src/${CMAKE_SHARED_LIBRARY_PREFIX}dispatch${CMAKE_SHARED_LIBRARY_SUFFIX}
106106
${SWIFT_PATH_TO_LIBDISPATCH_BUILD}/${CMAKE_STATIC_LIBRARY_PREFIX}BlocksRuntime${CMAKE_STATIC_LIBRARY_SUFFIX}
107107
STEP_TARGETS
108-
configure)
108+
configure
109+
BUILD_ALWAYS
110+
1)
109111

110112
# CMake does not like the addition of INTERFACE_INCLUDE_DIRECTORIES without
111113
# the directory existing. Just create the location which will be populated

0 commit comments

Comments
 (0)