BSD Ports

devel/ccache 3.7.12 MidnightBSD

Tool to minimize the compile time of C/C++ programs

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
gpl3+
Categories
devel

Description

ccache is a compiler cache. It acts as a caching pre-processor to C/C++ compilers, using the -E compiler switch 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.

In the other systems

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

Install

Binary package:

mport install ccache

From mports:

cd /usr/mports/devel/ccache && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ccache>0:devel/ccache

Dependencies

No port depends on this one.

Configuration

Options name: devel_ccache

OptionDefaultDescription
CLANGLINKonCreate clang compiler links if clang is installed
DOCSoff
LLVMLINKonCreate llvm compiler links if llvm is installed
STATICoff
TINDERBOXoffCreate tarball for tinderbox usage
USES
compiler
Service scripts
none
Conflicts with
ccache-static ccache-memcached ccache-memcached-static ccache4

Files

Manual pages 1
  • ccache(1)
pkg-plist 8
  • bin/ccache
  • bin/ccache-update-links
  • share/man/man1/ccache.1.gz
  • %%CCLINKDIR%%/world/ccache
  • share/ccache/ccache.tar
  • @postexec echo "Create compiler links..."
  • @postexec %D/bin/ccache-update-links -v
  • @preunexec find %D/ -type l -exec rm -f {} \;
distinfo 1
FileSizeSHA256
ccache-3.7.12.tar.gz506948d2abe88d4c283ce960e233583061127b156ffb027c6da3cf10770fc0c7244194
Master sites 2
  • https://github.com/ccache/ccache/releases/download/v${DISTVERSION}/
  • FREEBSD_LOCAL/bdrewery