pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ccache



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Sep 15 14:41:21 UTC 2025

Modified Files:
        pkgsrc/devel/ccache: Makefile PLIST distinfo

Log Message:
ccache: updated to 4.12

Ccache 4.12

Upgrade notes

CMake version 3.18 or higher is now needed to build ccache.

New deliverables

Added binary releases for Linux aarch64 and Windows aarch64.

New features and improvements

Enabled awareness of long paths and wide characters on Windows by embedding an application manifest in ccache.exe.
Added support for multiple directories in base_dir/CCACHE_BASEDIR.
Added support for Clang compiling CUDA code.
Added support -x cu and -x cuda in Clang CUDA mode.
Added support for Clang’s --config= option.
Added logging of process exit.
Added logging of mtime for files removed from the internal temporary directory.
Added logging of URLs requested by the http storage backend.
Improved logging of manifest lookup.
Improved logging of executed processes.

Removed features

Removed support for avoiding the second preprocessor call (run_second_cpp=false/CCACHE_NOCPP2). This feature added complexity while offering little practical value, as it was rarely used and modern 
compilers have increasingly poor support for compiling preprocessed source code. The maintenance cost therefore outweighed the benefit of keeping it.

Bug fixes

Fixed handling of compiler arguments so that ccache now preserves their original order, resolving issues where order-sensitive options such as -Werror could be reordered.
Implemented expansion of system-dependent -m{arch,cpu,tune}=native options to prevent false cache hits when compiling on different hardware.
Fixed rewriting of absolute paths to relative (with base_dir in effect) so that paths with dereferenced symlinks are no longer considered as candidates.
Fixed compiler detection to check Clang before GCC for cc/c++ hard links.
Fixed hashing of GCC specs file. Previously specs files located in system directories could not be found.
Added MSVC variables INCLUDE and EXTERNAL_INCLUDE to the input hash since they affect compilation.
Fixed bad conversion from UTF-16 when reading files on Windows.
Removed misleading logging of failure to remove output file in hard link mode.

Build improvements

Made ccache link statically with libatomic when STATIC_LINK is set.
Made ccache buildable with tl-expected 1.2.0.
The bundled copy of libfmt is now used as documented if DEPS=DOWNLOAD.
Switched to use FetchContent_MakeAvailable instead of FetchContent_Populate to avoid warnings with newer CMake versions.
Set variables to avoid a warning from downloaded zstd’s CMake scripts.
Added CMake toolchain file for (cross) compilation to aarch64-w64-mingw32.
Disabled use of BLAKE3 NEON code on big-endian aarch64 since only little-endian is supported.

Test improvements

Added test for tricky preprocessed cache hit case.
Fixed calculation of root directory to avoid crashes on some Windows systems.

Documentation improvements

Documented that the direct mode has now (since ccache 4.10) less risk to read headers from incorrect locations.
Documented that pragma once can be problematic with precompiler headers (PCH).
Added missing documentation of "Unsupported source encoding" statistics counter.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/devel/ccache/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/ccache/PLIST
cvs rdiff -u -r1.68 -r1.69 pkgsrc/devel/ccache/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ccache/Makefile
diff -u pkgsrc/devel/ccache/Makefile:1.87 pkgsrc/devel/ccache/Makefile:1.88
--- pkgsrc/devel/ccache/Makefile:1.87   Sun May  4 08:53:05 2025
+++ pkgsrc/devel/ccache/Makefile        Mon Sep 15 14:41:21 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.87 2025/05/04 08:53:05 adam Exp $
+# $NetBSD: Makefile,v 1.88 2025/09/15 14:41:21 adam Exp $
 
-DISTNAME=      ccache-4.11.3
+DISTNAME=      ccache-4.12
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ccache/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}

Index: pkgsrc/devel/ccache/PLIST
diff -u pkgsrc/devel/ccache/PLIST:1.3 pkgsrc/devel/ccache/PLIST:1.4
--- pkgsrc/devel/ccache/PLIST:1.3       Fri Dec  9 11:56:47 2022
+++ pkgsrc/devel/ccache/PLIST   Mon Sep 15 14:41:21 2025
@@ -1,3 +1,11 @@
-@comment $NetBSD: PLIST,v 1.3 2022/12/09 11:56:47 gdt Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/09/15 14:41:21 adam Exp $
 bin/ccache
 man/man1/ccache.1
+share/doc/ccache/AUTHORS.adoc
+share/doc/ccache/AUTHORS.html
+share/doc/ccache/LICENSE.adoc
+share/doc/ccache/LICENSE.html
+share/doc/ccache/MANUAL.adoc
+share/doc/ccache/MANUAL.html
+share/doc/ccache/NEWS.adoc
+share/doc/ccache/NEWS.html

Index: pkgsrc/devel/ccache/distinfo
diff -u pkgsrc/devel/ccache/distinfo:1.68 pkgsrc/devel/ccache/distinfo:1.69
--- pkgsrc/devel/ccache/distinfo:1.68   Sun May  4 08:53:05 2025
+++ pkgsrc/devel/ccache/distinfo        Mon Sep 15 14:41:21 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.68 2025/05/04 08:53:05 adam Exp $
+$NetBSD: distinfo,v 1.69 2025/09/15 14:41:21 adam Exp $
 
-BLAKE2s (ccache-4.11.3.tar.gz) = b1de6ce56cdd4474761e892a67303e232ad124a86521cfda08f37b33fa925005
-SHA512 (ccache-4.11.3.tar.gz) = e312be133c6cf519588afd6a40480dd796c61b05a66549830314ba343291bc1d8a9e370e21001abcbf6947ea1a1e562025c7ba229154da26b019a9f4b727bb4c
-Size (ccache-4.11.3.tar.gz) = 688184 bytes
+BLAKE2s (ccache-4.12.tar.gz) = 1be453978d7c602bea44166f29adfeddd1d0bc924439b22d198bd1df5f96554c
+SHA512 (ccache-4.12.tar.gz) = 0dada4b9532bfa182fc12ae855857219fd50ee9a84fe073e8c037c3591c0f9deb4fb1f9ed19af5f14711ea0e6085b2a7f1027225ad78640c51ef83da3401b561
+Size (ccache-4.12.tar.gz) = 700108 bytes



Home | Main Index | Thread Index | Old Index