I hope now I guess fine how to tell ATLAS not to accept any simd for i686.

svn path=/nixpkgs/trunk/; revision=33793
This commit is contained in:
Lluís Batlle i Rossell 2012-04-15 12:44:48 +00:00
parent e612f476c4
commit 8f50680a05

View File

@ -28,10 +28,10 @@ stdenv.mkDerivation {
# -A 31 = Athlon K7
# -A 18 = Pentium II
# -V 192 = SSE1|SSE2 (Or it takes SSE3 somehow in my machine without SSE3)
# -V 0 = No SIMD (Pentium II does not have any SSE)
# -V 1 = No SIMD (Pentium II does not have any SSE)
# -t 0 = No threading
configureFlags = "-Fa alg -fPIC -t 0"
+ optionalString stdenv.isi686 " -b 32 -A 18 -V 0"
+ optionalString stdenv.isi686 " -b 32 -A 18 -V 1"
+ optionalString stdenv.isx86_64 " -A 31 -V 192"
+ optionalString tolerateCpuTimingInaccuracy " -Si cputhrchk 0"
+ optionalString shared " --shared "