[SCM] Eigen3 packaging. branch, experimental, updated. debian/3.1.2-1_exp2-7-g4922f90

Anton Gladky gladky.anton at gmail.com
Sun Nov 18 21:02:53 UTC 2012


The following commit has been merged in the experimental branch:
commit dd8fdd886e6fa3930600ca438f47ee90121c1fac
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Sun Nov 18 19:38:19 2012 +0100

    Disable autotests. They are useless during build-time.

diff --git a/debian/rules b/debian/rules
index 79ee942..426dfb0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,33 +1,13 @@
 #! /usr/bin/make -f
 BUILDDIR = $(CURDIR)/debian/build
 
-CFLAGS := -Wall $(shell dpkg-buildflags --get CFLAGS)
-CXXFLAGS := -Wall $(shell dpkg-buildflags --get CXXFLAGS)
-CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
-LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
-
 %:
 	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

-- 
Eigen3 packaging. 



More information about the debian-science-commits mailing list