← Package directory
Available on winget

Install 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, i...

Install with winget
winget install --id Mozilla.sccache
Upgrade
winget upgrade --id Mozilla.sccache
Uninstall
winget uninstall --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.16.0

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 just a select few (#2705). - Remote execution on aarch64: Distributed/remote execution now works on Linux aarch64, including fixes for ldd output parsing and toolchain packaging on non-x86_64 Linux (#2668). - CUDA: nvcc's --dependency-output argument is now handled (#2708). - Resilience: Fall back to a direct cache write when tempfile creation on the same filesystem fails (#2369), and give a meaningful error when a multi-level chain references a backend that wasn't compiled in (#2695). - Client efficiency: The client and dist-client now use a single-threaded tokio runtime, avoiding a thread explosion when many short-lived clients run on many-core hosts (#2704). - Correctness: Strip SCCACHE_BASEDIRS from escaped-backslash paths on Windows (#2736), ignore empty-set environment values in config (#2639), and avoid the sccache wrapper when resolving the real compiler (#2720). - Security/logging: JWT keys and cert digests are now base64-encoded in logs (#2712), plus general logging improvements (#2734). Welcome to 4 new contributors! Features - feat: all backends support making them as read-only by @AJIOB in #2705 - Enable RE on Linux-aarch64 by @malfet in #2668 - feat(nvcc): support argument: --dependency-output by @ZRHann in #2708 - feat: avoid sccache wrapper when resolving compiler by @iTrooz in #2720 - Fall back to direct cache write if tempfile creation on t...

Read release notes

Version history

Version Updated Notes
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