Skip to content

Commit f4b86c9

Browse files
authored
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
1 parent 5a8b1ae commit f4b86c9

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:STRING="-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)