ccache

Caches compiler output to speed up rebuilds of identical code

brewmacoslinux
Try with needOr install directly
Source

About

Object-file caching compiler wrapper

Commands

ccache

Examples

Wrap a C compiler to enable caching$ ccache gcc -o program main.c
Check cache statistics and hit rate$ ccache -s
Clear the cache$ ccache -C