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:

Apple Silicon sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 4.10.2
head ⚡️ HEAD

Depends on:

blake3 1.5.3 C implementation of the BLAKE3 cryptographic hash function
fmt 10.2.1 Open-source formatting library for C++
hiredis 1.2.0 Minimalistic client for Redis
xxhash 0.8.2 Extremely fast non-cryptographic hash algorithm
zstd 1.5.6 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 3.30.1 Cross-platform make
cpp-httplib 0.16.0 C++ header-only HTTP/HTTPS server and client library
doctest 2.4.11 Feature-rich C++11/14/17/20 single-header testing framework
pkg-config 0.29.2 Manage compile and link flags for libraries
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.1.0 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 17,781
ccache --HEAD 34
Installs on Request (30 days)
ccache 17,579
ccache --HEAD 34
Build Errors (30 days)
ccache 4
Installs (90 days)
ccache 50,799
ccache --HEAD 103
Installs on Request (90 days)
ccache 50,198
ccache --HEAD 103
Installs (365 days)
ccache 152,402
ccache --HEAD 307
Installs on Request (365 days)
ccache 150,581
ccache --HEAD 307
Fork me on GitHub