Copyright (C) 2002-2007 Andrew Tridgell
- Copyright (C) 2009-2019 Joel Rosdahl
+ Copyright (C) 2009-2020 Joel Rosdahl
From: JinWang An ccache copyright and license
-version 3.7.6
+version 3.7.7
+ Copyright (C) 2009-2020 Joel Rosdahl
Copyright (C) 2002-2007 Andrew Tridgell
- Copyright (C) 2009-2019 Joel Rosdahl
+Mizuha Himuraki +
+Mostyn Bramley-Moore
If true, ccache will attempt to use existing cached object files, but it - will not to try to add anything new to the cache. If you are using this - because your ccache directory is read-only, then you need to set - temporary_dir as otherwise ccache will fail to create temporary files. + will not add new results to the cache. Statistics counters will still be + updated, though, unless the stats option is set to false.
+If you are using this because your ccache directory is read-only, you need to +set temporary_dir since ccache will fail to create temporary files otherwise. +You may also want to set stats = false to make ccache not even try to update +stats files.
- If true, ccache will use a C/C++ unifier when hashing the preprocessor
- output if the -g option is not used. The unifier is slower than a normal
- hash, so setting this environment variable loses a little bit of speed, but
- it means that ccache can take advantage of not recompiling when the changes
- to the source code consist of reformatting only. Note that enabling the
- unifier changes the hash, so cached compilations produced when the unifier
- is enabled cannot be reused when the unifier is disabled, and vice versa.
- Enabling the unifier may result in incorrect line number information in
- compiler warning messages and expansions of the __LINE__
macro.
-
-the configuration setting unify is true -
-the compiler is not generating dependencies using -MD or -MMD
Release date: 2020-01-05
+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. +
+Release date: 2019-11-17
@@ -794,7 +842,7 @@ Added support for -MF=arg
(with an extra equal sign) as understood
@@ -864,7 +912,7 @@ Added support for converting paths like â/c/usersâ into relative paths on
Release date: 2019-08-17
@@ -889,7 +937,7 @@ Fixed a regression in 3.7.2 when using the compiler option â-Werrorâ and the
Release date: 2019-07-19
@@ -1346,7 +1394,7 @@ Made â./configure --without-bundled-zlibâ do whatâs intended.
Release date: 2018-09-02
@@ -1383,7 +1431,7 @@ Upgraded bundled zlib to version 1.2.11.
Release date: 2018-03-25
@@ -1427,7 +1475,7 @@ Made it possible to perform out-of-source builds in dev mode again.
Release date: 2018-02-11
@@ -1513,7 +1561,7 @@ Documented caveats related to colored warnings from compilers.
@@ -1551,7 +1599,7 @@ Improved instructions on how to get cache hits between different working
@@ -1577,7 +1625,7 @@ Documented how automatic cache cleanup works.
@@ -1660,7 +1708,7 @@ Documented the different cache statistics counters.
@@ -1690,7 +1738,7 @@ Fixed undefined behavior warnings in ccache found by Release date: 2016-10-26
@@ -1707,7 +1755,7 @@ ccache now detects usage of Release date: 2016-09-28
@@ -1732,7 +1780,7 @@ Fixed a regression in ccache 3.3.1: ccache could get confused when using the
Release date: 2016-09-07
@@ -1914,7 +1962,7 @@ Increased buffer size used when reading file data. This improves performance
@@ -1940,7 +1988,7 @@ Fixed build and test for MinGW32 and Windows.
Release date: 2016-09-28
@@ -1958,7 +2006,7 @@ Fixed a regression in ccache 3.2.8: ccache could get confused when using the
Release date: 2016-09-07
@@ -1982,7 +2030,7 @@ ccache now understands the undocumented Release date: 2016-07-20
@@ -2005,7 +2053,7 @@ ccache now knows how to work around a glitch in the output of GCC 6âs
Release date: 2016-07-12
@@ -2055,7 +2103,7 @@ Made it harder to misinterpret documentation of boolean environment settingsâ
@@ -2115,7 +2163,7 @@ The man page is now built when running âmake installâ from Git repository
Release date: 2015-10-08
@@ -2170,7 +2218,7 @@ Added support for compiler option
@@ -2224,7 +2272,7 @@ Add support for caching code coverage results (compiling for gcov).
@@ -2294,7 +2342,7 @@ Fixed build error when compiling ccache with recent Clang versions.
Release date: 2014-12-10
@@ -2526,7 +2574,7 @@ Various other improvements of the test suite.
@@ -2557,7 +2605,7 @@ Fixed test suite failures when Release date: 2016-07-12
@@ -2575,7 +2623,7 @@ Fixed a bug where (due to ccache rewriting paths) the compiler could choose
Release date: 2015-03-07
@@ -2657,7 +2705,7 @@ Stale files in the internal temporary directory (
@@ -2697,7 +2745,7 @@ Fixed problem with logging of current working directory.
Release date: 2013-01-06
@@ -2768,7 +2816,7 @@ Clang plugins are now hashed to catch plugin upgrades.
@@ -2816,7 +2864,7 @@ Fixed Release date: 2012-01-08
@@ -2899,7 +2947,7 @@ Rewrite argument to
@@ -2952,7 +3000,7 @@ Improved order of statistics counters in
@@ -2985,7 +3033,7 @@ Systems that lack (and donât need to be linked with) libm are now supported.
Release date: 2011-01-09
@@ -3018,7 +3066,7 @@ The file handle in now correctly closed on write error when trying to create
Release date: 2010-11-28
@@ -3045,7 +3093,7 @@ Portability fixes for HP-UX 11.00 and other esoteric systems.
Release date: 2010-11-21
@@ -3093,7 +3141,7 @@ The test suite now also works on systems that lack a /dev/zero.
Release date: 2010-11-07
@@ -3215,7 +3263,7 @@ Added
@@ -3301,7 +3349,7 @@ New Release date: 2010-07-15
@@ -3490,7 +3538,7 @@ The following options are no longer hashed in the preprocessor mode:
@@ -3635,9 +3683,9 @@ Statistics counters are now correctly updated for -E option failures and
-fsanitize=undefined<
Bug fixes
+Bug fixes
.incbin
assembler directives in the sou
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
-coverage
(only one dash) G
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
-gsplit-dwarf
.
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
CC
is a ccache-wrapped compiler.
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
<ccache_dir>/tmp
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
static_assert
macro definition clash with GCC 4.7.
Bug fixes
+Bug fixes
--sysroot
if CCACHE_BASEDIR
is use
Bug fixes
+Bug fixes
ccache -s
output.
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes
-install_name
as an option known to take an argument. (This i
Bug fixes
+Bug fixes
HACKING.txt
file with some notes about ccache code conventions.
Bug fixes
+Bug fixes
Bug fixes
+Bug fixes