[sagemath] 01/03: Set a higher timeout on slower architectures

Ximin Luo infinity0 at debian.org
Mon Sep 11 10:26:59 UTC 2017


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

infinity0 pushed a commit to branch master
in repository sagemath.

commit 53cf377bed52bbbd6196045d27304754bcd9b4d6
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Sep 11 12:21:17 2017 +0200

    Set a higher timeout on slower architectures
---
 debian/changelog |  6 ++++++
 debian/rules     | 10 +++++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b1c065b..7380907 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sagemath (8.0-8) UNRELEASED; urgency=medium
+
+  * Set a higher test timeout for slower architectures.
+
+ -- Ximin Luo <infinity0 at debian.org>  Mon, 11 Sep 2017 12:21:02 +0200
+
 sagemath (8.0-7) unstable; urgency=medium
 
   * Add patch u0-version-scipy-0.19.1.patch from upstream.
diff --git a/debian/rules b/debian/rules
index 9f70508..eee43de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 include /usr/share/dpkg/pkg-info.mk
+include /usr/share/dpkg/architecture.mk
 
 #export DH_VERBOSE=1
 
@@ -9,9 +10,16 @@ ifneq (,$(filter $(DEB_DISTRIBUTION),UNRELEASED unstable-sage))
 is_prerelease = true
 else
 is_prerelease = false
-# some buildds are a bit slow
+endif
+
+# Some buildds are a bit slow, see https://buildd.debian.org/status/logs.php?pkg=gcc-7 for a fuller list
+ifeq (false,$(is_prerelease))
+ifneq (,$(filter $(DEB_BUILD_ARCH),armel armhf mips mipsel mips64el))
+export SAGE_TIMEOUT_LONG = 7200
+else
 export SAGE_TIMEOUT_LONG = 3600
 endif
+endif
 
 # Use ccache if pkg.sagemath.ccache build-profile is active.
 # Your rebuilds will be *much quicker*.

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



More information about the debian-science-commits mailing list