Skip to content

Commit 3ee5411

Browse files
committed
Build libdispatch with its own module cache (swiftlang#34638)
Some of the bots in CI run multiple jobs, so we need to be sure libdispatch compilations do not attempt to share the module cache. Addresses rdar://68100533 (cherry picked from commit f4b86c9)
1 parent c9436f9 commit 3ee5411

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build-script-impl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2265,6 +2265,7 @@ for host in "${ALL_HOSTS[@]}"; do
22652265
-DCMAKE_CXX_COMPILER:PATH="${LLVM_BIN}/clang++"
22662266
-DCMAKE_SWIFT_COMPILER:PATH="${SWIFTC_BIN}"
22672267
-DCMAKE_Swift_COMPILER:PATH="${SWIFTC_BIN}"
2268+
-DCMAKE_Swift_FLAGS:STRING="-module-cache-path \"${module_cache}\""
22682269
-DCMAKE_INSTALL_PREFIX:PATH="$(get_host_install_prefix ${host})"
22692270
-DCMAKE_INSTALL_LIBDIR:PATH="lib"
22702271

0 commit comments

Comments
 (0)