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:           Tue Mar 14 06:30:23 UTC 2023

Modified Files:
        pkgsrc/devel/ccache: Makefile distinfo

Log Message:
ccache: updated to 4.8

Ccache 4.8

New features and improvements
Improved the automatic cache cleanup mechanism. Automatic cleanups are now performed on 1/256 of the cache instead of 1/16, thus making them much quicker (but naturally more frequent). Cleanups are 
coordinated between ccache processes so that at most one process will perform cleanup at a time. Also, the actual cache size will stay very close to the configured maximum size instead of staying 
around 90% as was the case before.

Added support for setting per-compilation configuration options on the command line. Example: ccache hash_dir=false gcc -c example.c.

Made it possible to disable ccache for a certain source code file by embedding the string ccache:disable in a comment near the top of the file.

Made ccache understand that an MSVC /Z7 option overrides an earlier /Z* option and thus is not too hard to cache.

Added a --recompress-threads command line option for selecting the number of CPU threads to use when recompressing the local cache.

Added --trim-recompress and --trim-recompress-threads command line options for recompressing file-based remote storage.

Added tmpfs, ufs and zfs to the list of supported filesystems on macOS and BSDs for the inode cache.

Improved progress bars for clean/clear/evict-style operations.

Improved printing of cache sizes in various outputs.

Activate debug logging for command mode options like --cleanup.

Added support for -Wp,-U<macro> in the direct mode.

Added quotes around arguments with space in logged command lines.

Added logging of executed command lines on Windows.

Made sure not to update the stats file when there are no incremented counters.

Improved actual disk size calculation on Windows.

Build/CI improvements
Added CI support for building macOS universal binaries.

Make it possible to force download of Zstd and Hiredis, e.g. with cmake -D ZSTD_FROM_INTERNET=ON […​].

Bug fixes
Fixed an edge case where a non-temporal identifier is misidentified.

Fixed reporting of local/remote cache misses in depend mode.

Fixed parsing of backslashes in MSVC RSP files.

Fixed a crash in --show-log-stats when the stats log file doesn’t exist.

Fixed matching of base directory for MSVC. The base directory will now match case-insensitively with absolute paths in preprocessed output, or from /showIncludes in the depend mode case, when 
compiling with MSVC.

Fixed a problem where the original umask would be used when storing a remote cache result in the local cache.

Changed the inode cache implementation to use spinlocks instead of pthread mutexes. This makes the inode cache work on FreeBSD and similar systems.

Don’t treat -Wp,-D as interchangeable with -D.

Disable the inode cache if the filesystem risks getting full soon. This fixes a problem when the cache is on a filesystem where posix_fallocate isn’t reliable, like Btrfs with compression enabled.

Fixed performance of cache path relativization in preprocessed output, primarily on Windows where stat calls are relatively costly.

Fixed rare crash in the signal handler at process exit.

Fixed handling of Unix-style paths passed to MSVC.

Fixed so that the config options and command line are logged before trying to locate the compiler and exiting early.

Documentation improvements
Improved description of --set-config.

Fixed broken markup in the manual.

Added a note to the manual that stats = false will disable automatic cleanup.

Fix a bad reference to the “Remote storage backends” section.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/devel/ccache/Makefile
cvs rdiff -u -r1.54 -r1.55 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.69 pkgsrc/devel/ccache/Makefile:1.70
--- pkgsrc/devel/ccache/Makefile:1.69   Thu Jan 19 15:41:40 2023
+++ pkgsrc/devel/ccache/Makefile        Tue Mar 14 06:30:23 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.69 2023/01/19 15:41:40 gdt Exp $
+# $NetBSD: Makefile,v 1.70 2023/03/14 06:30:23 adam Exp $
 
-DISTNAME=      ccache-4.7.4
-PKGREVISION=   2
+DISTNAME=      ccache-4.8
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ccache/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}

Index: pkgsrc/devel/ccache/distinfo
diff -u pkgsrc/devel/ccache/distinfo:1.54 pkgsrc/devel/ccache/distinfo:1.55
--- pkgsrc/devel/ccache/distinfo:1.54   Fri Dec  9 16:14:12 2022
+++ pkgsrc/devel/ccache/distinfo        Tue Mar 14 06:30:23 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.54 2022/12/09 16:14:12 wiz Exp $
+$NetBSD: distinfo,v 1.55 2023/03/14 06:30:23 adam Exp $
 
-BLAKE2s (ccache-4.7.4.tar.gz) = cf2457632a920d400371fc775d62abfc02b2cb0ffc110d412f36c8cbfd8f2ce4
-SHA512 (ccache-4.7.4.tar.gz) = 58faceb3d3b566d53000ac81bf27a52502ff3cb163f29506eccb7831bfcfdde3601102fe8b57530b8900e1d5e050374364c4df3c88ff825f0132e94b90441de9
-Size (ccache-4.7.4.tar.gz) = 743012 bytes
+BLAKE2s (ccache-4.8.tar.gz) = 0bd67896589bd843df0fd2aec7193f928536b85b55741eb36f2aadeebf4bc126
+SHA512 (ccache-4.8.tar.gz) = d4880e8e176c4a22a088dd0c35e20f19c9c3134292b18183e7e87f32ebb4adb523831479d8c67fa8c50de8ec0b95ab956c612e2c525de58ba175a756264a9d08
+Size (ccache-4.8.tar.gz) = 755780 bytes



Home | Main Index | Thread Index | Old Index