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

Make sccache2 usable for local developers #4

Closed
1 of 4 tasks
luser opened this issue May 12, 2016 · 5 comments
Closed
1 of 4 tasks

Make sccache2 usable for local developers #4

luser opened this issue May 12, 2016 · 5 comments

Comments

@luser
Copy link
Contributor

luser commented May 12, 2016

@posix4e
Copy link
Contributor

posix4e commented Nov 26, 2016

I'm confused about what needs to be done here

@rillian
Copy link
Contributor

rillian commented Nov 26, 2016

I believe the scope has slipped a bit. I think the expedient things to do would be:

  1. cargo publish so cargo install sccache is available.
  2. Implement eviction and a settable diskspace limit.
  3. Publish and iterate on that.

I understand from Ted the S3 points are blocked on implementing the general fallback-to-another-cache feature. That should also get implemented, but doesn't stop this being usable locally in the meantime. Particularly valuable is that sccache supports the Visual Studio compiler, which traditional ccache does not.

@luser
Copy link
Contributor Author

luser commented Nov 28, 2016

I should have filed these as separate issues, but yeah, that's about it. I'm actively working on making the local disk cache support a size limit, and publishing to crates.io is easy. I recently fixed part of the "sensible defaults" thing, in that I made it default to a sensible location for a local disk cache (~/.cache/sccache on Linux, similar on other platforms). Once I make the local disk cache bounded in size I'll publish a release to crates.io.

@bridiver
Copy link

Fetch from S3, store on local disk - I was about to file an issue to have the local cache always be active even if you're also using S3 or similar. Is that what you had in mind?

huydhn referenced this issue in huydhn/sccache Oct 25, 2022
@sylvestre
Copy link
Collaborator

it is now much better :)

@sylvestre sylvestre closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants