julia-git: pass march=pentium4 for i686 targets
https://hydra.nixos.org/build/33235880/nixlog/1/raw
This commit is contained in:
parent
b8635a2f45
commit
e5bbf35b68
@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
|
|||||||
makeFlags =
|
makeFlags =
|
||||||
let
|
let
|
||||||
arch = head (splitString "-" stdenv.system);
|
arch = head (splitString "-" stdenv.system);
|
||||||
march = { "x86_64" = "x86-64"; "i686" = "i686"; }."${arch}"
|
march = { "x86_64" = "x86-64"; "i686" = "pentium4"; }."${arch}"
|
||||||
or (throw "unsupported architecture: ${arch}");
|
or (throw "unsupported architecture: ${arch}");
|
||||||
# Julia requires Pentium 4 (SSE2) or better
|
# Julia requires Pentium 4 (SSE2) or better
|
||||||
cpuTarget = { "x86_64" = "x86-64"; "i686" = "pentium4"; }."${arch}"
|
cpuTarget = { "x86_64" = "x86-64"; "i686" = "pentium4"; }."${arch}"
|
||||||
|
Loading…
Reference in New Issue
Block a user