Skip to content
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

[SR-12851] System-wide cache of SwiftPM dependencies #4544

Closed
swift-ci opened this issue May 21, 2020 · 3 comments
Closed

[SR-12851] System-wide cache of SwiftPM dependencies #4544

swift-ci opened this issue May 21, 2020 · 3 comments

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-12851
Radar rdar://problem/63493271
Original Reporter oc243 (JIRA User)
Type New Feature
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 1
Component/s Package Manager
Labels New Feature
Assignee TG908 (JIRA)
Priority Medium

md5: a7712d7734def69360d326bd6ffc2f17

Issue Description:

It would be lovely if there were a system-wide cache of SwiftPM dependencies. Currently if you have multiple projects that share a common dependency then building each of them requires a git clone from the upstream repo. If they were cached locally, shared dependencies (eg swift-nio) could be built much quicker.

It would be particularly nice if this system-wide cache could cache build output, but even just a collection of bare git clones would help a lot.

@swift-ci
Copy link
Contributor Author

Comment by Oliver Chick (JIRA)

@swift-ci create

@swift-ci
Copy link
Contributor Author

Comment by Tim Gymnich (JIRA)

#2835

@abertelrud
Copy link
Contributor

Thanks a lot for this PR![]( I think this would be very useful indeed, though I would keep the cache of build artifacts separate from the repository cache. More comments in the PR on the implementation, but this is a great idea)

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants