[gazebo] Enable sse2 on x86_64

rmattes rmattes at fedoraproject.org
Thu Jul 17 02:23:43 UTC 2014


commit ef8a7356011f341adb3374a5911c1e42e521b9db
Author: Rich Mattes <richmattes at gmail.com>
Date:   Wed Jul 16 21:59:11 2014 -0400

    Enable sse2 on x86_64

 gazebo.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/gazebo.spec b/gazebo.spec
index e48d797..e424afa 100644
--- a/gazebo.spec
+++ b/gazebo.spec
@@ -172,8 +172,14 @@ pushd build
 %cmake  \
  -DCMAKE_VERBOSE_MAKEFILE=ON \
  -DLIB_INSTALL_DIR:STRING="%{_lib}" \
- -DSSE2_FOUND=OFF -DSSE3_FOUND=OFF \
- -DSSSE3_FOUND=OFF -DSSE4_1_FOUND=OFF \
+%ifnarch x86_64
+ -DSSE2_FOUND=OFF \
+%else
+ -DSSE2_FOUND=ON \
+%endif
+ -DSSE3_FOUND=OFF \
+ -DSSSE3_FOUND=OFF \
+ -DSSE4_1_FOUND=OFF \
  -DSSE4_2_FOUND=OFF \
  -Dogre_library_dirs=%{_libdir} \
  -DCMAKE_BUILD_TYPE=RelWithDebInfo \


More information about the scm-commits mailing list