brew install ccache
Object-file caching compiler wrapper
License: GPL-3.0-or-later
/api/formula/ccache.json
(JSON API)
Formula code on GitHub
Bottle (binary package) installation support provided for macOS releases:
Intel | big sur | ✅ |
---|---|---|
catalina | ✅ | |
mojave | ✅ | |
Apple Silicon | big sur | ✅ |
Current versions:
stable | ✅ | 4.2 |
head | ⚡️ | HEAD |
Depends on:
zstd | 1.4.8 | Zstandard is a real-time compression algorithm |
Depends on when building from source:
cmake | 3.19.6 | Cross-platform make |
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:
Installs (30 days) | |
---|---|
ccache |
21,168 |
ccache --HEAD |
154 |
Installs on Request (30 days) | |
ccache |
19,864 |
ccache --HEAD |
153 |
Build Errors (30 days) | |
ccache --HEAD |
7 |
ccache |
5 |
Installs (90 days) | |
ccache |
49,255 |
ccache --HEAD |
456 |
Installs on Request (90 days) | |
ccache |
46,174 |
ccache --HEAD |
456 |
Installs (365 days) | |
ccache |
173,998 |
ccache --HEAD |
2,646 |
Installs on Request (365 days) | |
ccache |
156,880 |
ccache --HEAD |
2,579 |