Skip to content

Make sccache2 usable for local developers #4

Closed as not planned
Closed as not planned

Activity

  1. posix4e commented on Nov 26, 2016

    @posix4e
    Contributor

    I'm confused about what needs to be done here

  2. rillian commented on Nov 26, 2016

    @rillian
    Contributor

    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.

  3. luser commented on Nov 28, 2016

    @luser
    ContributorAuthor

    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.

  4. bridiver commented on May 18, 2018

    @bridiver

    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?

  5. added a commit that references this issue on Oct 25, 2022
  6. sylvestre commented on Feb 19, 2024

    @sylvestre
    Collaborator

    it is now much better :)

  7. added a commit that references this issue on Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions