Skip to content

Investigate sccache for Travis/AppVeyor builds #38119

Closed
@alexcrichton

Description

@alexcrichton

sccache is being used to great success in Firefox, and is essentially (as I understand) a ccache that stores the cache in S3. Our travis builds rely on ccache for speedy LLVM builds, but they're all building the same thing all the time and the cache is massively duplicated and taking up tons of space. Additionally, we can unify our "LLVM caching strategies" by using ssccache on Windows where we're doing a different caching strategy with AppVeyor.

The benefits of such a transition I see are:

  • Unifying Travis/AppVeyor LLVM caching
  • Perhaps being speedier as a too-large cache wouldn't be downloaded on Travis builds (I'm not sure we ever clean this out...)
  • Maybe being useful for contributors, as everyone's basically compiling the same LLVM code, so we could speed up everyone else's builds
  • More Rust!

cc @luser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions