[sagemath] 02/03: Set the default PARI stack size to 16*10^6 bytes.

Tobias Hansen thansen at moszumanska.debian.org
Sun Nov 20 18:21:15 UTC 2016


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

thansen pushed a commit to branch master
in repository sagemath.

commit 322fcf478ac5fe84863a81088da7a6b480634ebb
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date:   Sun Nov 20 18:09:17 2016 +0000

    Set the default PARI stack size to 16*10^6 bytes.
---
 debian/patches/debian-pari-stackwarn.patch | 18 ++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/debian-pari-stackwarn.patch b/debian/patches/debian-pari-stackwarn.patch
new file mode 100644
index 0000000..9c3e06f
--- /dev/null
+++ b/debian/patches/debian-pari-stackwarn.patch
@@ -0,0 +1,18 @@
+Description: Set the default size of the PARI stack to 16*10^6 bytes
+ This gets rid of some of the warnings of pari increasing the stack size
+ which cause tests to fail.
+ TODO: Modify the tests which need a larger stack size to ignore the
+ warning.
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/sage/src/sage/libs/pari/pari_instance.pyx
++++ b/sage/src/sage/libs/pari/pari_instance.pyx
+@@ -464,7 +464,7 @@
+ 
+ @cython.final
+ cdef class PariInstance(PariInstance_auto):
+-    def __init__(self, long size=1000000, unsigned long maxprime=500000):
++    def __init__(self, long size=16000000, unsigned long maxprime=500000):
+         """
+         Initialize the PARI system.
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 88512aa..dd1a7e3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -37,6 +37,7 @@ debian-singular.patch
 debian-libgap-sage.patch
 debian-rubiks.patch
 debian-pari.patch
+debian-pari-stackwarn.patch
 debian-nauty.patch
 debian-gsl-cblas.patch
 debian-arb.patch

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