devel/ccache4 4.13.6_1 MidnightBSD
Tool to minimize the compile time of C/C++ programs
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
e7b96113b0- 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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/ccache4 | 4.13.6_1 |
| FreeBSD | devel/ccache4 | 4.14.1 |
| HardenedBSD | devel/ccache4 | 4.14 |
| GhostBSD | devel/ccache4 | 4.14 |
Install
Binary package:
mport install ccache4
From mports:
cd /usr/mports/devel/ccache4 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ccache4>0:devel/ccache4
Dependencies
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 | |
| LLVMLINK | on | Create llvm compiler links if llvm is installed |
| STATIC | on | |
| TEST | off |
- 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.13.6.tar.xz | 538628 | a7de667ca08cf67c3c8af9f213f6aa701a1188a2b3163fb74483858ce5e79fbb |
Master sites 1
- https://github.com/ccache/ccache/releases/download/v4.13.6/