[gazebo] 03/05: support for sse compiler flags
Jose Luis Rivero
jrivero-guest at moszumanska.debian.org
Mon Jun 23 23:42:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
jrivero-guest pushed a commit to branch master
in repository gazebo.
commit 6edeec9a7cd600835e328018e1c59261ced9e2ae
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date: Mon Jun 23 23:31:58 2014 +0000
support for sse compiler flags
---
debian/rules | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 93e34e1..929a89e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,12 @@
#!/usr/bin/make -f
+# SSE support enabled only for amd64
+SSE_FLAGS =
+
+ifeq ($(DEB_HOST_ARCH),amd64)
+SSE_FLAGS = -mfpmath=sse -msse -msse2 -msse3 -mssse3
+endif
+
.PHONY: override_dh_auto_configure \
override_dh_auto_build-indep \
override_dh_install \
@@ -9,11 +16,12 @@
override_dh_auto_configure:
dh_auto_configure -- \
-DENABLE_TESTS_COMPILATION:BOOL=False \
- -DUSE_HOST_CFLAGS:BOOL=False \
- -DUSE_UPSTREAM_CFLAGS:BOOL=False \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DUSE_HOST_CFLAGS:BOOL=False \
+ -DUSE_UPSTREAM_CFLAGS:BOOL=False \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$(SSE_FLAGS)"
-# override_dh_auto_build-indep:
+#override_dh_auto_build-indep:
# dh_auto_build -- doc # Generate Doxygen HTML documentation.
override_dh_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gazebo.git
More information about the debian-science-commits
mailing list