[SCM] Eigen3 packaging. branch, master, updated. debian/3.1.0-1-5-gcc47a2d

Anton Gladky gladky.anton at gmail.com
Thu Jul 26 20:11:35 UTC 2012


The following commit has been merged in the master branch:
commit 486ffa0697cb845a1da627e82be841fc2c2ece1f
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Thu Jul 26 19:33:45 2012 +0200

    Disable autotests on weak archs: mips mipsel armel armhf.

diff --git a/debian/rules b/debian/rules
index 2cebe59..032a0ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,8 @@ BUILDDIR = $(CURDIR)/debian/build
 
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
 
+disable_auto_test_archs = mips mipsel armel armhf
+
 override_dh_auto_configure:
 	dh_auto_configure -- -DDART_TESTING_TIMEOUT=300
 
@@ -13,11 +15,13 @@ override_dh_installchangelogs:
 	dh_installchangelogs debian/Changelog_upstream
 
 override_dh_auto_test:
+ifeq (,$(filter $(DEB_HOST_ARCH),$(disable_auto_test_archs)))
 	echo -- Running tests. Even if one of them fails the build is not canceled.
 	-cat /proc/meminfo
 	-cat /proc/cpuinfo
 	cd $(BUILDDIR); $(MAKE) buildtests
 	dh_auto_test -- ARGS=-VV || true
+endif
 
 override_dh_auto_build-indep:
 	cd $(BUILDDIR); $(MAKE) doc

-- 
Eigen3 packaging. 



More information about the debian-science-commits mailing list