Skip to content

[5.10] cache binary artifact globally#7146

Merged
tomerd merged 1 commit into
swiftlang:release/5.10from
tomerd:5.10/7101
Dec 1, 2023
Merged

[5.10] cache binary artifact globally#7146
tomerd merged 1 commit into
swiftlang:release/5.10from
tomerd:5.10/7101

Conversation

@tomerd

@tomerd tomerd commented Nov 30, 2023

Copy link
Copy Markdown
Contributor

5.10 cherry-pick of #7101

motivation: like other dependencies, binary artifacts are good
candidates for user level caching such that they do not need to be
re-downloaded

changes:
* update BinaryArtifactsManager to take cache path and use the cache to
store binary artifacts when downloading them
* update test infra to enable/disable artifacts caching
* update workspaace call sites
* update workspace delegate to indicate when using cached binary
artifact
* update and add tests

rdar://111774147
@tomerd tomerd added the swift 5.10 This PR targets the 5.10 branch label Nov 30, 2023
@tomerd

tomerd commented Nov 30, 2023

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@tomerd tomerd merged commit 34a2108 into swiftlang:release/5.10 Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

swift 5.10 This PR targets the 5.10 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants