BSD Ports

devel/ccache 4.14 NetBSD

Cache for C/C++ compilers

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
cd0613e9b5
License
gnu-gpl-v3 AND modified-bsd AND public-domain AND zlib
Categories
devel
Package size
599.1 KiB, 2127.7 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
NetBSDdevel/ccache4.14
FreeBSDdevel/ccache3.7.12_9
OpenBSDdevel/ccache4.14.2
DragonFlydevel/ccache3.7.12_8
MidnightBSDdevel/ccache3.7.12
HardenedBSDdevel/ccache3.7.12_9
GhostBSDdevel/ccache3.7.12_9

Install

Binary package:

pkgin install ccache

From pkgsrc:

cd /usr/pkgsrc/devel/ccache && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_644.14
NetBSD 10.1 aarch644.13.6
SmartOS / illumos x86_64-
macOS 15 arm644.14.1

Dependencies

Run dependencies 4

No port depends on this one.

Commit history 3

DateCommitCreditsLog message
cd0613e9b5 adam ccache: updated to 4.14.2
Ccache 4.14.2 Compatibility changes On Windows, ccache now requires Windows 8 or later. Bug fixes Fixed false inode cache hits on Windows by using full 128-bit file IDs when available. Fixed caching of precompiled headers with clang-cl, icx-cl and icx after MSVC updates by hashing the compiler’s target triple. Fixed handling of nonexistent or non-directory -fprebuilt-module-path arguments on Windows with Visual Studio 2026. Fixed preservation of inherited signal handling, including SIGPIPE, in compiler processes. Fixed a symlink race when creating the fallback storage helper IPC directory in /tmp. Fixed logging of credentials when using --stop-storage-helpers. Fixed spurious errors when a storage helper closes its connection before responding to a stop request. …
b94ca02116 adam ccache: updated to 4.14.1
4.14.1 New deliverables Added musl static binary release for Linux s390x. Bug fixes 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. Made ccache reject clang-cl’s /clang: option and MSVC’s /FA and /Fa options instead of potentially caching compilations incorrectly. Fixed cleanup of temporary response files on Windows. Build improvements …
77f4242fe9 adam ccache: updated to 4.14
4.14 Deprecation notice Built-in support for the HTTP and Redis protocols will be removed in the next non-bug-fix ccache version. Use the remote storage helper mechanism (added in ccache 4.13) for HTTP/Redis storage instead. Removed functionality Removed the cpp_extension (CCACHE_EXTENSION) configuration option since ccache now processes preprocessor output directly in memory instead of using intermediate files. New features and improvements Added support for the QCC (QNX) compiler. Added limited support for caching SARIF diagnostics: -fdiagnostics-format=sarif-stderr and -fdiagnostics-{add,set}-output=sarif:file=… for GCC, /experimental:log for MSVC. Added automatic depend mode for NVCC on Windows. …