Install command:
brew install ccache

Object-file caching compiler wrapper

License: GPL-3.0-or-later

/api/formula/ccache.json (JSON API)

Formula code on GitHub

Current versions:

stable 4.1
head ⚡️ HEAD
bottle 🍾 big_sur, catalina, mojave

Depends on:

zstd 1.4.5 Zstandard is a real-time compression algorithm

Depends on when building from source:

cmake 3.19.1 Cross-platform make
To install symlinks for compilers that will automatically use
ccache, prepend this directory to your PATH:
    $(brew --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.


Installs (30 days)
ccache 18,623
ccache --HEAD 172
Installs on Request (30 days)
ccache 16,852
ccache --HEAD 171
Build Errors (30 days)
ccache 57
ccache --HEAD 30
Installs (90 days)
ccache 50,784
ccache --HEAD 629
Installs on Request (90 days)
ccache 46,077
ccache --HEAD 611
Installs (365 days)
ccache 151,258
ccache --HEAD 2,753
Installs on Request (365 days)
ccache 133,745
ccache --HEAD 2,674
Fork me on GitHub