[LuxRender/f14/master] Fix sse sse2 usage

Nicolas Chauvet kwizart at fedoraproject.org
Tue Nov 30 10:53:43 UTC 2010


commit b7dba47c6daa7aa5f969cf78a22b4d28bd4cc9de
Author: Nicolas Chauvet <kwizart at gmail.com>
Date:   Tue Nov 30 11:54:51 2010 +0100

    Fix sse sse2 usage

 LuxRender.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/LuxRender.spec b/LuxRender.spec
index 8332ee3..bac7d71 100644
--- a/LuxRender.spec
+++ b/LuxRender.spec
@@ -3,7 +3,7 @@
 
 Name:           LuxRender
 Version:        0.7.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Lux Renderer, an unbiased rendering system
 
 Group:          Applications/Multimedia
@@ -20,7 +20,7 @@ BuildRequires:  doxygen
 BuildRequires:  cmake
 
 BuildRequires:  bison
-BuildRequires:  boost-devel >= 1.43
+BuildRequires:  boost-devel
 BuildRequires:  flex
 BuildRequires:  fltk-devel
 BuildRequires:  freeimage-devel
@@ -84,7 +84,9 @@ developing applications that use %{name}.
 %patch0 -p1 -b .shared
 #Disable tweaking
 sed -i -e 's/-O3//' CMakeLists.txt
-
+%ifnarch x86_64 ia64
+sed -i -e 's/-msse2 -mfpmath=sse//' CMakeLists.txt
+%endif
 
 %build
 mkdir -p build
@@ -160,6 +162,9 @@ install -pm 0644 %{SOURCE2} \
 
 
 %changelog
+* Tue Nov 30 2010 Nicolas Chauvet <kwizart at gmail.com> - 0.7.1-2
+- We cannot assume sse2 exept on x86_64 and ia64 - rhbz#657446
+
 * Sun Nov 07 2010 Nicolas Chauvet <kwizart at gmail.com> - 0.7.1-1
 - Update to 0.7.1
 


More information about the scm-commits mailing list