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

Current versions:

stable 4.10.2
head ⚡️ HEAD

Revision: 3

Depends on:

blake3 1.6.0 C implementation of the BLAKE3 cryptographic hash function
fmt 11.1.3 Open-source formatting library for C++
hiredis 1.2.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 3.31.5 Cross-platform make
cpp-httplib 0.19.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
pkgconf 2.3.0 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.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,996
ccache --HEAD 18
Installs on Request (30 days)
ccache 19,888
ccache --HEAD 18
Build Errors (30 days)
ccache 2
ccache --HEAD 1
Installs (90 days)
ccache 57,958
ccache --HEAD 59
Installs on Request (90 days)
ccache 57,617
ccache --HEAD 59
Installs (365 days)
ccache 223,520
ccache --HEAD 303
Installs on Request (365 days)
ccache 221,874
ccache --HEAD 303
Fork me on GitHub