Skip to content

Commit fba7a31

Browse files
committed
Add SWIFTPM_MODULECACHE_OVERRIDE for Swift CI
<rdar://problem/51725297>
1 parent c869bf4 commit fba7a31

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)