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

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
Apple Silicon big sur

Current versions:

stable 4.2.1
head ⚡️ HEAD

Depends on:

zstd 1.4.9 Zstandard is a real-time compression algorithm

Depends on when building from source:

cmake 3.20.2 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 19,891
ccache --HEAD 131
Installs on Request (30 days)
ccache 18,917
ccache --HEAD 131
Build Errors (30 days)
ccache --HEAD 5
ccache 4
Installs (90 days)
ccache 59,735
ccache --HEAD 404
Installs on Request (90 days)
ccache 56,269
ccache --HEAD 403
Installs (365 days)
ccache 190,632
ccache --HEAD 2,299
Installs on Request (365 days)
ccache 174,588
ccache --HEAD 2,242
Fork me on GitHub