- Home
- Build Cache Software
- cachepot
cachepot
What it is
Cachepot is an open-source compiler caching tool that stores results on local disk or cloud storage to avoid recompilation when possible. It supports Linux, macOS, Windows, and self-hosted environments. The listed compilers include GCC, Clang, MSVC, rustc, NVCC, and Wind River Diab. Distributed compilation can package local toolchains automatically, and documented storage backends include S3, Redis, Memcached, Google Cloud Storage, and Azure Blob Storage. Build integrations include Cargo, CMake, GNU make, Jenkins, GitLab CI, and Concourse CI. The security design for distributed compilation describes authentication, encrypted transport, and sandboxed compiler execution on build servers, with bubblewrap preferred over Docker. The default local cache size is 10 gigabytes and can be changed with CACHEPOT_CACHE_SIZE. There are limits: Rust crates that invoke the system linker and incrementally compiled crates cannot be cached, and cache hits require matching absolute file paths. The repository was archived on February 28, 2023, in favor of upstream sccache. Cachepot is free under the Apache-2.0 license.
For and against
For
- Supports several compilers and build systems.
- Offers local and cloud storage backends.
- Distributed compilation can package local toolchains.
- Free and Apache-2.0 licensed.
Against
- Repository was archived on February 28, 2023.
- Some Rust crates cannot be cached.
- Cache hits require matching absolute paths.
- Server-side hash verification is listed as TODO.
The verdict
Cachepot offers broad compiler and storage support, but the project is archived and has notable caching constraints. Developers considering it should weigh those limits and its supersession by upstream sccache.
Who it suits
Cachepot may suit developers maintaining builds who need compiler caching and can work within its documented constraints. Its archived status is important for anyone considering it for a new project.
Plans and prices
Open-source software
Apache-2.0 licensed; no hosted plans or pricing are stated
Read 2 Oct 2026 · github.com
On the record
- Build integrations
- The README describes using Cachepot with Cargo, CMake, and Jenkins, and the official documentation also has GitLab and Concourse CI pages.github.com · read 2 Oct 2026
- CI security caveat
- The GitLab guide warns that compilation output can leak data from the execution environment and says CI secrets should not be treated as secret from that output.cachepot.cc · read 2 Oct 2026
- Default cache limit
- The README says the default local cache size is 10 gigabytes and can be changed with CACHEPOT_CACHE_SIZE.github.com · read 2 Oct 2026
- Distributed compilation
- Cachepot supports icecream-style distributed compilation with automatic packaging of local toolchains.github.com · read 2 Oct 2026
- Path limitation
- For a cache hit, the README says absolute file paths must match, including paths to third-party Rust crates in Cargo's default registry cache.github.com · read 2 Oct 2026
- Project status
- The repository says Cachepot was archived on February 28, 2023 and superseded in favor of upstream sccache.github.com · read 2 Oct 2026
- Purpose
- Cachepot is a compiler caching tool that avoids recompilation when possible and stores results on local disk or cloud storage.github.com · read 2 Oct 2026
- Rust limitations
- The README says Rust crates that invoke the system linker and incrementally compiled crates cannot be cached.github.com · read 2 Oct 2026
- Sandbox support
- The threat model documents built-in sandbox support using bubblewrap or Docker, with bubblewrap named as the preferred choice.cachepot.cc · read 2 Oct 2026
- Security caveat
- The threat model lists server-side hash verification as a hardening goal and marks it TODO.cachepot.cc · read 2 Oct 2026
- Security design
- The project describes authentication, transport encryption, and sandboxed compiler execution on build servers as security features of distributed compilation.github.com · read 2 Oct 2026
- Storage backends
- The documented storage options include local disk, S3, Redis, Memcached, Google Cloud Storage, and Azure Blob Storage.github.com · read 2 Oct 2026
- Supported compilers
- The README lists gcc, clang, MSVC, rustc, NVCC, and Wind River diab compiler.github.com · read 2 Oct 2026