./devel/ccache, Cache for C/C++ compilers

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.7.12, Package name: ccache-3.7.12, Maintainer: pkgsrc-users

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.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: f8c038548ba8255d74e5e23ab538bb979014388b
RMD160: 0446827ee950b259221d6f4286b9b97ec57f7c59
Filesize: 495.066 KB

Version history: (Expand)


CVS history: (Expand)


   2020-10-02 10:08:07 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ccache: updated to 3.7.12

ccache 3.7.12

Bug fixes
Coverage files (.gcno) produced by GCC 9+ when using -fprofile-dir=dir are now \ 
handled gracefully by falling back to running the compiler.
Fixed writing to log file larger than 2 GiB when running ccache compiled in \ 
32-bit mode.

Other
Improved documentation about sharing a cache on NFS.
Fixed test case failures with old objdump versions.
Fixed test case failures with GCC 4.4.
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631) | Package updated
Log message:
*: bump PKGREVISION for perl-5.32.
   2020-07-27 18:04:38 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ccache: updated to 3.7.11

ccache 3.7.11

Bug fixes
Added knowledge about -fprofile-{correction,reorder-functions,values}.
ccache now handles the Intel compiler option -xCODE (where CODE is a processor \ 
feature code) correctly.
Added support for NVCC’s -Werror and --Werror options.

Other
ccache’s “Directory is not hashed if using -gz[=zlib]” tests are now \ 
skipped for GCC 6.
   2020-06-29 15:40:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ccache: updated to 3.7.10

ccache 3.7.10

Bug fixes

Improved handling of profiling options. ccache should now work correctly for \ 
profiling options like -fprofile-{generate,use}[=path] for GCC ≥ 9 and Clang \ 
as well as -fauto-profile[=path] and the Clang-specific \ 
-fprofile-instr-{generate,use}[=path] and -fprofile-sample-{use,accurate} \ 
options.

ccache now copies files directly from the cache to the destination file instead \ 
of via a temporary file. This avoids problems when using filenames long enough \ 
to be near the file system’s filename max limit.

When the hard-link mode is enabled, ccache now only uses hard links for object \ 
files, not other files like dependency files. This is because compilers unlink \ 
object files before writing to them but they don’t do that for dependency \ 
files, so the latter can become overwritten and therefore corrupted in the \ 
cache.

Fixed a glitch related to hard-link mode and an empty cache.

ccache now supports the ccache.conf file to be a symlink.

Temporary files are now deleted immediately on signals like SIGTERM and SIGINT \ 
instead of some time later in a cleanup phase.

Fixed a bug that affected ccache’s -o/--set-config option for the base_dir and \ 
cache_dir_levels keys.
   2020-03-31 18:15:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ccache: updated to 3.7.9

ccache 3.7.9

Bug fixes
Fixed replacing of /dev/null when building as root with hard link mode enabled \ 
and using -o /dev/null.
Removed incorrect assertion resulting in “ccache: error: Internal error in \ 
format” when using -fdebug-prefix-map=X= with X equal to $PWD.

Other
Improved CUDA/NVCC support: Recognize -dc and -x cu options.
Improved name of temporary file used in NFS-safe unlink.
   2020-03-17 15:49:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ccache: updated to 3.7.8

ccache 3.7.8

Bug fixes
Use $PWD instead of the real CWD (current working directory) when checking for \ 
CWD in preprocessed output. This fixes a problem when $PWD includes a symlink \ 
part and the user has set hash_dir = false.
Rewrote the Windows version of the lockfile routines. This should mitigate \ 
several problems with the old implementation.
If localtime_r fails the epoch time is now logged instead of garbage.

Other
Improved error message when a boolean environment variable has an invalid value.
Improved the regression fix in ccache 3.7.5 related to not passing \ 
compilation-only options to the preprocessor.
ccache’s PCH test suite now skips running the tests if it detects broken PCH \ 
compiler support.
Fixed unit test failure on Windows.
Fixed “stringop-truncation” build warning on Windows.
Improved “x_rename” implementation on Windows.
Improved removal of temporary file when rewriting absolute paths to relative in \ 
the dependency file.
Clarified “include_file_ctime sloppiness” in the Performance section in the \ 
manual.
   2020-01-06 17:57:07 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ccache: updated to 3.7.7

ccache 3.7.7
Bug fixes

* Fixed a bug related to object file location in the dependency file (if using \ 
-MD or -MMD but not -MF and the build directory is not the same as the source \ 
directory then the object file location in the .d file would become incorrect). \ 
This fixes regression in ccache 3.7.5 introduced by the bug fix related to \ 
EDG-based compilers. Note that this removes support for EDG-based compilers \ 
again. (A better fix for this is planned for ccache 4.0.)

* Removed the unify mode since it has bugs and shortcomings that are non-trivial \ 
or impossible to fix: it doesn’t work with the direct mode, it doesn’t \ 
handle C++ raw strings correctly, it can give false cache hits for .incbin \ 
directives, it’s turned off when using -g and it can make line numbers in \ 
warning messages and __LINE__ macros incorrect.

* mtime and ctime values are now stored in the manifest files only when \ 
sloppy_file_stat is set. This avoids adding superfluous manifest file entries on \ 
direct mode cache misses.

* A “Result:” line is now always printed to the log.

* The “cache miss” statistics counter will now be updated for read-only \ 
cache misses, making it consistent with the cache hit case.
   2019-11-20 10:38:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ccache: updated to 3.7.6

ccache 3.7.6

Bug fixes
The opt-in “file_macro sloppiness” mode has been removed so that the input \ 
file path now is always included in the direct mode hash. This fixes a bug that \ 
could result in false cache hits in an edge case when “file_macro \ 
sloppiness” is enabled and several identical source files include a relative \ 
header file with the same name but in different directories.

Statistics files are no longer lost when the filesystem of the cache is full.

Bail out on too hard Clang option -MJarg (in addition to the previous bailout of \ 
-MJ arg).

Properly handle color diagnostics in the depend mode as well.