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:           Thu May 30 06:28:20 UTC 2024

Modified Files:
        pkgsrc/devel/ccache: Makefile distinfo

Log Message:
ccache: updated to 4.10

Ccache 4.10

New features and improvements

Added support for GCC option -fcallgraph-info.

Added support for GCC option -fprofile-update.

Added support for GCC option -fdump-ipa-clones.

Added support for the MSVC /Yc option (precompiled header).

Added support for the MSVC /Tc<path> and /Tp<path> options (specifying source code type).

Added an experimental inode cache implementation for Windows. This speeds up ccache a lot when many headers are included, both for cache hits and cache misses.

This feature is currently disabled by default, but interested Windows users are encouraged to try it out by setting inode_cache = true.

Added knowledge of Xcode option -ivfsstatcache.

Added support for Apple Clang option -Xpreprocessor -fopenmp in direct mode.

Added knowledge of Emscripten option --em-config.

Reduced the risk of false positive direct mode hits.

Clear direct mode manifest on recache.

Optimized file reading on Windows.

Optimized file copying performed when hard linking or file cloning is enabled.

Use posix_spawn(3) for executing compiler check commands.

The prefix_command and prefix_command_cpp configuration options now allow any prefix, not only programs that exist in PATH. This means that prefix_command now can be a program with arguments.

Added a new incbin sloppiness value for ignoring presence of .incbin directives in the source code.

Added a --print-log-stats option that prints a machine-parsable variant of --show-log-stats.

Added a --format option for selecting JSON or tab format for --print-stats and --print-log-stats.

Added a --print-version option for printing ccache version in machine-parsable format.

The --inspect option now retains access time (atime) of the inspected file if possible.

Bug fixes

Fixed reading of files larger than 231 bytes on some systems where this was a problem.

Improved handling of large files on 32-bit systems.

Nonexistent include files are allowed in preprocessor mode again, fixing regression in ccache 4.9.1.

The Clang -fdiagnostics-color option is now handled again, fixing regression in ccache 4.6.2.

Fixed assertion failure on Windows mapped network drives.

Fixed handling of MSVC options /Fp and /Yu.

Fixed lock file implementation on MSYS2.

The “apparent real path” of the object file is now added to the input hash when using -fprofile-arcs to avoid false positive hits in some scenarios.

When generating profiling information, run_second_cpp is now forced to true so that the coverage report won’t refer to a temporary preprocessed file.

Build improvements

Improved handling of ccache dependencies. A new DEPS CMake variable selects how software library dependencies should be located or retrieved, replacing the old HIREDIS_FROM_INTERNET, 
ZSTD_FROM_INTERNET and OFFLINE variables. Options are AUTO (the default) for automatically downloading missing dependencies, DOWNLOAD for always downloading and LOCAL for never downloading. See 
Software library dependencies for details.

Added support for using a local installation of BLAKE3, cpp-httplib, nonstd-span and tl-expected instead of linking to bundled copies.

Removed bundled copies of doctest, fmt, getopt_long and xxhash.

Changed to use the Windows BLAKE3 implementation when building on MSYS2.

Documentation improvements

Improved documentation of “gcno_cwd sloppiness”.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/devel/ccache/Makefile
cvs rdiff -u -r1.61 -r1.62 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.79 pkgsrc/devel/ccache/Makefile:1.80
--- pkgsrc/devel/ccache/Makefile:1.79   Fri Feb 16 20:14:59 2024
+++ pkgsrc/devel/ccache/Makefile        Thu May 30 06:28:20 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.79 2024/02/16 20:14:59 adam Exp $
+# $NetBSD: Makefile,v 1.80 2024/05/30 06:28:20 adam Exp $
 
-DISTNAME=      ccache-4.9.1
+DISTNAME=      ccache-4.10
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ccache/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
@@ -14,6 +14,7 @@ LICENSE=      gnu-gpl-v3 AND modified-bsd AND
 
 USE_LANGUAGES= c c++
 USE_TOOLS+=    perl:build pkg-config
+CMAKE_ARGS+=   -DENABLE_TESTING=OFF
 TEST_TARGET=   test
 
 USE_CXX_FEATURES+=     filesystem
@@ -32,5 +33,7 @@ SUBST_MESSAGE.rubyver=        Fixing asciidocto
 .include "../../archivers/zstd/buildlink3.mk"
 .include "../../databases/hiredis/buildlink3.mk"
 .include "../../devel/cmake/build.mk"
+.include "../../devel/xxhash/buildlink3.mk"
+.include "../../textproc/fmtlib/buildlink3.mk"
 .include "../../mk/atomic64.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/ccache/distinfo
diff -u pkgsrc/devel/ccache/distinfo:1.61 pkgsrc/devel/ccache/distinfo:1.62
--- pkgsrc/devel/ccache/distinfo:1.61   Fri Feb 16 20:14:59 2024
+++ pkgsrc/devel/ccache/distinfo        Thu May 30 06:28:20 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.61 2024/02/16 20:14:59 adam Exp $
+$NetBSD: distinfo,v 1.62 2024/05/30 06:28:20 adam Exp $
 
-BLAKE2s (ccache-4.9.1.tar.gz) = f256775b0633d6af9272995e7c0dbd30c7f61515604916702e1c3985b351aa4b
-SHA512 (ccache-4.9.1.tar.gz) = 0945d46aaa8f76098356bed0a1258d1c8b19564247acc34ca3d71e0bd12e7edf095ad43e23c7459c8174be8ca6569c671da09a864edc57b77113bc1d5602cd28
-Size (ccache-4.9.1.tar.gz) = 791635 bytes
+BLAKE2s (ccache-4.10.tar.gz) = 50d2f711be7758c715c3034e7065945c6d2e782024f2cefccb8c62a5e4af2b8d
+SHA512 (ccache-4.10.tar.gz) = 3bc57436483e789fdbb12f7c1ca0e7fe2c3437cebff9450b34f4584786d18fa6cb5906aac1cb1530a7bf3bf01198dcf088696a1e6dcba5cf56ba529d9fd3af4c
+Size (ccache-4.10.tar.gz) = 567802 bytes



Home | Main Index | Thread Index | Old Index