winget install --id Mozilla.sccache
About sccache
Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
What's new in 0.17.0
sccache 0.17.0 Summary sccache 0.17.0 is a significant release: it introduces a new client-side architecture. Until now, every compilation was handed off to the long-lived sccache server, which did the cache lookup and ran the compiler. In client-side mode, the client process does that work itself - the server is only consulted for the shared state it owns (compiler info, dist client, stats). This removes a round-trip and the server-side bottleneck, and gives noticeably better results on developer workstations. Client-side mode is opt-in for now: enable it with the SCCACHE_CLIENT_SIDE environment variable (or the client_side_mode config key). See docs/Architecture.md for the details. Other highlights: - Response files: gcc/clang builds using quoted @response files are now cached and distributed correctly (#2755, #2772), and Rust @argfile arguments are supported (#2782). - Distributed compilation: compile tasks and their subprocesses are now aborted when a client disconnects, instead of running to completion on the build server (#2761, #2774). The ToolchainPackager cfg gate was fixed so the dist code builds on ppc64le and s390x (#2749). - S3 SSE-KMS: server-side encryption with KMS keys is now supported (#2770). - Diagnostics: gcc color diagnostics now behave the same way as rustc's (#2758). - Preprocessor correctness: -ivfsoverlay is treated as a preprocessor-only argument (#2767). Welcome to 4 new contributors! Client-side mode - Initial client-side implementation by @glandium in #2735 - doc: document client-side and direct modes in Architecture.md by @sylvestre in #2752 F...
Version history
| Version | Updated | Notes |
|---|---|---|
| 0.17.0 | Unknown | sccache 0.17.0 Summary sccache 0.17.0 is a significant release: it introduces a new client-side architecture. Until now, every compilation was handed off to the long-lived sccache server, which did the cache lookup and r... |
| 0.16.0 | Unknown | sccache 0.16.0 Summary sccache 0.16.0 is a smaller, stabilizing release on top of 0.15.0's multi-tier caching work, with a few new capabilities: - Read-only backends: Any storage backend can now be marked read-only, not... |
| 0.15.0 | Unknown | sccache 0.15.0 Summary sccache 0.15.0 brings several notable improvements: - Multi-tier caching: New support for layered caches with fallback and automatic backfilling between tiers (#2581). - C++20 modules: Initial (par... |
| 0.14.0 | Unknown | Key improvements: - New cloud storage: Added Tencent Cloud Object Storage support - New feature: SCCACHE_BASEDIRS environment variable for configuring multiple base directories - GCC/Clang: Distributed compilation now su... |
| 0.10.0 | Unknown | No notes |