about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-05-11 14:56:41 +0200
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-05-12 07:52:59 +0200
commit75ecd2e41549e6aa5492a0ba89c3b3d56caf6d8f (patch)
treee1ea748f5f34cabfb4b370356ae5ce0b72423dd3 /pkgs/development/tools
parent2806491cc410527aace39395fa521d6df1326967 (diff)
downloadnixlib-75ecd2e41549e6aa5492a0ba89c3b3d56caf6d8f.tar
nixlib-75ecd2e41549e6aa5492a0ba89c3b3d56caf6d8f.tar.gz
nixlib-75ecd2e41549e6aa5492a0ba89c3b3d56caf6d8f.tar.bz2
nixlib-75ecd2e41549e6aa5492a0ba89c3b3d56caf6d8f.tar.lz
nixlib-75ecd2e41549e6aa5492a0ba89c3b3d56caf6d8f.tar.xz
nixlib-75ecd2e41549e6aa5492a0ba89c3b3d56caf6d8f.tar.zst
nixlib-75ecd2e41549e6aa5492a0ba89c3b3d56caf6d8f.zip
ccache 3.2.1 -> 3.2.2
New features and improvements:
- Added support for "CCACHE_COMPILERCHECK=string:<value>". This is a faster
  alternative to "CCACHE_COMPILERCHECK=<command>" if the command's output
  can be precalculated by the build system.
- Add support for caching code coverage results (compiling for gcov).

Bug fixes:
- Fixed bug which could result in false cache hits when source code contains
  '"' followed by " /*" or " //" (with variations).
- Made hash of cached result created with and without "CCACHE_CPP2"
  different.  This makes it possible to rebuild with "CCACHE_CPP2" set
  without having to clear the cache to get new results.
- Don't try to reset a non-existing stats file. This avoids "No such file or
  directory" messages in the ccache log when the cache directory doesn't
  exist.
- Fixed a bug where ccache deleted clang diagnostics after compiler
  failures.
- Avoid performing an unnecessary copy of the object file on a cache miss.
- Bail out on too hard compiler option "-fmodules".
- Bail out on too hard compiler option "-fplugin=libcc1plugin" (interaction
  with GDB).
- Fixed build error when compiling ccache with recent clang versions.
- Removed signal-unsafe code from signal handler.
- Corrected logic for when to output cached stderr.
- Wipe the whole cached result on failure retrieving a cached file.
- Fixed build error when compiling ccache with recent clang versions.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/misc/ccache/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/development/tools/misc/ccache/default.nix b/pkgs/development/tools/misc/ccache/default.nix
index 7c0cfa51cd79..b0a8e1b3e2c0 100644
--- a/pkgs/development/tools/misc/ccache/default.nix
+++ b/pkgs/development/tools/misc/ccache/default.nix
@@ -1,12 +1,16 @@
 {stdenv, fetchurl, runCommand, gcc, zlib}:
 
 let
+  name = "ccache-${version}";
+  version = "3.2.2";
+  sha256 = "1jm0qb3h5sypllaiyj81zp6m009vm50hzjnx994ril94kxlrj3ag";
+
   ccache =
 stdenv.mkDerivation {
-  name = "ccache-3.2.1";
+  inherit name;
   src = fetchurl {
-    url = mirror://samba/ccache/ccache-3.2.1.tar.xz;
-    sha256 = "17dxb0adha2bqzb2r8rcc3kl9mk7y6vrvlh181liivrc3m7g6al7";
+    inherit sha256;
+    url = "mirror://samba/ccache/${name}.tar.xz";
   };
 
   buildInputs = [ zlib ];
@@ -37,8 +41,10 @@ stdenv.mkDerivation {
   };
 
   meta = with stdenv.lib; {
+    inherit version;
     description = "Compiler cache for fast recompilation of C/C++ code";
     homepage = http://ccache.samba.org/;
+    downloadPage = https://ccache.samba.org/download.html;
     license = with licenses; gpl3Plus;
     maintainers = with maintainers; [ nckx ];
   };