Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccache: 3.4.1 -> 3.7.10 #91589

Merged
merged 1 commit into from Jul 2, 2020
Merged

ccache: 3.4.1 -> 3.7.10 #91589

merged 1 commit into from Jul 2, 2020

Conversation

waldheinz
Copy link
Contributor

Motivation for this change

We're using Nix - provided ccache and were bitten by

ccache/ccache#599

This is the first release fixing this problem. The patches for disabling blocksize-dependent tests were dropped (the tests run without problems at least on ext4 and zfs).

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Copy link
Contributor

@danieldk danieldk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for contributing to nixpkgs! I have added one requested change.

pkgs/development/tools/misc/ccache/default.nix Outdated Show resolved Hide resolved
@waldheinz
Copy link
Contributor Author

waldheinz commented Jun 28, 2020 via email

Copy link
Contributor

@danieldk danieldk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for documenting the patches. One more small suggested change.

@@ -1,29 +1,23 @@
{ stdenv, fetchurl, perl, zlib, makeWrapper }:
{ stdenv, fetchFromGitHub, asciidoc-full, gperf, perl, autoconf, zlib, makeWrapper }:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{ stdenv, fetchFromGitHub, asciidoc-full, gperf, perl, autoconf, zlib, makeWrapper }:
{ stdenv, fetchFromGitHub, asciidoc-full, gperf, perl, autoreconfHook, zlib, makeWrapper }:

pkgs/development/tools/misc/ccache/default.nix Outdated Show resolved Hide resolved
pkgs/development/tools/misc/ccache/default.nix Outdated Show resolved Hide resolved
@danieldk danieldk requested a review from nh2 July 1, 2020 12:06
The fix-debug-prefix-map-suite patch became obsolete with upstream
commit:

ccache/ccache@82010e0

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

ccache/ccache#444
@danieldk
Copy link
Contributor

danieldk commented Jul 2, 2020

Result of nixpkgs-review pr 91589 1

3 packages built:
- baresip
- ccache
- ccacheStdenv

(webbrowser was too large a dependency to test.)

I also updated the commit message a bit to have links to the changes that deprecate the patches. Will merge when ofborg is happy.

@danieldk danieldk merged commit 805ab8c into NixOS:master Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants