BSD Ports

devel/ccache 3.7.12_9 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv3+
Categories
devel
Package size
133.6 KiB, 482.0 KiB installed

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
FreeBSDdevel/ccache3.7.12_9
OpenBSDdevel/ccache4.14.2
NetBSDdevel/ccache4.14
DragonFlydevel/ccache3.7.12_8
MidnightBSDdevel/ccache3.7.12

Install

Binary package:

pkg install ccache

From the ports tree:

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

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

RUN_DEPENDS=	ccache>0:devel/ccache

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.7.12_93.7.12_93.7.12_43.7.12_83.7.12_9
FreeBSD:14:quarterly3.7.12_93.7.12_9n/a3.7.12_83.7.12_9
FreeBSD:15:latest3.7.12_93.7.12_9n/a3.7.12_83.7.12_8
FreeBSD:15:quarterly3.7.12_93.7.12_9n/an/an/a
FreeBSD:16:latest3.7.12_93.7.12_9n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

Options name: devel_ccache

OptionDefaultDescription
CLANGLINKonCreate clang compiler links if clang is installed
DOCSoffBuild and/or install documentation
LLVMLINKonCreate llvm compiler links if llvm is installed
STATICoffBuild static executables and/or libraries
TINDERBOXoffCreate tarball for tinderbox usage
USES
compiler
Service scripts
none
Conflicts with
ccache-static ccache-memcached ccache-memcached-static ccache4

Message after installing

NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for
information on using ccache with FreeBSD ports and src.

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}/
  • LOCAL/bdrewery

Commit history 0

No commits in the history this site was built from.