Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

BuildCache

gitlab.com

  • Windows
  • macOS
  • Linux
6.5 Club score Visit gitlab.com

What BuildCache is

BuildCache is a free, open-source tool that stores build results so later builds can reuse them instead of recompiling unchanged work. It runs on Linux, macOS and Windows and supports local caching with both preprocessor-based and preprocessorless lookup. A remote shared server can be added as a second-level cache. Compression options include LZ4 and, optionally, ZSTD. Built-in compiler and analysis support covers GCC, Clang, Microsoft Visual C++, clang-cl, QNX qcc, Green Hills, TI C7000, TI C6000, TI ARM, TI ARP32, scan-build, Cppcheck and rustc; Clang-Tidy appears as a Lua wrapper example. Custom Lua scripts can extend compiler support, and the project says reproducible artifacts such as test results and rendered images can also be cached. Supported build systems include CMake, MSBuild/Visual Studio and Cargo. The README lists the three operating systems and says BSD systems may work but are untested. BuildCache offers a self-hosted option and does not provide remote execution. The project remains under development, so configuration parameters and cache formats may change between 0.x versions.

Who it suits

BuildCache suits developers and teams using its listed build systems and compilers on Linux, macOS or Windows. It is intended for caching rather than distributing builds through remote execution.

Good to know, and what to watch

  • Free and open source
  • Supports local and shared remote caches
  • Works with major listed compilers
  • Lua scripts extend compiler support
  • Supports CMake, MSBuild and Cargo
  • Remote execution is not supported
  • BSD support is untested
  • Configuration and cache formats may change
  • Supported toolchains must match its list

The verdict

BuildCache provides self-hosted build-result caching across the listed desktop operating systems and toolchains. Its development status and untested BSD support are important considerations when planning a stable setup.

What the maker publishes

Built-in compiler support
The README lists built-in support for GCC, Clang, Microsoft Visual C++, clang-cl, QNX qcc, Green Hills and TI compilers, scan-build, Cppcheck, and rustc. source
Cache modes
It supports a fast local filesystem cache with preprocessor-based and preprocessorless lookup. source
Clang-Tidy
Clang-Tidy is listed as a Lua example wrapper. source
Compiler support
Built-in support includes GCC, Clang, Microsoft Visual C++, clang-cl, QNX qcc, Green Hills, several TI compilers, scan-build, Cppcheck, and rustc; Clang-Tidy is shown as a Lua example. source
Compression
It supports LZ4 compression and optionally ZSTD compression. source
Compression
Cache compression uses LZ4 or optionally ZSTD. source
Development status
The project says it is still under development and that configuration parameters and cache formats may change between 0.x versions. source
Development status
The project says it is still under development and configuration parameters and cache formats may change between 0.x versions. source
Downloads
The README says pre-built binaries can be downloaded, but the download destination was not accessible in this research. source
Downloads
The README links to prebuilt binaries on the project’s latest releases page. source
Extensibility
Compiler support can be extended with custom Lua scripts, and the project says it can cache reproducible artifacts such as test results and rendered images. source
Extensibility
Custom Lua scripts can extend compiler support, and BuildCache can cache reproducible artifacts such as test results and rendered images. source
License
The project repository includes a LICENSE file; the opened project page does not state the license terms in its README excerpt. source
License
The project is licensed under the zlib License. source
Local cache
It provides a fast local file system cache with preprocessor-based and preprocessorless cache lookup. source
Operating systems
The README lists Linux, macOS, and Windows as supported operating systems, and says BSD support is probable but untested. source
Production use
The project says BuildCache has been used daily in production environments for years with near zero issues. source
Production use
The project says BuildCache has been used daily in production environments for years with near zero issues. source
Project creation
The GitLab project page says it was created on September 7, 2023. source
Purpose
BuildCache caches and reuses build results to avoid unnecessary recompilations and speed up build processes. source
Purpose
BuildCache caches and reuses build results to avoid unnecessary recompilations and speed up builds. source
Remote cache
It can optionally use a remote shared server as a second-level cache. source
Shared cache
It can optionally use a remote shared server as a second-level cache. source
Supported systems
The README lists Linux, macOS, and Windows, and says most BSD systems may work but are untested. source

Checked against the maker's pages on 8 Oct 2026.