Path to this page:
./
devel/ccache,
Cache for C/C++ compilers
Branch: CURRENT,
Version: 4.10.2,
Package name: ccache-4.10.2,
Maintainer: pkgsrc-usersccache 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.
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 649.45 KB
Version history: (Expand)
- (2024-07-22) Updated to version: ccache-4.10.2
- (2024-07-16) Updated to version: ccache-4.10.1nb1
- (2024-07-02) Updated to version: ccache-4.10.1
- (2024-05-30) Updated to version: ccache-4.10
- (2024-02-16) Updated to version: ccache-4.9.1
- (2024-01-02) Updated to version: ccache-4.9
CVS history: (Expand)
2024-02-16 21:14:59 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
ccache: updated to 4.9.1
Ccache 4.9.1
Bug fixes
Improved detection of bad remote storage URLs gracefully. This also fixes \
crashes seen in ccache’s own test suite.
Made caching completely disabled when modification of a source or include file \
is detected during ccache invocation. Previously this was only done for the \
direct mode.
Fixed an MSVC crash when using /Zi with many concurrent compilations.
Fixed a crash when -arch is the last compiler option.
|
2024-01-02 12:59:02 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
ccache: updated to 4.9
Ccache 4.9
New features and improvements
Made ignore_options/CCACHE_IGNOREOPTIONS also skip the option from special \
processing, similar to how --ccache-skip works.
Added support for expanding environment variables references in all \
configuration options.
MSVC options /Fd, /FS and /MP are no longer included in the input hash.
Made ccache terminate an ongoing compiler subprocess when terminated on all \
platforms, not only on Unix.
Added support for multiple -Xarch_* arguments matching -arch.
Added a debug_level/CCACHE_DEBUGLEVEL configuration option, making it possible \
to tell ccache to only write a log file for each compilation, not other debug \
files.
Added max_cache_size_kibibyte and max_files_in_cache fields in output from \
ccache --print-stats.
Paths after -Xclang -include are now rewritten to relative paths if \
base_dir/CCACHE_BASEDIR is in effect.
Added support for clang --analyze.
Improved processing of input file arguments.
Added support for st_Xtimensec fields in struct stat, thus improving behavior on \
some BSDs when using newly created include files.
Added support for the undocumented GCC/Clang option --include.
Bug fixes
Ccache now exits more gracefully on invalid sharded remote storage URLs.
Made ccache bail out on too hard options -fmodules-ts, -fmodule-header, -wrapper \
and -Xclang -ast-dump.
Stopped relying on the st_blocks field in struct stat since it cannot be trusted \
for filesystems such as ZFS that do transparent compression or deduplication and \
adjust st_blocks some time in the future.
Fixed crash on Windows for paths with only a drive letter.
Made handling of Clang config options (such as --config-system-dir) more robust.
Fixed compiler type detection when compiler is a symlink called “clang-cl”.
Made sure to use MSVC logic for clang-cl when handling a precompiled header.
Generalized expansion of remote storage URLs with sharding, for instance making \
it possible to shard on port number.
Build improvements
Upgraded to xxHash 0.8.2, thereby fixing an error when compiling ccache with -Og.
Fixed sign-compare warning in src/InodeCache.cpp on FreeBSD.
Fixed the CMake option STATIC_LINK on Linux/macOS.
Added the CMake option OFFLINE, defaulting to the value of the standard variable \
FETCHCONTENT_FULLY_DISCONNECTED (which is OFF by default), to disable \
downloading anything from the internet.
Fixed warnings about unused functions on new MSVC versions.
Made sure to set both C and C++ CMake compiler launcher variables if either is set.
Documentation improvements
The manual now mentions that system_headers sloppiness is not supported for MSVC.
Test improvements
Fixed regex in direct.bash.
|
2023-08-30 15:01:12 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
ccache: updated to 4.8.3
Ccache 4.8.3
Bug fixes
Fixed various problems with parsing of MSVC response file (.rsp).
Fixed handling of NVCC -Xcompiler and --Werror options.
Fixed bookkeeping of files when hard linking or file cloning is enabled. In \
ccache 4.8–4.8.2 this could result in incorrect size/count statistics after \
automatic or explicit cleanup.
Build improvements
Made a workaround for GCC 12.3 bug 109241 where GCC fails to compile ccache.
Upgraded to xxHash 0.8.2, which fixes compilation of ccache with GCC 12 and -Og.
|
2023-08-08 14:54:14 by Tobias Nygren | Files touched by this commit (2) |
Log message:
ccache: work around ICE with GCC 12.3. From upstream.
|
2023-07-18 16:11:18 by Nia Alarie | Files touched by this commit (35) |
Log message:
devel: Adapt packages to use USE_(CC|CXX)_FEATURES
|
2023-06-26 10:32:42 by Jonathan Perkin | Files touched by this commit (1) |
Log message:
ccache: SunOS needs libsocket.
|
2023-06-14 08:54:16 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
ccache: updated to 4.8.2
Ccache 4.8.2
Bug fixes
Fixed parsing of Windows drive letter in file URLs for remote storage.
Fixed a bug affecting depend mode with MSVC.
Ccache no longer passes -v to the preprocessor. This improves preprocessor mode \
hit rate when -v is on the compiler command line.
Made --trim-max-size accept 0 for no limit.
Build improvements
Made various fixes for Windows 64-bit MSBuild builds.
Silenced CMake warning for extracted timestamps.
Worked around problem with building ZStandard with Xcode.
Fixed undefined behavior (only triggered by unit tests) in util::read_file_part \
for zero count, making the build fail with _GLIBCXX_ASSERTIONS.
Documentation improvements
Clarified --evict-older-than semantics.
Test improvements
Fixed typo in “Directory is not hashed if using -gz” test.
|
2023-05-22 10:04:59 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
ccache: updated to 4.8.1
Ccache 4.8.1
Bug fixes
Fixed an issue with the depend mode in combination with -- on the command line \
for Clang-based compilers.
Improved knowledge about MSVC debug flags so that non-debug /Z* options are once \
again supported.
Ccache no longer treats /Zi as unsupported for clang-cl.
Made the output format of ccache -k max_size parsable by ccache itself.
Build/CI improvements
Corrected ccache version in the macOS binary release.
Made it possible to build ccache with clang-cl on Windows.
Upgraded to doctest 2.4.11, thereby fixing a build issue on Solaris.
Documentation improvements
Added a remote file storage example with URL-encoded spaces.
|