Skip to content

Commit 51bebba

Browse files
committed
Build libdispatch with its own module cache
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
1 parent 80c4c90 commit 51bebba

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
@@ -2319,6 +2319,7 @@ for host in "${ALL_HOSTS[@]}"; do
23192319
-DCMAKE_CXX_COMPILER:PATH="${CLANG_BIN}/clang++"
23202320
-DCMAKE_SWIFT_COMPILER:PATH="${SWIFTC_BIN}"
23212321
-DCMAKE_Swift_COMPILER:PATH="${SWIFTC_BIN}"
2322+
-DCMAKE_Swift_FLAGS:PATH="-module-cache-path \"${module_cache}\""
23222323
-DCMAKE_INSTALL_PREFIX:PATH="$(get_host_install_prefix ${host})"
23232324
-DCMAKE_INSTALL_LIBDIR:PATH="lib"
23242325

0 commit comments

Comments
 (0)