This is an automated email from the git hooks/post-receive script.

paulnovo-guest pushed a commit to branch master
in repository opensurgsim.

commit 69a076e667dbf776369fba2876052f66282b2c7d
Author: Paul Novotny <[email protected]>
Date:   Sun Sep 13 21:01:47 2015 -0400

    Disables eigen alignment on i386 and powerpc
    
    Also, turn on the unit tests in OpenSurgSim that test Eigen more
    thoroughly.
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index d2549ae..e3e7a8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,14 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=-format
 %:
        dh $@ --parallel --with linktree
 
+EIGEN_ALIGNMENT=ON
+ifeq ($(DEB_BUILD_ARCH),i386)
+       EIGEN_ALIGNMENT=OFF
+endif
+ifeq ($(DEB_BUILD_ARCH),powerpc)
+       EIGEN_ALIGNMENT=OFF
+endif
+
 override_dh_auto_configure:
        dh_auto_configure -- \
        -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
@@ -15,6 +23,8 @@ override_dh_auto_configure:
        -DBUILD_DOCUMENTATION:BOOL=ON \
        -DBUILD_EXAMPLES:BOOL=OFF \
        -DBUILD_SHARED_LIBS:BOOL=ON \
+       -DBUILD_TESTING_EIGEN:BOOL=ON \
        -DCTEST_CUSTOM_TESTS_IGNORE="MultiAxisDeviceTest" \
+       -DEIGEN_ALIGNMENT=$(EIGEN_ALIGNMENT) \
        -DUSE_SYSTEM_YAMLCPP:BOOL=ON
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/opensurgsim.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to