BSD Ports

devel/ccache 4.14.2 OpenBSD

C/C++ compiler front-end to cache compiled object code

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
da0b5e6b97
Categories
devel

Description

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.

In the other systems

SystemPortVersion
OpenBSDdevel/ccache4.14.2
FreeBSDdevel/ccache3.7.12_9
NetBSDdevel/ccache4.14
DragonFlydevel/ccache3.7.12_8
MidnightBSDdevel/ccache3.7.12
HardenedBSDdevel/ccache3.7.12_9
GhostBSDdevel/ccache3.7.12_9

Install

Binary package:

pkg_add ccache

From the ports tree:

cd /usr/ports/devel/ccache && make install

Dependencies

Build dependencies 5
Run dependencies 5

No port depends on this one.

Commit history 3

DateCommitCreditsLog message
da0b5e6b97 sthen update to ccache-4.14.2
6308a69bd0 sthen update to ccache-4.14.1
8ceb6c2460 sthen update to ccache-4.14