ccache

Install command:
brew install ccache

Object-file caching compiler wrapper

https://ccache.dev/

License: GPL-3.0-or-later

Formula JSON API: /api/formula/ccache.json

Formula code: ccache.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 4.12
head ⚡️ HEAD

Depends on:

blake3 1.8.2 C implementation of the BLAKE3 cryptographic hash function
fmt 11.2.0 Open-source formatting library for C++
hiredis 1.3.0 Minimalistic client for Redis
xxhash 0.8.3 Extremely fast non-cryptographic hash algorithm
zstd 1.5.7 Zstandard is a real-time compression algorithm

Depends on when building from source:

asciidoctor 2.0.23 Text processor and publishing toolchain for AsciiDoc
cmake 4.1.1 Cross-platform make
cpp-httplib 0.26.0 C++ header-only HTTP/HTTPS server and client library
doctest 2.4.12 Feature-rich C++11/14/17/20/23 single-header testing framework
pkgconf 2.5.1 Package compiler and linker metadata toolkit
span-lite 0.11.0 C++20-like span for C++98, C++11 and later in a single-file header-only library
tl-expected 1.3.1 C++11/14/17 std::expected with functional-style extensions
To install symlinks for compilers that will automatically use
ccache, prepend this directory to your PATH:
    $HOMEBREW_PREFIX/opt/ccache/libexec

If this is an upgrade and you have previously added the symlinks to
your PATH, you may need to modify it to the path specified above so
it points to the current version.

NOTE: ccache can prevent some software from compiling.
ALSO NOTE: The brew command, by design, will never use ccache.

Analytics:

Installs (30 days)
ccache 27,267
ccache --HEAD 59
Installs on Request (30 days)
ccache 27,148
ccache --HEAD 59
Build Errors (30 days)
ccache 4
Installs (90 days)
ccache 75,118
ccache --HEAD 134
Installs on Request (90 days)
ccache 74,805
ccache --HEAD 134
Installs (365 days)
ccache 299,315
ccache --HEAD 483
Installs on Request (365 days)
ccache 297,585
ccache --HEAD 483