[nfft] 01/03: d/rules: disable long-double testing for powerpc and ppc64el.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Aug 2 23:32:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository nfft.
commit 466095cc0ac008dc627d3d869a73f1636b1348ac
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Tue Aug 2 07:45:10 2016 +0100
d/rules: disable long-double testing for powerpc and ppc64el.
---
debian/rules | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 6bcc352..2746793 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,8 @@ BUILD_OPTIONS = \
# the host architecture.
HAVE_FFTWL ?= $(shell pkg-config --exists fftw3l && echo 'yes')
+DEB_HOST_ARCH_CPU := $(shell dpkg-architecture --query DEB_HOST_ARCH_CPU)
+
%:
dh $@ --parallel --with autoreconf
@@ -62,14 +64,18 @@ endif
override_dh_auto_build-indep:
make --directory=$(CURDIR)/build-nfft doc
+# Note: long-double testing is temporarily disabled for powerpc and ppc64el
+# to allow the package to transition whilst upstream is working on a fix.
override_dh_auto_test-arch:
-ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
dh_auto_test --builddirectory=build-nfft
dh_auto_test --builddirectory=build-nfftf
ifneq (,$(HAVE_FFTWL))
+ifeq (,$(filter powerpc ppc64el,$(DEB_HOST_ARCH_CPU)))
dh_auto_test --builddirectory=build-nfftl
endif
endif
+endif
override_dh_auto_test-indep:
# No-op.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/nfft.git
More information about the debian-science-commits
mailing list