The devel/ccache port

ccache-4.7.3 – C/C++ compiler front-end to cache compiled object code (cvsweb github mirror)


ccache is a compiler cache.  It acts as a caching pre-processor to
C/C++ compilers, utilizing compiler output and a hash to detect
when a compilation can be satisfied from cache.  This often results
in a 5 to 10 times speedup in common compilations.

The most important aspect of ccache is to _always_ produce exactly
the same output that the real compiler would produce.  This includes
providing exactly the same object files and exactly the same compiler
warnings that would be produced if you use the real compiler.

ccache typically adds a little bit of a slowdown to uncached compiles,
but makes up for it with drastic speedups in already-seen compiles
that it has cached.


The OpenBSD ports mailing-list

Only for arches

aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64



Library dependencies

Build dependencies

Test dependencies