[ignition-math4] 01/01: Fix cflags
Jose Luis Rivero
jrivero-guest at moszumanska.debian.org
Tue Nov 21 17:49:04 UTC 2017
This is an automated email from the git hooks/post-receive script.
jrivero-guest pushed a commit to branch master
in repository ignition-math4.
commit fd7872933ab3b9a064b8b5ba9502ca710ebb9d94
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date: Tue Nov 21 17:48:53 2017 +0000
Fix cflags
---
debian/control | 3 +--
debian/rules | 14 +++++++++++---
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index b8b1deb..07a018c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,14 +2,13 @@ Source: ignition-math4
Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Jose Luis Rivero <jrivero at osrfoundation.org>
Section: science
-Testsuite: autopkgtest
Priority: extra
Build-Depends: cmake,
debhelper (>= 10),
libgtest-dev,
python,
ruby-ronn
-Standards-Version: 4.0.0
+Standards-Version: 4.1.1
Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/gnition-math4.git
Vcs-Git: https://anonscm.debian.org/cgit/debian-science/packages/ignition-math4.git
Homepage: http://ignitionrobotics.org/libraries/math
diff --git a/debian/rules b/debian/rules
index a6938e6..771fb2d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,11 +8,19 @@
.PHONY: override_dh_auto_configure \
override_dh_auto_test
+# SSE support enabled only for amd64
+SSE_FLAGS =
+
+ifeq ($(DEB_HOST_ARCH),amd64)
+SSE_FLAGS = -mfpmath=sse -msse -msse2 -msse3 -mssse3 -DSSE
+endif
+
override_dh_auto_configure:
dh_auto_configure -- \
- -DUSE_HOST_CFLAGS:BOOL=False \
- -DUSE_UPSTREAM_CFLAGS:BOOL=False \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
+ -DUSE_HOST_SSE_FLAGS:BOOL=False \
+ -DUSE_IGN_RECOMMENDED_FLAGS:BOOL=False \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$(SSE_FLAGS)"
override_dh_auto_test:
dh_auto_test $@ --no-parallel --buildsystem=cmake
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ignition-math4.git
More information about the debian-science-commits
mailing list