Skip to content

Commit 543f0a5

Browse files
committed
Do not use stat cache in compatibility suite
This will prevent build issues like ``` error: missing required module 'SwiftShims ``` when the `clang-stat-cache` present in the Xcode installed in CI comes from an LLVM older than the one used to build Swift (and in turn used by the ClangImporter). Addresses rdar://144053750
1 parent 200e857 commit 543f0a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

project.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def get_build_command(self, incremental=False):
160160
"MACOSX_DEPLOYMENT_TARGET=10.13",
161161
"WATCHOS_DEPLOYMENT_TARGET=4.0",
162162
"TVOS_DEPLOYMENT_TARGET=16.0",
163+
"SDK_STAT_CACHE_ENABLE=NO",
163164
])
164165
command += self._added_xcodebuild_flags
165166

@@ -222,6 +223,7 @@ def get_prebuild_command(self, incremental=False):
222223
"MACOSX_DEPLOYMENT_TARGET=10.13",
223224
"WATCHOS_DEPLOYMENT_TARGET=4.0",
224225
"TVOS_DEPLOYMENT_TARGET=16.0",
226+
"SDK_STAT_CACHE_ENABLE=NO",
225227
])
226228
command += self._added_xcodebuild_flags
227229

0 commit comments

Comments
 (0)