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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/ccache4 | 4.14.1 |
| MidnightBSD | devel/ccache4 | 4.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.14.1 | 4.14.1 | - | 4.10.2_1 | - |
| FreeBSD:14:quarterly | 4.14 | 4.14 | n/a | 4.10.2 | - |
| FreeBSD:15:latest | 4.14.1 | 4.14.1 | n/a | 4.10.2_1 | 4.10.2_1 |
| FreeBSD:15:quarterly | 4.14 | 4.14 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.14 | 4.14.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
- archivers/liblz4
- archivers/zstd
- devel/cmake-core
- devel/gettext-runtime
- devel/jsoncpp
- devel/libffi
- devel/libunistring
- devel/libunwind
- devel/libuv
- devel/ruby-gems
- devel/xxhash
- dns/libidn2
- lang/perl5.42
- lang/ruby34
- math/gmp
- ports-mgmt/pkg
- print/indexinfo
- security/rhash
- shells/bash
- textproc/expat2
- textproc/hs-pandoc
- textproc/libyaml
- textproc/rubygem-asciidoctor
Run dependencies 7
No port depends on this one.
Configuration
Options name: devel_ccache
| Option | Default | Description |
|---|---|---|
| CLANGLINK | on | Create clang compiler links if clang is installed |
| DOCS | off | Build and/or install documentation |
| LLVMLINK | on | Create llvm compiler links if llvm is installed |
| STATIC | on | Build static executables and/or libraries |
| TEST | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| ccache-4.14.1.tar.xz | 554404 | 29f10de481ac2c41c91bfabead63d803bd2fe823e09752aade5b0b8704cc4f30 |
Master sites 1
- https://github.com/ccache/ccache/releases/download/v4.14.1/