[SCM] Eigen3 packaging. branch, experimental, updated. debian/3.1.2-1_exp3-2-g6b9b97d

Anton Gladky gladky.anton at gmail.com
Mon Dec 24 17:38:05 UTC 2012


The following commit has been merged in the experimental branch:
commit 8ec0e8a6a5d9b878c17fd9791311896987ae04f1
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Mon Dec 24 18:37:28 2012 +0100

    Use autotests again, but only on maintainer`s machine.

diff --git a/debian/control b/debian/control
index c4eec41..1a7f804 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,10 @@ Priority: extra
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Anton Gladky <gladky.anton at gmail.com>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 9), cmake (>= 2.6.2)
+Build-Depends: debhelper (>= 9), cmake (>= 2.6.2), libsparsehash-dev, libadolc-dev,
+  libmpfr-dev, libgmp-dev, pkg-config, libfftw3-dev, libqt4-opengl-dev, freeglut3-dev,
+  qt4-dev-tools, libsuitesparse-dev, libsuperlu3-dev, libscotch-dev, libscotchmetis-dev,
+  gfortran 
 Build-Depends-Indep: doxygen-latex, ghostscript, ttf-freefont, graphviz, libjs-jquery
 Standards-Version: 3.9.3
 Homepage: http://eigen.tuxfamily.org
diff --git a/debian/rules b/debian/rules
index 90cbb1f..032a0ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,11 +4,25 @@ BUILDDIR = $(CURDIR)/debian/build
 %:
 	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
 
+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
+
 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
 	rm -f $(BUILDDIR)/doc/html/unsupported/installdox
-
-override_dh_auto_test:

-- 
Eigen3 packaging. 



More information about the debian-science-commits mailing list