[SCM] Eigen3 packaging. branch, experimental, updated. debian/3.1.0-1-18-g06a5d39
Anton Gladky
gladky.anton at gmail.com
Wed Nov 7 21:54:26 UTC 2012
The following commit has been merged in the experimental branch:
commit 06a5d39628dd4e8f5cb257e78cc5a8f892f00c27
Merge: 150d5432c80589f8667e024edb7aec0e7d25fc00 716649eb3e91322ed843efe57785a9f4c6b09a39
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Wed Nov 7 22:54:12 2012 +0100
Merge old changes.
diff --combined debian/rules
index 032a0ab,f2513f4..79ee942
--- a/debian/rules
+++ b/debian/rules
@@@ -1,13 -1,14 +1,18 @@@
#! /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
@@@ -15,13 -16,11 +20,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