ccache

Install command:
brew install ccache

Object-file caching compiler wrapper

https://ccache.dev/

License: GPL-3.0-or-later

Formula JSON API: /api/formula/ccache.json

Bottle JSON API: /api/bottle/ccache.json

Formula code: ccache.rb on GitHub

Bottle (binary package) installation support provided for:

Intel monterey
big sur
catalina
64-bit linux
Apple Silicon monterey
big sur

Current versions:

stable 4.5.1
head ⚡️ HEAD

Depends on:

hiredis 1.0.2 Minimalistic client for Redis
zstd 1.5.2 Zstandard is a real-time compression algorithm

Depends on when building from source:

asciidoctor 2.0.17 Text processor and publishing toolchain for AsciiDoc
cmake 3.22.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:
    $(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.

Analytics (macOS):

Installs (30 days)
ccache 10,753
ccache --HEAD 92
Installs on Request (30 days)
ccache 10,140
ccache --HEAD 92
Build Errors (30 days)
ccache --HEAD 12
ccache 3
Installs (90 days)
ccache 39,635
ccache --HEAD 363
Installs on Request (90 days)
ccache 37,246
ccache --HEAD 362
Installs (365 days)
ccache 217,998
ccache --HEAD 1,663
Installs on Request (365 days)
ccache 206,390
ccache --HEAD 1,661

Analytics (Linux):

Installs (30 days)
ccache 77
Installs on Request (30 days)
ccache 71
Build Errors (30 days)
ccache 0
Installs (90 days)
ccache 329
Installs on Request (90 days)
ccache 296
Installs (365 days)
ccache 2,831
Installs on Request (365 days)
ccache 2,682
Fork me on GitHub