From 30d7a7fbe1e52f7b8f50cfb557ebce5d35ea2e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 14 Apr 2012 22:00:12 +0000 Subject: [PATCH] I think we better disable SIMD for i686. Or it can detect whatever the machine has. svn path=/nixpkgs/trunk/; revision=33789 --- pkgs/development/libraries/science/math/atlas/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/science/math/atlas/default.nix b/pkgs/development/libraries/science/math/atlas/default.nix index 3b390380e6f..58fd2422159 100644 --- a/pkgs/development/libraries/science/math/atlas/default.nix +++ b/pkgs/development/libraries/science/math/atlas/default.nix @@ -28,9 +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) # -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 "