[theano] 03/05: deb/rules: don't run tests on FAST_COMPILE, and no arch solely on Python

Daniel Stender stender at moszumanska.debian.org
Fri Jul 15 16:55:48 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 a96adec871096c2a35ab2ae5de0d4769bedc4d28
Author: Daniel Stender <stender at debian.org>
Date:   Fri Jul 15 15:31:21 2016 +0200

    deb/rules: don't run tests on FAST_COMPILE, and no arch solely on Python
---
 debian/changelog | 4 +++-
 debian/rules     | 7 +------
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 47bb9cc..9cf8cc7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,11 @@
 theano (0.8.2-2) UNRELEASED; urgency=medium
 
   * deb/copyright: split a paragraph.
+  * deb/rules: don't run tests on FAST_COMPILE (faster, but makes too
+    many problems), and no arch solely on Python (not needed anymore).
   * strip-docs.patch: remove `NEWS` and `Download` from index.
 
- -- Daniel Stender <stender at debian.org>  Tue, 12 Jul 2016 17:34:35 +0200
+ -- Daniel Stender <stender at debian.org>  Fri, 15 Jul 2016 15:29:26 +0200
 
 theano (0.8.2-1) experimental; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index d911922..7454c87 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,12 +14,7 @@ override_dh_auto_install:
 	dh_auto_install
 	rm -fv debian/python*-theano/usr/lib/python*/dist-packages/theano/misc/check_blas_many.sh
 
-# g++ flags "-m32" and "-m64" are not recognized on this archs, let fall back to Python
-ifneq (,$(filter arm64 mips64el mips mipsel alpha hppa m68k,$(DEB_BUILD_ARCH)))
-   export THEANO_FLAGS=base_compiledir='.pybuild',device=cpu,mode=FAST_COMPILE,cxx=''
-else
-   export THEANO_FLAGS=base_compiledir='.pybuild',device=cpu,mode=FAST_COMPILE
-endif
+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

-- 
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