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.3.5 -> 3.4.1 #36110
ccache: 3.3.5 -> 3.4.1 #36110
Conversation
@@ -1,18 +1,23 @@ | |||
{ stdenv, fetchurl, fetchpatch, runCommand, zlib, makeWrapper }: | |||
{ stdenv, fetchurl, fetchpatch, runCommand, perl, gcc, zlib, makeWrapper }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a particular reason why gcc is a native build input? gcc should be part of stdenv.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without perl
tests will fail with this error:
PASSED: 483 assertions, 96 tests, 10 suites
CC='gcc' /nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash ./test/run
./test/run: line 51: perl: command not found
Compiler: gcc ()
Compiler version: gcc (GCC) 7.3.0
./test/run: line 51: perl: command not found
./test/run: line 51: perl: command not found
CUDA compiler: not available
Running test suite base../test/suites/base.bash: line 5: -c: command not found
FAILED
Test suite: base
Test case: Base case
Failure reason: Objects differ: reference_test1.o != test1.o
ccache -s:
cache directory /tmp/nix-build-ccache-3.4.1.drv-2/ccache-3.4.1/testdir.24043/.ccache
primary config /tmp/nix-build-ccache-3.4.1.drv-2/ccache-3.4.1/testdir.24043/ccache.conf
secondary config (readonly)
stats zero time Wed Feb 28 13:47:29 2018
cache hit (direct) 0
cache hit (preprocessed) 0
cache miss 1
cache hit rate 0.00 %
cleanups performed 0
files in cache 1
cache size 4.1 kB
max cache size 5.0 GB
Test data and log file have been left in testdir.24043
make: *** [Makefile:106: test] Error 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gcc
was removed from nativeBuildInputs
.
- `gcc` was removed from `nativeBuildInputs` - ccache version updated to 3.4.1 - added `man` subpackage
@GrahamcOfBorg build ccache |
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Motivation for this change
Update ccache version and make it working with GCC 7.3.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)