[ccache] ccache version 3.5 has been released

Joel Rosdahl joel at rosdahl.net
Mon Oct 15 20:15:50 UTC 2018

ccache version 3.5 is now available.

Details may be read in the release notes:


Source archives are available here:


The source archives have been signed with my OpenPGP key (ID 5594ADB8,
fingerprint 5A93 9A71 A467 92CF 5786 6A51 996D DA07 5594 ADB8):


You can run “gpg --verify ccache-3.5.tar.*.asc” to check the source
archive integrity after download.


- Added a boolean “debug” (“CCACHE_DEBUG”) configuration option. When
  enabled, ccache will create per-object debug files that are helpful
  e.g. when debugging unexpected cache misses. See also the new “Cache
  debugging” section in the manual.

- Renamed “CCACHE_CC” to “CCACHE_COMPILER” (keeping the former as a
  deprecated alias).

- Added a new command-line option “-k/--get-config” that prints the
  value of a config key.

- It is now possible to let ccache hash a precomputed checksum file
  instead of the full content of a precompiled header. This can save
  time for large precompiled headers. Note that the build system needs
  to keep the checksum file in sync with the precompiled header for this
  to work.

- Improved performance substantially when using “hash_dir = false” on
  platforms like macOS where “getcwd()” is slow.

- Added “stats updated” timestamp in “ccache -s” output. This can be
  useful if you wonder whether ccache actually was used for your last

- Renamed “stats zero time” to “stats zeroed” and documented it. The
  counter is also now only present in “ccache -s” output when “ccache
  -z” actually has been called.

- The content of the “-fsanitize-blacklist” file is now included in the
  hash, so updates to the file will now correctly result in separate
  cache entries.

- It’s now possible to opt out of building and installing man pages when
  running “make install” in the source repository.

- If the compiler type can’t be detected (e.g. if it is named “cc”), use
  safer defaults that won’t trip up Clang.

- Made the ccache test suite work on FreeBSD.

- Added “file_stat_matches_ctime” option to disable ctime check if
  “file_stat_matches” is enabled.

- Made “./configure --without-bundled-zlib” do what’s intended.

-- Joel

More information about the ccache mailing list