Skip to content

Commit 4dd76f7

Browse files
authored
Merge pull request #2169 from aciidb0mb3r/moar-env
Add SWIFTPM_MODULECACHE_OVERRIDE for Swift CI
2 parents c869bf4 + fba7a31 commit 4dd76f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PackageLoading/ManifestLoader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ public final class ManifestLoader: ManifestLoaderProtocol {
386386

387387
// FIXME: Workaround for the module cache bug that's been haunting Swift CI
388388
// <rdar://problem/48443680>
389-
let moduleCachePath = Process.env["SWIFTPM_TESTS_MODULECACHE"]
389+
let moduleCachePath = Process.env["SWIFTPM_MODULECACHE_OVERRIDE"] ?? Process.env["SWIFTPM_TESTS_MODULECACHE"]
390390

391391
var cmd = [String]()
392392
#if os(macOS)

0 commit comments

Comments
 (0)