From 60ecc500f9e512e97f411eae563f071a3cc55c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 14 Apr 2012 18:58:30 +0000 Subject: [PATCH] Trying to fix atlas i686. I set Pentium II and having sse/sse2 at the same time for i686... I think Pentium II does not have sse. svn path=/nixpkgs/trunk/; revision=33787 --- pkgs/development/libraries/science/math/atlas/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/science/math/atlas/default.nix b/pkgs/development/libraries/science/math/atlas/default.nix index c975e2c94fb..3b390380e6f 100644 --- a/pkgs/development/libraries/science/math/atlas/default.nix +++ b/pkgs/development/libraries/science/math/atlas/default.nix @@ -29,9 +29,9 @@ stdenv.mkDerivation { # -A 18 = Pentium II # -V 192 = SSE1|SSE2 (Or it takes SSE3 somehow in my machine without SSE3) # -t 0 = No threading - configureFlags = "-Fa alg -fPIC -t 0 -V 192" + configureFlags = "-t 0" + optionalString stdenv.isi686 " -b 32 -A 18" - + optionalString stdenv.isx86_64 " -A 31" + + optionalString stdenv.isx86_64 " -A 31 -V 192" + optionalString tolerateCpuTimingInaccuracy " -Si cputhrchk 0" + optionalString shared " --shared " ;