Install command:
brew install ccache

Object-file caching compiler wrapper

License: GPL-3.0-or-later

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

/api/bottle/ccache.json (Bottle JSON API)

Formula code on GitHub

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

Intel big sur
64-bit linux
Apple Silicon big sur

Current versions:

stable 4.4.1
head ⚡️ HEAD

Depends on:

hiredis 1.0.0 Minimalistic client for Redis
zstd 1.5.0 Zstandard is a real-time compression algorithm

Depends on when building from source:

asciidoctor 2.0.16 Text processor and publishing toolchain for AsciiDoc
cmake 3.21.3 Cross-platform make
pkg-config 0.29.2 Manage compile and link flags for libraries
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 17,466
ccache --HEAD 124
Installs on Request (30 days)
ccache 16,468
ccache --HEAD 122
Build Errors (30 days)
ccache --HEAD 16
ccache 5
Installs (90 days)
ccache 54,336
ccache --HEAD 483
Installs on Request (90 days)
ccache 51,434
ccache --HEAD 482
Installs (365 days)
ccache 220,697
ccache --HEAD 1,887
Installs on Request (365 days)
ccache 206,770
ccache --HEAD 1,876
Fork me on GitHub