Author: viric
Date: Sat Apr 14 22:00:12 2012
New Revision: 33789
URL: https://nixos.org/websvn/nix/?rev=33789&sc=1
Log:
I think we better disable SIMD for i686. Or it can detect whatever the machine
has.
Modified:
nixpkgs/trunk/pkgs/development/libraries/science/math/atlas/default.nix
Modified:
nixpkgs/trunk/pkgs/development/libraries/science/math/atlas/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/libraries/science/math/atlas/default.nix
Sat Apr 14 21:40:55 2012 (r33788)
+++ nixpkgs/trunk/pkgs/development/libraries/science/math/atlas/default.nix
Sat Apr 14 22:00:12 2012 (r33789)
@@ -28,9 +28,10 @@
# -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)
# -t 0 = No threading
configureFlags = "-t 0"
- + optionalString stdenv.isi686 " -b 32 -A 18"
+ + optionalString stdenv.isi686 " -b 32 -A 18 -V 0"
+ optionalString stdenv.isx86_64 " -A 31 -V 192"
+ optionalString tolerateCpuTimingInaccuracy " -Si cputhrchk 0"
+ optionalString shared " --shared "
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits