[theano] 04/23: deb/rules: disable compilation on more archs
Daniel Stender
stender at moszumanska.debian.org
Tue Jul 12 10:54:31 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 a29d93203692dee57bb4373a8db0aacc6340c8e0
Author: Daniel Stender <stender at debian.org>
Date: Mon Jul 11 12:06:07 2016 +0200
deb/rules: disable compilation on more archs
---
debian/README.Debian | 4 ++--
debian/rules | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
index 9890cec..988e7ef 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,5 +1,5 @@
-On arm64, mips64el, mips, mipsel, and hppa, the standards flags of Theano for
-the compiler `-m32` and `-m64` aren't recognized by g++.
+On arm64, mips64el, mips, mipsel, hppa, alpha, and m68k the standards flags of Theano
+for the compiler `-m32` and `-m64` aren't recognized by g++.
To run Theano on this archs, you need to set the configuration flag `config.cxx`
to an empty value for a fall back to the NumPy-based Python execution model.
This could be done either in the scripts by `theano.config.config.cxx`, with the
diff --git a/debian/rules b/debian/rules
index 5cd61bd..8befb84 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export PYBUILD_NAME=theano
export PYBUILD_INSTALL_ARGS=--install-scripts=/usr/share/{package}
# g++ flags "-m32" and "-m64" are not recognized on this archs, let fall back to Python
-ifneq (,$(filter arm64 mips64el mips mipsel hppa,$(DEB_BUILD_ARCH)))
+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
--
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