Aquí hi ha 21 versions de Ccache, des de 5 de febrer del 2024 fins a l’actual, 4.14.1. Cadascuna enllaça amb els instal·ladors del mateix desenvolupador.
21 versions en 3 anys · unes 7,9 per any
| Versió | Data | Mida | Fitxers |
|---|---|---|---|
| 4.14.1Darrera versió | 27 de setembre del 2026 | — | 64 bits ZIPARM64 ZIP Notes de la versióNew deliverables
- Added musl static binary release for Linux s390x.
[contributed by Ludovic Henry]
Bug fixes
- Restored storage helper lock compatibility with ccache versions earlier than 4.14.
[contributed by Joel Rosdahl]
- Fixed lookup of GCC 9+ profile data for object files in subdirectories and added support for GCC’s -fprofile-partial-training option.
[contributed by Yichen Yan]
- Fixed the output location of files produced by GCC’s -fdump-ipa-clones option.
[contributed by Jiri Slaby]
- Fixed hashing of C++20 module files found via Clang’s -fprebuilt-module-path option, preventing false cache hits when a module changes.
[contributed by Gareth Andrew Lloyd]
- Made ccache reject clang-cl’s /clang: option and MSVC’s /FA and /Fa options instead of potentially caching compilations incorrectly.
[contributed by Joel Rosdahl]
- Fixed cleanup of temporary response files on Windows.
[contributed by Joel Rosdahl]
Build improvements
- Avoided passing a superfluous -include option when building with MSVC.
[contributed by Joel Rosdahl]
Test improvements
- Made the remote_file and remote_only test suites work on Windows.
[contributed by Joel Rosdahl]
- Improved MSVC test failure diagnostics.
[contributed by Joel Rosdahl]
- Improved skip messages for test suites known to fail on Windows.
[contributed by Joel Rosdahl] |
| 4.14 | 23 d’agost del 2026 | — | 64 bits ZIPARM64 ZIP Notes de la versióDeprecation notice
Built-in support for the HTTP and Redis protocols will be removed in the next non-bug-fix ccache version. Use the remote storage helper mechanism (added in ccache 4.13) for HTTP/Redis storage instead.
Removed functionality
- Removed the cpp_extension (CCACHE_EXTENSION) configuration option since ccache now processes preprocessor output directly in memory instead of using intermediate files. [contributed by Joel Rosdahl]
New features and improvements
- Added support for the QCC (QNX) compiler. [contributed by Joy Wang]
- Added limited support for caching SARIF diagnostics: -fdiagnostics-format=sarif-stderr and -fdiagnostics-{add,set}-output=sarif:file=… for GCC, /experimental:log for MSVC. [contributed by Joel Rosdahl, Karl Fessel and Leander Schulten]
- Added automatic depend mode for NVCC on Windows. [contributed by Xing Xiwen]
- Added support for @layout=local in the file storage backend, allowing a copy or read-only mount of a local cache to be used as remote storage. [contributed by Joel Rosdahl]
- Extended the remote storage helper protocol with an exists operation, avoiding transfer of already stored values in reshare mode, and an info operation for reporting the helper’s identity and diagnostics. [contributed by Joel Rosdahl]
- Added a --dry-run option for previewing cleanup, eviction and directory trimming operations without removing files. [contributed by Joel Rosdahl]
- Added support for rewriting absolute profile data file paths to relative, improving cache sharing between different directory trees. [contributed by GitHub user markyang92]
- Added support for reflinking .dwo files when file cloning is enabled. [contributed by Fabian Parzefall]
- Added detection of C23 #embed directives in direct and depend mode and of assembler .incbin directives in depend mode, preventing false cache hits. [contributed by Joel Rosdahl and Haaris Rahman]
- Added support for -Wp, options with multiple macro definitions. [contributed by GitHub user subotac]
- Ccache now hashes the contents of Clang module files specified with -fmodule-file=, preventing false cache hits when a module changes. [contributed by GitHub user RedNicStone]
- Cleanup and eviction operations now print the amount of data and number of files removed. [contributed by Joel Rosdahl]
- Increased the maximum number of raw files stored in a cached result to 256. [contributed by Joel Rosdahl]
- Modernized use of C++ type traits. [contributed by Gregor Jasny]
- Improved portability of compiler exit status handling. [contributed by Joel Rosdahl]
- Made path rewriting on Windows case-insensitive and Unicode-aware. [contributed by Joel Rosdahl]
- Made ignore_headers_in_manifest match case-insensitively on Windows. [contributed by GitHub user trustytrojan]
- Reduced the number of system calls for IPC requests. [contributed by Joel Rosdahl]
Bug fixes
- Fixed base_dir path rewriting when using MSVC’s /Yu option: paths are no longer rewritten to relative when using a precompiled header, since MSVC then does not like relative paths for the /Yu and /FI arguments. [contributed by Joel Rosdahl]
- Fixed handling of compiler options when one recognized option is a prefix of another. [contributed by Joel Rosdahl]
- Fixed base_dir handling for include paths in preprocessor mode (regression in ccache 4.12.2). [contributed by Joel Rosdahl]
- Fixed handling of Clang 22’s --warning-suppression-mappings option. [contributed by Joel Rosdahl] |
| 4.13.6 | 4 de maig del 2026 | — | 64 bits ZIPARM64 ZIP Notes de la versióBug fixes and improvements
- Fixed a potential manifest/result cache key collision in MSVC depend mode when compiling a source file with no included files. [contributed by Joel Rosdahl]
- Improved robustness when parsing cache entry data structures. [contributed by Joel Rosdahl]
Test improvements
- Changed the remote_helper test suite to skip gracefully when the storage test helper is unavailable, avoiding failures when testing a system-installed ccache. [contributed by Joel Rosdahl] |
| 4.13.5 | 26 d’abril del 2026 | — | 64 bits ZIPARM64 ZIP Notes de la versióBug fixes and improvements
- Increased default storage helper data and request timeouts to 10 seconds and 1 minute respectively, improving robustness on heavily loaded systems. [contributed by Joel Rosdahl]
- Improved robustness when connecting to newly spawned storage helpers by waiting longer for them to accept connections. [contributed by Joel Rosdahl]
- Synchronized writing to the stats log file. [contributed by Joel Rosdahl]
- Added logging of the PID of spawned storage helpers on Windows too. [contributed by Joel Rosdahl]
Build improvements
- Added include guards to bundled CMake find modules, avoiding problems when they are included multiple times. [contributed by Joel Rosdahl]
Documentation improvements
- Moved the description of timeout suffixes to the correct place in the documentation. [contributed by Joel Rosdahl] |
| 4.13.4 | 19 d’abril del 2026 | — | 64 bits ZIPARM64 ZIP Notes de la versióNew deliverables
- Added musl static binary release for Linux riscv64.
[contributed by Ludovic Henry] |
| 4.13.3 | 12 d’abril del 2026 | — | 64 bits ZIPARM64 ZIP Notes de la versióNew deliverables
- Added glibc binary release for Linux riscv64. [contributed by Ludovic Henry]
Bug fixes and improvements
- Fixed handling of empty responses from remote storage backends: a response with an empty body is now treated as a storage error rather than a cache miss. [contributed by Björn Svensson]
- Fixed PCH invalidation when the MSVC toolset is updated. [contributed by Philipp Kolberg]
- Fixed base_dir path rewriting when using MSVC’s /Yc option: paths are no longer rewritten to relative when creating a precompiled header, since MSVC then does not like relative paths for the /Yc and /FI arguments. [contributed by Joel Rosdahl]
- Fixed handling of a directory-less path to the MSVC /FI option. [contributed by Joel Rosdahl]
- Added support for -fsanitize-ignorelist (which replaced -fsanitize-blacklist in Clang 13). [contributed by Joel Rosdahl]
- Fixed detection of type for compiler with . in the name (e.g. hppa2.0-unknown-linux-gnu-gcc). [contributed by Joel Rosdahl]
- Fixed install.sh to correctly use sysconfdir and other configuration variables from the Makefile. [contributed by Joel Rosdahl]
Build improvements
- Changed cmake/FindCppHttplib.cmake to use settings from the system’s CMake config if available, supporting systems where cpp-httplib is not provided as a header-only library. [contributed by Jiri Slaby] |
| 4.13.2 | 22 de març del 2026 | — | 64 bits ZIPARM64 ZIP Notes de la versióNew deliverables
- Added tar.gz archives for Linux binary releases.
[contributed by Joel Rosdahl]
- Added installation script for Linux binary releases.
[contributed by Joel Rosdahl]
Bug fixes and improvements
- Fixed LTO handling when -fno-lto follows -flto: LTO is now properly disabled in this case.
[contributed by Kristian Sloth Lauszus]
- Fixed crash when using MSVC /Yc without /Fp.
[contributed by Joel Rosdahl]
- Fixed rewriting of MSVC /FI argument to a relative path when base_dir is set.
[contributed by Joel Rosdahl]
- Improved robustness when parsing broken cache entry files.
[contributed by Joel Rosdahl]
- Fixed atime/mtime restoration when recompressing a file.
[contributed by Joel Rosdahl]
Test improvements
- Fixed test failures for remote_helper tests when $PWD is long.
[contributed by Joel Rosdahl]
- Improved robustness of remote_helper tests on slow systems.
[contributed by Maksym Sobolyev]
- Relaxed util::exec_to_string unit test for portability.
[contributed by Maksym Sobolyev]
- Removed unnecessary, compiler-specific checks in -flto tests.
[contributed by Joel Rosdahl] |
| 4.13.1 | 9 de març del 2026 | — | 64 bits ZIPARM64 ZIP Notes de la versióBug fixes and improvements
- Fixed handling of extensionless input files passed with -x assembler (regression in 4.13). [contributed by Joel Rosdahl]
- Fixed a crash when searching for a storage helper next to the ccache executable. [contributed by Joel Rosdahl]
- Fixed atime restoration when the recompressor fails to read a file. [contributed by Joel Rosdahl]
- Improved storage helper lookup order to prefer libexec directories over PATH. [contributed by Joel Rosdahl]
- Improved reliability of finding the ccache executable path by using OS-specific APIs instead of relying on argv[0], which is not guaranteed to reflect the actual executable location. [contributed by Joel Rosdahl]
- Improved handling of -fstack-usage and -fcallgraph-info output files when LTO is used: ccache now correctly skips looking for .su and .ci files that are not generated during compilation with LTO. [contributed by Kristian Sloth Lauszus]
Build fixes
- Fixed build on systems that have utimes(2) but not utimensat(2). [contributed by Joel Rosdahl]
- Fixed mktemp(1) calls in build scripts to pass a template argument for portability to macOS/BSD. [contributed by Joel Rosdahl] |
| 4.13 | 5 de març del 2026 | — | 64 bits ZIPARM64 ZIP Notes de la versióUpgrade notes:
- A C++20-capable compiler is now required to build ccache from source. Minimum supported compiler versions are GCC 10, Clang 12 and Apple Clang 10.
- Caching MSVC (cl.exe) compilations is now officially supported.
New deliverables:
- Added Linux binary releases statically linked with musl. (contributed by Joel Rosdahl)
Removed deliverables:
- Discontinued 32-bit Windows binary releases. (contributed by Joel Rosdahl)
New features and improvements:
- Added support for remote storage helpers: long-lived local helper processes spawned on demand for communicating with remote storage servers. Storage helpers allow support for new storage protocols to be developed and released independently of ccache. Built-in support for HTTP and Redis will likely be removed in a future release. (contributed by Joel Rosdahl)
- Added support for directory-specific configuration files. Ccache now looks for a ccache.conf file in the current working directory and its parent directories, enabling per-project configuration without modifying the user’s cache-specific config file. (contributed by Joel Rosdahl)
- Added msvc_utf8 config option to allow disabling /utf-8 for MSVC when using the fallback method of parsing preprocessed output. (contributed by Max Winkler)
- Added support for caching distributed ThinLTO for Clang. (contributed by GitHub user zcfh)
- Added support for caching MSVC /sourceDependencies file. (contributed by Joel Rosdahl)
- Added handling of Apple Clang’s -index-unit-output-path option. (contributed by Joel Rosdahl)
- Improved compiler detection on macOS by resolving the actual compiler via $DEVELOPER_DIR or xcode-select when /usr/bin/clang(++) shims that redirect to different compilers are used. (contributed by Joel Rosdahl)
- Added support for rewriting -fcoverage-compilation-dir and -fcoverage-prefix-map absolute paths (similar to existing base_dir rewriting). (contributed by Evgeniy Isaev)
- Added support for rewriting absolute paths in -fsanitize-blacklist option arguments. (contributed by Diego Alonso)
- Added support for multi-line configuration values. (contributed by Joel Rosdahl)
- Improved file copy performance by using copy_file_range(2) when available. (contributed by Oleg Sidorkin)
- Added h, m and ms as accepted time unit suffixes for --evict-older-than (in addition to the existing d and s). (contributed by Joel Rosdahl)
- Merged --recompress-threads and --trim-recompress-threads options into --threads. The old options are still accepted for backward compatibility. (contributed by Joel Rosdahl)
- Improved performance of -x/--show-compression and -X/--recompress by using threads in parallel. (contributed by Joel Rosdahl)
- Added logging of errors and file size changes when recompressing cache files. (contributed by Joel Rosdahl)
Bug fixes:
- Fixed use of monotonic clock for spin locks in the inode cache code. (contributed by Joel Rosdahl)
Build improvements:
- Fixed conditional enabling of the assembler language in CMake to avoid enabling both ASM and ASM_MASM on the same platform. (contributed by Steffen Winter)
- Fixed inclusion of config.h to only apply to C and C++ compilation units, not assembler files. This avoids a problem when building with Clang on Windows. (contributed by Joel Rosdahl)
- Disabled legacy ZSTD support when compiling ZSTD from source to avoid -Wmaybe-uninitialized warnings. (contributed by Joel Rosdahl)
- Removed check for (on POSIX) mandatory spawn.h header. (contributed by Joel Rosdahl)
Documentation improvements:
- Added generation of documentation in Markdown format. (contributed by Joel Rosdahl)
Test improvements:
- Added a basic integration test suite for MSVC. (contributed by Joel Rosdahl)
- Added an integration test for --serialize-diagnostics. (contributed by Joel Rosdahl)
- Added support for Valkey in the remote_redis test suite. (contributed by Joel Rosdahl)
- Fixed -march=native test to work reliably on hybrid CPU systems. (contributed by Joel Rosdahl) |
| 4.12.3 | 7 de febrer del 2026 | — | 64 bits ZIP32 bits ZIP Notes de la versió- Generic source code release (tar.gz) (signature)
- Generic source code release (tar.xz) (signature)
- Darwin (macOS) universal binary release (signature)
- Linux aarch64 binary release (signature)
- Linux x86_64 binary release (signature)
- Windows aarch64 binary release (signature)
- Windows i686 binary release (signature)
- Windows x86_64 binary release (signature)
- Release notes
- Manual |
| 4.12.2 | 26 de novembre del 2025 | — | 64 bits ZIP32 bits ZIP Notes de la versió- Generic source code release (tar.gz) (signature)
- Generic source code release (tar.xz) (signature)
- Darwin (macOS) universal binary release (signature)
- Linux aarch64 binary release (signature)
- Linux x86_64 binary release (signature)
- Windows aarch64 binary release (signature)
- Windows i686 binary release (signature)
- Windows x86_64 binary release (signature)
- Release notes
- Manual |
| 4.12.1 | 1 d’octubre del 2025 | — | 64 bits ZIP32 bits ZIP Notes de la versió- Generic source code release (tar.gz) (signature)
- Generic source code release (tar.xz) (signature)
- Darwin (macOS) universal binary release (signature)
- Linux aarch64 binary release (signature)
- Linux x86_64 binary release (signature)
- Windows aarch64 binary release (signature)
- Windows i686 binary release (signature)
- Windows x86_64 binary release (signature)
- Release notes
- Manual |
| 4.12 | 14 de setembre del 2025 | — | 64 bits ZIP32 bits ZIP Notes de la versió- Generic source code release (tar.gz) (signature)
- Generic source code release (tar.xz) (signature)
- Darwin (macOS) universal binary release (signature)
- Linux aarch64 binary release (signature)
- Linux x86_64 binary release (signature)
- Windows aarch64 binary release (signature)
- Windows i686 binary release (signature)
- Windows x86_64 binary release (signature)
- Release notes
- Manual |
| 4.11.3 | 3 de maig del 2025 | — | 64 bits ZIP32 bits ZIP Notes de la versióBug fixes
- Fixed handling of Apple Clang -Xpreprocessor -fopenmp options (regression in ccache 4.10).
[contributed by Joel Rosdahl]
Build improvements
- Adapted unit test code to compile with doctest 2.4.12.
[contributed by Joel Rosdahl]
Test improvements
- Silenced benign compiler warning in the profiling_gcc_10+ suite.
[contributed by Joel Rosdahl] |
| 4.11.2 | 22 de març del 2025 | — | 64 bits ZIP32 bits ZIP Notes de la versió- Generic source code release (tar.gz) (signature)
- Generic source code release (tar.xz) (signature)
- Darwin (macOS) universal binary release (signature)
- Linux x86_64 binary release (signature)
- Windows i686 binary release (signature)
- Windows x86_64 binary release (signature)
- Release notes
- Manual |
| 4.11.1 | 17 de març del 2025 | — | 64 bits ZIP32 bits ZIP Notes de la versió- Generic source code release (tar.gz) (signature)
- Generic source code release (tar.xz) (signature)
- Darwin (macOS) universal binary release (signature)
- Linux x86_64 binary release (signature)
- Windows i686 binary release (signature)
- Windows x86_64 binary release (signature)
- Release notes
- Manual |
| 4.11.0 | 9 de març del 2025 | — | 64 bits ZIP32 bits ZIP Notes de la versió- Generic source code release (tar.gz) (signature)
- Generic source code release (tar.xz) (signature)
- Darwin (macOS) universal binary release (signature)
- Linux x86_64 binary release (signature)
- Windows i686 binary release (signature)
- Windows x86_64 binary release (signature)
- Release notes
- Manual |
| 4.10.2 | 22 de juliol del 2024 | — | 64 bits ZIP32 bits ZIP Notes de la versióBuild improvements
- Fixed detection of Fmt version 11 and newer.
[contributed by Holger Hoffstätte and Joel Rosdahl]
Test improvements
- Made the “-fprofile-update=atomic” test only run when that option is supported by the compiler.
[contributed by Joel Rosdahl]
- Made the color diagnostics tests work when the user running the tests has a non-POSIX login shell.
[contributed by Anders F Björklund] |
| 4.10.1 | 30 de juny del 2024 | — | 64 bits ZIP32 bits ZIP Notes de la versióBug fixes
- Fixed prefix command lookup from `PATH`.
[contributed by Romain Geissler]
Build improvements
- Fixed detection and usage of system blake3.
[contributed by Carlo Cabrera]
- Find CppHttplib named libhttplib.so as well.
[contributed by Sam James]
- Removed Xcode assembly workaround for zstd.
[contributed by Gregor Jasny]
- Added bundled subset of Fmt again for convenience.
[contributed by Joel Rosdahl]
- Removed no longer needed workaround when building downloaded Zstd.
[contributed by Joel Rosdahl]
Documentation improvements
- Clarified that `--set-config` writes to the configuration file.
[contributed by Joel Rosdahl] |
| 4.10 | 29 de maig del 2024 | — | 64 bits ZIP32 bits ZIP Notes de la versióNew features and improvements
- Added support for GCC option `-fcallgraph-info`.
[contributed by Raihaan Shouhell]
- Added support for GCC option `-fprofile-update`.
[contributed by Raihaan Shouhell]
- Added support for GCC option `-fdump-ipa-clones`.
[contributed by Jiri Slaby]
- Added support for the MSVC `/Yc` option (precompiled header).
[contributed by Clemens Wasser, Thomas Ferrand and Silver Zachara]
- Added support for the MSVC `/Tc<path>` and `/Tp<path>` options (specifying source code type).
[contributed by Joel Rosdahl]
- Added an experimental inode cache implementation for Windows. This speeds up ccache a lot when many headers are included, both for cache hits and cache misses.
> NOTE:
> This feature is currently disabled by default, but interested Windows users are encouraged to try it out by setting [inode_cache = true](https://ccache.dev/manual/4.10.html#config_inode_cache).
[contributed by Thomas Ferrand]
- Added knowledge of Xcode option `-ivfsstatcache`.
[contributed by Joel Rosdahl]
- Added support for Apple Clang option `-Xpreprocessor -fopenmp` in direct mode.
[contributed by Joel Rosdahl]
- Added knowledge of Emscripten option `--em-config`.
[contributed by Byoungchan Lee]
- Reduced the risk of false positive direct mode hits.
[contributed by Joel Rosdahl]
- Clear direct mode manifest on recache.
[contributed by Joel Rosdahl]
- Optimized file reading on Windows.
[contributed by Clemens Wasser]
- Optimized file copying performed when [hard linking](https://ccache.dev/manual/4.10.html#config_hard_link) or [file cloning](https://ccache.dev/manual/4.9.html#config_file_clone) is enabled.
[contributed by Raihaan Shouhell]
- Use `posix_spawn(3)` for executing compiler check commands.
[contributed by Brendan Shanks]
- The [prefix_command](https://ccache.dev/manual/4.10.html#config_prefix_command) and [prefix_command_cpp](https://ccache.dev/manual/4.10.html#config_prefix_command_cpp) configuration options now allow any prefix, not only programs that exist in `PATH`. This means that prefix_command now can be a program with arguments.
[contributed by Joel Rosdahl]
- Added a new `incbin` [sloppiness](https://ccache.dev/manual/4.10.html#config_sloppiness) value for ignoring presence of `.incbin` directives in the source code.
[contributed by Raihaan Shouhell]
- Added a `--print-log-stats` option that prints a machine-parsable variant of `--show-log-stats`.
[contributed Kaspar Schleiser]
- Added a `--format` option for selecting JSON or tab format for `--print-stats` and `--print-log-stats`.
[contributed Kaspar Schleiser]
- Added a `--print-version` option for printing ccache version in machine-parsable format.
[contributed by Silver Zachara]
- The `--inspect` option now retains access time (atime) of the inspected file if possible.
[contributed by Joel Rosdahl]
Bug fixes
- Fixed reading of files larger than 2^31 bytes on some systems where this was a problem.
[contributed by Joel Rosdahl]
- Improved handling of large files on 32-bit systems.
[contributed by Joel Rosdahl]
- Nonexistent include files are allowed in preprocessor mode again, fixing regression in ccache 4.9.1.
[contributed by Joel Rosdahl]
- The Clang `-fdiagnostics-color` option is now handled again, fixing regression in ccache 4.6.2.
[contributed by Joel Rosdahl]
- Fixed assertion failure on Windows mapped network drives.
[contributed by Joel Rosdahl]
- Fixed handling of MSVC options `/Fp` and `/Yu`.
[contributed by Silver Zachara]
- Fixed lock file implementation on MSYS2.
[contributed by an anonymous user]
- The “apparent real path” of the object file is now added to the input hash when using `-fprofile-arcs` to avoid false positive hits in some scenarios.
[contributed by Joel Rosdahl]
- When generating profiling information, [run_second_cpp](https://ccache.dev/manual/4.10.html#config_) is now forced to true so that the coverage report won’t refer to a temporary preprocessed file.
[contributed by Joel Rosdahl]
Build impro |
| 4.9.1 | 5 de febrer del 2024 | — | 64 bits ZIP32 bits ZIP Notes de la versióBug fixes
- Improved detection of bad remote storage URLs gracefully. This also fixes crashes seen in ccache’s own test suite.
[contributed by Joel Rosdahl]
- 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.
[contributed by Joel Rosdahl]
- Fixed an MSVC crash when using /Zi with many concurrent compilations.
[contributed by Joel Rosdahl]
- Fixed a crash when -arch is the last compiler option.
[contributed by Joel Rosdahl] |