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

Current versions:

stable 4.8.3
head ⚡️ HEAD

Depends on:

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

Depends on when building from source:

asciidoctor 2.0.20 Text processor and publishing toolchain for AsciiDoc
cmake 3.27.6 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 8,399
Installs on Request (30 days)
ccache 8,239
Build Errors (30 days)
ccache 3
Installs (90 days)
ccache 25,130
Installs on Request (90 days)
ccache 24,739
Installs (365 days)
ccache 72,567
Installs on Request (365 days)
ccache 71,414
Fork me on GitHub