Skip to content

[5.10] cache binary artifact globally #7146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Nov 30, 2023

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
Copy link
Contributor Author

tomerd commented Nov 30, 2023

@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.

None yet

2 participants