notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Newsfeed changes

The news feed page[s] were not laid out well. Two pages, disjointed information, hard to figure out how to use the optional parameters...

Thankfully, someone told me.

The new page is ready for your review. Please compare these two:

You may also be interested in the Github issue.
Port details
ccache4 Tool to minimize the compile time of C/C++ programs
4.10.2 devel on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.9Version of this port present on the latest quarterly branch.
Maintainer: bdrewery@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-03-13 21:09:06
Last Update: 2025-01-29 16:32:04
Commit Hash: 9f3e545
People watching this port, also watch:: bash, cpu-microcode-intel, cowsay, 7-zip, groff
License: GPLv3+
WWW:
https://ccache.dev/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (15 items)
Collapse this list.
  1. /usr/local/share/licenses/ccache4-4.10.2/catalog.mk
  2. /usr/local/share/licenses/ccache4-4.10.2/LICENSE
  3. /usr/local/share/licenses/ccache4-4.10.2/GPLv3+
  4. etc/periodic/daily/ccache_clean
  5. bin/ccache
  6. bin/ccache-update-links
  7. share/man/man1/ccache.1.gz
  8. share/doc/ccache/LICENSE.html
  9. libexec/ccache/world/ccache
  10. @postexec echo "Create compiler links..."
  11. @postexec %D/bin/ccache-update-links -v
  12. @preunexec find %D/libexec/ccache -type l -exec rm -f {} \;
  13. @owner
  14. @group
  15. @mode
Collapse this list.
Dependency lines:
  • ccache4>0:devel/ccache4
Conflicts:
CONFLICTS_INSTALL:
  • ccache
  • ccache-static
To install the port:
cd /usr/ports/devel/ccache4/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/ccache4
  • pkg install ccache4
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ccache4
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1721663686 SHA256 (ccache-ccache-v4.10.2_GH0.tar.gz) = d22a4e59b58cdb3af5dd2a5a8fa3c40179bf35c985d17bc9bdeed2cffa3265be SIZE (ccache-ccache-v4.10.2_GH0.tar.gz) = 675413

Packages (timestamps in pop-ups are UTC):
ccache4
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.10.24.10.2-4.10.24.10.2---
FreeBSD:13:quarterly4.94.94.84.94.94.8.34.8.34.8.3
FreeBSD:14:latest4.10.24.10.2-4.10.24.10.24.8-4.8
FreeBSD:14:quarterly4.94.9-4.94.94.8.34.8.34.8.3
FreeBSD:15:latest4.10.24.10.2n/a4.10.2n/a4.8.34.8.34.9
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. asciidoctor : textproc/rubygem-asciidoctor
  2. cmake : devel/cmake-core
  3. perl5>=5.36<5.37 : lang/perl5.36
Runtime dependencies:
  1. perl5>=5.36<5.37 : lang/perl5.36
Library dependencies:
  1. libzstd.so : archivers/zstd
  2. libfmt.so : devel/libfmt
  3. libxxhash.so : devel/xxhash
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for ccache4-4.10.2: CLANGLINK=on: Create clang compiler links if clang is installed DOCS=on: Build and/or install documentation LLVMLINK=on: Create llvm compiler links if llvm is installed STATIC=off: Build static executables and/or libraries TEST=off: Build and/or run tests ===> Use 'make config' to modify these settings
Options name:
devel_ccache4
USES:
cmake:noninja compiler:c++17-lang pathfix shebangfix perl5
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/ccache/ccache/tar.gz/v4.10.2?dummy=/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.10.2
29 Jan 2025 16:32:04
commit hash: 9f3e54599328a5ca357f46863a17ccb669fd03cfcommit hash: 9f3e54599328a5ca357f46863a17ccb669fd03cfcommit hash: 9f3e54599328a5ca357f46863a17ccb669fd03cfcommit hash: 9f3e54599328a5ca357f46863a17ccb669fd03cf files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
devel/ccache4: Update 4.9 → 4.10.2

Based on patches from Oleg Sidorkin and Älven.

Improve port:
- update required compiler version from 11 to 17;
- update CONFLICTS_INSTALL;
- update GNU_COMPILERS and CLANG_COMPILERS;
- update dependencies;
- improve STATIC and TEST options;
- fix warnings from portclippy - sort options and etc.

Changelogs:
https://ccache.dev/releasenotes.html#_ccache_4_10_2

PR:		276854 283910
Approved by:	bdrewery (maintainer, timeout 1 year)
Tested by:	Oleg Sidorkin (osidorkin@gmail.com), Älven (alster@vinterdalen.se)
4.9
04 Feb 2024 02:09:17
commit hash: 7045625cb3712876d1a37097acdf34a886d2c5accommit hash: 7045625cb3712876d1a37097acdf34a886d2c5accommit hash: 7045625cb3712876d1a37097acdf34a886d2c5accommit hash: 7045625cb3712876d1a37097acdf34a886d2c5ac files touched by this commit
Joel Bodenmann (jbo) search for other commits by this committer
Author: Oleg Sidorkin
devel/ccache4: Update to 4.9

Changelog: https://ccache.dev/releasenotes.html#_ccache_4_9

PR:		276126
Approved by:	tcberner (mentor, implicit), bdrewery (maintainer, timeout)
4.8.3
12 Dec 2023 13:26:32
commit hash: da2c2b2eb794ac698dd6e6fae909fa5b22676d24commit hash: da2c2b2eb794ac698dd6e6fae909fa5b22676d24commit hash: da2c2b2eb794ac698dd6e6fae909fa5b22676d24commit hash: da2c2b2eb794ac698dd6e6fae909fa5b22676d24 files touched by this commit
Joel Bodenmann (jbo) search for other commits by this committer
Author: Oleg Sidorkin
devel/ccache4: Update to 4.8.3

Changelog: https://ccache.dev/releasenotes.html#_ccache_4_8_3

PR:			271536
Approved by:		tcberner (mentor), bdrewery (maintainer, timeout)
Differential Revision:	https://reviews.freebsd.org/D42890
4.8
02 Aug 2023 10:54:07
commit hash: 533e1cea6cd9c9b6b1afc2ece1648c70e8d7a4edcommit hash: 533e1cea6cd9c9b6b1afc2ece1648c70e8d7a4edcommit hash: 533e1cea6cd9c9b6b1afc2ece1648c70e8d7a4edcommit hash: 533e1cea6cd9c9b6b1afc2ece1648c70e8d7a4ed files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
devel/ccache4: Fix build with STATIC option

PR:		272880
4.8
13 Mar 2023 21:04:41
commit hash: 61e5c612e7f14178fec95fd56dcbf2b6b9fce5d4commit hash: 61e5c612e7f14178fec95fd56dcbf2b6b9fce5d4commit hash: 61e5c612e7f14178fec95fd56dcbf2b6b9fce5d4commit hash: 61e5c612e7f14178fec95fd56dcbf2b6b9fce5d4 files touched by this commit
Kurt Jaeger (pi) search for other commits by this committer
Author: Oleg Sidorkin
devel/ccache4: new port

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.

PR:		234971
Approved by:	bdrewery
Author:    Oleg Sidorkin <osidorkin@gmail.com>

Number of commits found: 5