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

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


Branch: CURRENT, Version: 3.7.8, Package name: ccache-3.7.8, 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: 469822459c92eedbe6c6b8b2a2e941cdbb3d9870
RMD160: 700d429d4bbe9323fcb51ea862d1c34cfe260e08
Filesize: 491.557 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2019-10-31 11:58:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ccache: updated to 3.7.5

3.7.5:
New features
Added support for -MF=arg (with an extra equal sign) as understood by EDG-based \ 
compilers.

Bug fixes
Fixed a regression in 3.7.2 that could result in a warning message instead of an \ 
error in an edge case related to usage of “-Werror”.
An implicit -MQ is now passed to the preprocessor only if the object file \ 
extension is non-standard. This will make it easier to use EDG-based compilers \ 
(e.g. GHS) which don’t understand -MQ. (This is a bug fix of the corresponding \ 
improvement implemented in ccache 3.4.)
ccache now falls back to running the real compiler instead of failing fataly if \ 
an internal temporary file is missing after compilation.
Fixed a crash if localtime returns null pointer in localtime_r replacement.
Fixed header file dependency tracking when building ccache itself.
Fixed warning during configure in out-of-tree build in developer mode.
   2019-09-13 10:07:29 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ccache: updated to 3.7.4

ccache 3.7.4
Improvements
Added support for the -gz[=type] compiler option (previously ccache would think \ 
that “-gz” alone would enable debug information, thus potentially including \ 
the current directory in the hash).
Added support for converting paths like “/c/users/...” into relative paths \ 
on Windows.
   2019-08-19 12:13:47 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
ccache: updated to 3.7.3

ccache 3.7.3

Bug fixes
The cache size (which is counted in “used disk blocks”) is now correct on \ 
filesystems that use more or less disk blocks than conventional filesystems, \ 
e.g. ecryptfs or btrfs/zfs with transparent compression. This also fixes a \ 
related problem with ccache’s own test suite when run on such file systems.

Fixed a regression in 3.7.2 when using the compiler option “-Werror” and \ 
then “-Wno-error” later on the command line.
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2019-07-27 15:40:36 by Nia Alarie | Files touched by this commit (2) | Package updated
Log message:
ccache: Update to 3.7.2

Bug fixes

* The compiler option -gdwarf* no longer forces “run_second_cpp = true”.
* Added verification that the value passed to the -o/--set-config option
  is valid.
* Fixed detection of precompiled headers in the depend mode.
* Bail out on too hard Clang option -ftime-trace.
* ccache now updates the correct stats file when adding/updating manifest
  files.
  This bug previously made the file and size statistics counters incorrect
  over time.
* Fixed warnings from Clang about unused arguments during preprocessing.
* Unknown manifest versions are now handled gracefully in --dump-manifest.
* Fixed make check with “funny” locales.

Documentation

* Added a hint about not running autogen.sh when building from a release
  archive.
* Mention that xsltproc is needed when building from the source repository.