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 sequoia
sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 4.10.2
head ⚡️ HEAD

Revision: 1

Depends on:

blake3 1.5.4 C implementation of the BLAKE3 cryptographic hash function
fmt 11.0.2 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.5 Cross-platform make
cpp-httplib 0.18.0 C++ header-only HTTP/HTTPS server and client library
doctest 2.4.11 Feature-rich C++11/14/17/20/23 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 19,206
ccache --HEAD 24
Installs on Request (30 days)
ccache 19,091
ccache --HEAD 24
Build Errors (30 days)
ccache --HEAD 1
ccache 1
Installs (90 days)
ccache 57,886
ccache --HEAD 86
Installs on Request (90 days)
ccache 57,411
ccache --HEAD 86
Installs (365 days)
ccache 179,510
ccache --HEAD 325
Installs on Request (365 days)
ccache 177,688
ccache --HEAD 325
Fork me on GitHub