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
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/ccache | 4.14.2 |
| FreeBSD | devel/ccache | 3.7.12_9 |
| NetBSD | devel/ccache | 4.14 |
| DragonFly | devel/ccache | 3.7.12_8 |
| MidnightBSD | devel/ccache | 3.7.12 |
| HardenedBSD | devel/ccache | 3.7.12_9 |
| GhostBSD | devel/ccache | 3.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.