BSD Ports

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

SystemPortVersion
MidnightBSDdevel/ccache44.13.6_1
FreeBSDdevel/ccache44.14.1
HardenedBSDdevel/ccache44.14
GhostBSDdevel/ccache44.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

OptionDefaultDescription
CLANGLINKonCreate clang compiler links if clang is installed
DOCSoff
LLVMLINKonCreate llvm compiler links if llvm is installed
STATICon
TESToff
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.13.6.tar.xz538628a7de667ca08cf67c3c8af9f213f6aa701a1188a2b3163fb74483858ce5e79fbb
Master sites 1
  • https://github.com/ccache/ccache/releases/download/v4.13.6/

Commit history 1

DateCommitCreditsLog message
e7b96113b0 Lucas Holt devel/libfmt: update to 12.1.0 and fix the tree for fmt 12 (#853)
Updates `devel/libfmt` from 9.1.0 to 12.1.0 and fixes every consumer that breaks as a result. Originally a prerequisite for `ai/pytorch` 2.13.0 (#851), which vendors fmt 12.1.0 and does not build against fmt 9. > **This must land as a single unit.** Between libfmt 12 going in and the > consumers being rebuilt, a stale consumer breaks *unrelated* builds with > misleading errors — a leftover `libze_loader.so.1` needing `libfmt.so.9` > made `net/openmpi4`'s configure report a bogus "cannot link hwloc". The > builder should rebuild all 26 touched ports. ## Core | Port | Change | |---|---| | `devel/libfmt` | 9.1.0 → 12.1.0 (SONAME `.so.9` → `.so.12`) | | `devel/spdlog` | 1.15.0 → 1.17.0 — 1.15 doesn't compile against fmt 12 …