3
0
Fork 0
forked from mirrors/nixpkgs

pkgsCross.avr.buildPackages.gcc{10,11}: avoid log limit on hydra

When upgrading from gcc 9 to 10, avr-gcc started to hit the hydra log
limit, preventing the binary cache from being populated.

This commit tries to workaround this issue by passing `-s` to make for
avr-gcc 10 and 11 which seem to exhibit this problem.

Reference #135605.
This commit is contained in:
sternenseemann 2021-08-25 21:05:28 +02:00
parent e0701ba2d6
commit d01533ceab
2 changed files with 2 additions and 0 deletions

View file

@ -147,6 +147,7 @@ stdenv.mkDerivation ({
else "")
+ lib.optionalString targetPlatform.isAvr ''
makeFlagsArray+=(
'-s' # workaround for hitting hydra log limit
'LIMITS_H_TEST=false'
)
'';

View file

@ -152,6 +152,7 @@ stdenv.mkDerivation ({
else "")
+ lib.optionalString targetPlatform.isAvr ''
makeFlagsArray+=(
'-s' # workaround for hitting hydra log limit
'LIMITS_H_TEST=false'
)
'';