sccache Shared Compilation Cache
github.com
2
Leaving SiteNav
External Link Disclaimer
You are about to visit github.com. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
sccache (Shared Compilation Cache) is a free and open-source compiler caching tool developed by Mozilla that wraps compiler invocations and caches results to avoid redundant compilation. Created by Ted Mielczarek at Mozilla around 2016 to accelerate Firefox compilation (over 10 million lines of C++), sccache is similar to ccache but supports distributed caching and Rust compilation. Key features: compiler support: caches C, C++ (GCC, Clang, MSVC), Rust (rustc), CUDA, and NVCC. sccache wraps the compiler (sccache gcc -c foo.c), stores output keyed by a hash of compiler version, flags, source content, and environment. Subsequent identical compilations return cached output without recompiling. Local caching: default filesystem backend with configurable size (default 10 GB, LRU eviction). Distributed caching: supports Amazon S3, Google Cloud Storage, Redis, Memcached, and Azure Blob Storage for shared caches across teams and CI/CD. Server architecture: runs as a background daemon managing the cache, started automatically on first use. Statistics: sccache --show-stats reports cache hit rate, compile times, and per-language breakdown. Cross-platform: Linux, macOS, Windows. Rust. Apache-2.0.
Statistics
2
Views
0
Clicks
0
Like
0
Dislike