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:

Intel ventura
big sur
64-bit linux
Apple Silicon ventura
big sur

Current versions:

stable 4.8.1
head ⚡️ HEAD

Depends on:

hiredis 1.1.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.26.4 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 17,260
Installs on Request (30 days)
ccache 10,555
Build Errors (30 days)
ccache 0

Analytics (macOS):

Installs (90 days)
ccache 4,948
Installs on Request (90 days)
ccache 4,903
Installs (365 days)
ccache 124,285
ccache --HEAD 435
Installs on Request (365 days)
ccache 117,686
ccache --HEAD 436

Analytics (Linux):

Installs (90 days)
ccache 5
Installs on Request (90 days)
ccache 5
Installs (365 days)
ccache 4,442
Installs on Request (365 days)
ccache 4,350
Fork me on GitHub