Commit graph

62 commits

Author SHA1 Message Date
Kira Bruneau 41a997c8b2 ccache: 4.4.1 → 4.4.2 2021-09-28 20:21:37 -04:00
Ryan Burns f38d014b87 ccache: disable flaky test
test.trim_dir has transient failures, currently assumed to be
filesystem-specific as it fails on Linux systems using ZFS and on macOS (HFS+).
2021-09-14 18:01:57 -07:00
Kira Bruneau 2902a7921b ccache: 4.4 → 4.4.1 2021-09-11 10:55:11 -04:00
Sergei Trofimovich 0cc67d775f
ccache: 4.3 -> 4.4 (#135527)
Added `test.trim_dir` to exclude list on Darwin as reported by @r-burns.
2021-08-24 21:02:32 -04:00
Ryan Burns bec5a8c533 ccache: fix tests on darwin 2021-06-17 17:42:17 -07:00
Kira Bruneau cd4780fab4
maintainers: rename metadark -> kira-bruneau (#124035) 2021-05-22 16:47:40 +02:00
Kira Bruneau 3bd456e4b4 ccache: 4.2.1 → 4.3 2021-05-10 18:11:25 -04:00
Kira Bruneau dbeee74085 ccache: enable test.modules on Darwin
test.modules now passes on Darwin
2021-04-11 14:33:16 -04:00
Kira Bruneau 26f66129f8 ccache: 4.2 -> 4.2.1 2021-04-11 14:05:14 -04:00
Ryan Burns a3d19ca1c6 ccache: 4.1 -> 4.2 2021-02-01 22:58:11 -08:00
Ben Siraphob c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Kira Bruneau b61ca0219b ccache: 4.0 -> 4.1 2020-11-22 23:16:23 -05:00
Kira Bruneau 82ca111efb ccache: 3.7.12 -> 4.0
Additional changes:
- Added myself as a maintainer
- Generalized ccacheStdenv to allow overriding stdenv
2020-11-21 22:21:43 -05:00
R. RyanTM 83bf88fc66 ccache: 3.7.11 -> 3.7.12 2020-10-17 21:33:44 +00:00
R. RyanTM b66b16420c ccache: 3.7.10 -> 3.7.11 2020-07-31 21:13:49 +00:00
Matthias Treydte 4ec15456b3 ccache: 3.4.1 -> 3.7.10
The fix-debug-prefix-map-suite patch became obsolete with upstream
commit:

82010e0eb9

The skip-fs-dependent-test patch with PR:

https://github.com/ccache/ccache/pull/444
2020-07-02 19:42:10 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Frederik Rietdijk 594ca3f1cf ccache.links: make it a function of unwrappedCC
That way we can use a ccacheStdenv with e.g. a different CC:

stdenv = overrideCC gcc8Stdenv (ccacheWrapper.override { unwrappedCC
= gcc8Stdenv.cc.cc; });
2019-07-19 11:27:56 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Timofei Kushnir 15893aab47 Follow-ups to contributors' comments
- `gcc` was removed from `nativeBuildInputs`
- ccache version updated to 3.4.1
- added `man` subpackage
2018-03-01 15:36:27 +01:00
Timofei Kushnir c24c0d560d ccache: 3.3.5 -> 3.4 2018-03-01 15:36:27 +01:00
adisbladis 92d790117d
ccache: 3.3.4 -> 3.3.5 2018-01-28 06:51:28 +08:00
Tobias Geerinckx-Rice 0f84673f3d
Remove nckx as a maintainer for all packages
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00
volth 031eb79a0b ccacheWrapper: extraConfig does not handle special characters
An independent part of https://github.com/NixOS/nixpkgs/pull/28022
2017-08-10 10:13:17 +00:00
Jörg Thalheim 36b1d11188 ccache: 3.2.5 -> 3.3.4 2017-07-01 18:45:06 +01:00
Dmitry Kalinkin 96d2a6c434 ccache: improve compiler wrapper
* move compiler detection logic from nix to bash
* robust inheritance of isGNU/isClang

Fixes: d3274e8ae3 ('ccache: support clang in ccache.links')
Fixes: 634824d50b ('ccache: fix references to stdenv.cc.cc.isClang')
2016-09-18 14:54:12 -04:00
Joachim Fasting 634824d50b
ccache: fix references to stdenv.cc.cc.isClang
afa64a60bc breaks the
tarball job https://hydra.nixos.org/build/40817224/nixlog/1/raw

The problem is that there is a stdenv.cc.cc.isGNU but no corresponding
stdenv.cc.cc.isClang. The "correct" fix would be to add
stdenv.cc.cc.isClang but this is simpler.
2016-09-18 15:58:53 +02:00
Dmitry Kalinkin d3274e8ae3 ccache: support clang in ccache.links 2016-09-17 16:32:38 -04:00
Dmitry Kalinkin d7f22f96b0 ccache: enable build on macOS 2016-09-17 16:32:37 -04:00
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Aneesh Agrawal f4a2ea2203 ccacheStdenv: inherit lib output from wrapped gcc 2016-05-11 00:45:41 -04:00
Tobias Geerinckx-Rice 038b18496c
ccache: 3.2.4 -> 3.2.5 2016-04-17 18:25:07 +02:00
Tobias Geerinckx-Rice ac33b4724a More version attribute tidying where maintainers |= nckx 2016-01-25 20:08:34 +01:00
Tobias Geerinckx-Rice 8f6ae032c0 ccache: cherry-pick a (backported upstream) bug-fix 2016-01-04 15:11:51 +01:00
Anton Fedotov cbe786a530 ccache: create symlinks to gcc lib & include in ccache-links directory
This patch fixes compilation errors when using ccache wrapper:
```
cc1: error: /nix/store/19vvbsjs6l6j0r22albzhysxfvr94imf-ccache-links/lib/gcc/*/*/include-fixed: No such file or directory
```
2015-12-14 12:15:22 +03:00
Tobias Geerinckx-Rice e8ca6b7a62 ccache 3.2.3 -> 3.2.4
Bug fixes:
- Fixed build error related to zlib on systems with older make versions
  (regression in ccache 3.2.3).
- Made conversion-to-bool explicit to avoid build warnings (and potential
  runtime errors) on legacy systems.
- Improved signal handling: Kill compiler on SIGTERM; wait for compiler to
  exit before exiting; die appropriately.
- Minor fixes related to Windows support.
- The correct compression level is now used if compression is requested.
- Fixed a bug where cache cleanup could be run too early for caches larger
  than 64 GiB on 32-bit systems.
2015-10-09 21:59:51 +02:00
Tobias Geerinckx-Rice e8a55a43cf ccache: update 3.2.2 -> 3.2.3 2015-08-25 05:03:05 +02:00
lethalman 00821f4046 Merge pull request #9066 from Bevaz/ccache-isGNU
ccache: set attribute isGNU = true
2015-08-06 11:46:02 +02:00
Anton Fedotov 09b611ee8e ccache: set attribute isGNU = true 2015-07-31 16:58:03 +03:00
Anton Fedotov 16aadf2d79 ccache: create symlinks to gcc utils in ccache-links bin directory 2015-07-31 15:56:02 +03:00
Tobias Geerinckx-Rice 4023da6237 ccache: drop unnecessary perl dependency
Backport a one-line patch to remove the test suite's dependency on
perl, which, while not exactly heavy, is unnecessary.
2015-07-02 03:35:35 +02:00
Tobias Geerinckx-Rice 158e1cfdd0 Don't use "with licenses;" for single licences
And don't use square brackets on such lines.
2015-05-28 19:20:29 +02:00
Tobias Geerinckx-Rice 6396c04d9f ccache: enable tests
Let's hope this doesn't break all over the place. Works here.
2015-05-12 07:52:59 +02:00
Tobias Geerinckx-Rice 75ecd2e415 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.
2015-05-12 07:52:59 +02:00
Shea Levy f80e342e83 ccache-links is wrapped, so it needs a gcc attribute 2015-03-24 08:59:34 -04:00
Edward Tjörnhammar 33a8a51657 fetchurl: collate samba project urls into a mirror 2015-02-08 22:29:27 +01:00
Shea Levy c45372f038 Merge commit 'cfb29ab882323d379aba20a95020c7c24f883eae'
Partial staging merge, including cc-wrapper fixes

Conflicts:
	pkgs/applications/audio/spotify/default.nix
	pkgs/build-support/cc-wrapper/default.nix
	pkgs/development/compilers/cryptol/1.8.x.nix
2015-02-02 21:14:28 -05:00
Tobias Geerinckx-Rice 9a28d27c6a Update ccache 3.1.10 -> 3.2.1 2015-01-26 04:41:30 +01:00