[theano] 02/05: deb/rules: narrow temporary failsafe down to i386 and s390x

Daniel Stender stender at moszumanska.debian.org
Sat Jul 16 20:08:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

stender pushed a commit to branch master
in repository theano.

commit 2a9fa2dac317a8f643b99eca1d4580ac01bf3760
Author: Daniel Stender <stender at debian.org>
Date:   Sat Jul 16 18:32:01 2016 +0200

    deb/rules: narrow temporary failsafe down to i386 and s390x
---
 debian/changelog | 4 +++-
 debian/rules     | 6 +++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 791ab51..3f4d57c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,10 @@ theano (0.8.2-3) UNRELEASED; urgency=medium
   * deb/control:
     + don't build on all supported archs.
     + moved the info block on nvidia-cuda-toolkit down.
+  * deb/rule:
+    + narrow temporary failsafe down to i386 and s390x.
 
- -- Daniel Stender <stender at debian.org>  Sat, 16 Jul 2016 18:30:05 +0200
+ -- Daniel Stender <stender at debian.org>  Sat, 16 Jul 2016 18:31:08 +0200
 
 theano (0.8.2-2) experimental; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 7454c87..3e0c8e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,11 @@ override_dh_auto_install:
 export THEANO_FLAGS=base_compiledir='.pybuild',device=cpu
 
 override_dh_auto_test:
-	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS='PYTHONPATH=. {interpreter} bin/theano-nose -v' dh_auto_test || true # a few errors remain
+ifneq (,$(filter i386 s390x,$(DEB_BUILD_ARCH)))
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS='PYTHONPATH=. {interpreter} bin/theano-nose -v' dh_auto_test || true
+else
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS='PYTHONPATH=. {interpreter} bin/theano-nose -v' dh_auto_test
+endif
 
 override_dh_installdocs:
 	dh_installdocs -A README.txt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/theano.git



More information about the debian-science-commits mailing list