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.2
head ⚡️ HEAD

Depends on:

blake3 1.8.3 C implementation of the BLAKE3 cryptographic hash function
fmt 12.1.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.26 Text processor and publishing toolchain for AsciiDoc
cmake 4.2.1 Cross-platform make
cpp-httplib 0.30.1 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 17,749
ccache --HEAD 63
Installs on Request (30 days)
ccache 17,662
ccache --HEAD 63
Build Errors (30 days)
ccache 22
ccache --HEAD 4
Installs (90 days)
ccache 70,087
ccache --HEAD 159
Installs on Request (90 days)
ccache 69,609
ccache --HEAD 159
Installs (365 days)
ccache 317,336
ccache --HEAD 629
Installs on Request (365 days)
ccache 315,258
ccache --HEAD 629