BSD Ports

devel/ccache4 4.14.1 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
711e4a896d
License
GPLv3+
Categories
devel
Package size
1462.5 KiB, 4707.9 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/ccache44.14.1
MidnightBSDdevel/ccache44.13.6_1

Install

Binary package:

pkg install ccache4

From the ports tree:

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

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

RUN_DEPENDS=	ccache4>0:devel/ccache4

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:latest4.14.14.14.1-4.10.2_1-
FreeBSD:14:quarterly4.144.14n/a4.10.2-
FreeBSD:15:latest4.14.14.14.1n/a4.10.2_14.10.2_1
FreeBSD:15:quarterly4.144.14n/an/an/a
FreeBSD:16:latest4.144.14.1n/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.

Build dependencies 23
Run dependencies 7

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
STATIConBuild static executables and/or libraries
TESToffBuild and/or run tests
USES
cmake:noninja compiler:c++17-lang pathfix shebangfix tar:xz
Service scripts
none
Conflicts with
ccache ccache-static

Files

Manual pages 1
  • ccache(1)
pkg-plist 10
  • bin/ccache
  • bin/ccache-update-links
  • etc/periodic/daily/ccache_clean
  • %%CCLINKDIR%%/world/ccache
  • share/doc/ccache4/LICENSE.adoc
  • share/doc/ccache4/LICENSE.html
  • share/man/man1/ccache.1.gz
  • @postexec echo "Create compiler links..."
  • @postexec %D/bin/ccache-update-links -v
  • @preunexec find %D/ -type l -exec rm -f {} \;
distinfo 1
FileSizeSHA256
ccache-4.14.1.tar.xz55440429f10de481ac2c41c91bfabead63d803bd2fe823e09752aade5b0b8704cc4f30
Master sites 1
  • https://github.com/ccache/ccache/releases/download/v4.14.1/

Commit history 2

DateCommitCreditsLog message
711e4a896d Oleg Sidorkin devel/ccache4: Update to 4.14.1
- Restored storage helper lock compatibility with ccache versions earlier than 4.14. - Fixed lookup of GCC 9+ profile data for object files in subdirectories and added support for GCC's -fprofile-partial-training option. - Fixed the output location of files produced by GCC's -fdump-ipa-clones option. - Fixed hashing of C++20 module files found via Clang's -fprebuilt-module-path option, preventing false cache hits when a module changes. Changes: https://ccache.dev/releasenotes.html#_ccache_4_14_1 PR: 298969 Sponsored by: Netzkommune GmbH
6875c0d589 Oleg Sidorkin devel/ccache4: Update to 4.14
PR: 297887