mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[General/Optimizations] Use undocumented gccarch supportedFeature
This commit is contained in:
parent
2e347eab63
commit
6b2e927fa3
1 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ let
|
||||||
speedFactor = getSpeed cores threads;
|
speedFactor = getSpeed cores threads;
|
||||||
supportedFeatures = [ "kvm" "benchmark" ]
|
supportedFeatures = [ "kvm" "benchmark" ]
|
||||||
++ optional (speedFactor > 8) "big-parallel"
|
++ optional (speedFactor > 8) "big-parallel"
|
||||||
++ optional (x86ver >= 2) "arch-x86-64-v2"
|
++ optional (x86ver >= 2) "gccarch-x86-64-v2"
|
||||||
++ optional (x86ver >= 3) "arch-x86-64-v3"
|
++ optional (x86ver >= 3) "gccarch-x86-64-v3"
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue