mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
Fix forced CPU choice according to current openblas documentation
This commit is contained in:
parent
139f8949e6
commit
4dad238bab
|
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
cpu = builtins.head (stdenv.lib.splitString "-" stdenv.system);
|
||||
|
||||
target = if cpu == "i686" then "P6" else
|
||||
target = if cpu == "i686" then "P2" else
|
||||
if cpu == "x86_64" then "CORE2" else
|
||||
# allow autodetect
|
||||
"";
|
||||
|
|
Loading…
Reference in a new issue