Install command:
brew install ccache

Object-file caching compiler wrapper

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

Current versions:

stable 4.9.1
head ⚡️ HEAD

Depends on:

hiredis 1.2.0 Minimalistic client for Redis
zstd 1.5.6 Zstandard is a real-time compression algorithm

Depends on when building from source:

asciidoctor 2.0.22 Text processor and publishing toolchain for AsciiDoc
cmake 3.29.2 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:

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 13,513
ccache --HEAD 19
Installs on Request (30 days)
ccache 13,415
ccache --HEAD 19
Build Errors (30 days)
ccache 5
Installs (90 days)
ccache 46,292
ccache --HEAD 81
Installs on Request (90 days)
ccache 45,872
ccache --HEAD 81
Installs (365 days)
ccache 142,560
ccache --HEAD 279
Installs on Request (365 days)
ccache 140,665
ccache --HEAD 279
Fork me on GitHub