Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit f048827

Browse files
author
Release Manager
committed
Trac #30800: check system pari for qfisom bug
#27749 did not take care about testing system Pari for this bug. This ticket doess this. URL: https://trac.sagemath.org/30800 Reported by: dimpase Ticket author(s): Dima Pasechnik Reviewer(s): Matthias Koeppe
2 parents f976c52 + f916905 commit f048827

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build/pkgs/pari/spkg-configure.m4

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@ SAGE_SPKG_CONFIGURE([pari], [
8888
AC_MSG_NOTICE([Otherwise Sage will build its own pari/GP.])
8989
sage_spkg_install_pari=yes
9090
fi
91+
AC_MSG_CHECKING([whether qfisom bug of pari 2.11.2 is fixed])
92+
bug_check=`echo "qfisom([[16,6;6,10]],[[4,3;3,10]])" | $GP -qf 2>> config.log`
93+
expected="0"
94+
if test x"$bug_check" = x"$expected"; then
95+
AC_MSG_RESULT([yes])
96+
else
97+
AC_MSG_RESULT([no; cannot use system pari/GP with known bug])
98+
AC_MSG_NOTICE([Upgrade your system package and reconfigure.])
99+
AC_MSG_NOTICE([Otherwise Sage will build its own pari/GP.])
100+
sage_spkg_install_pari=yes
101+
fi
91102
fi dnl end GP test
92103
93104
if test x$sage_spkg_install_pari = xno; then dnl main PARI test

0 commit comments

Comments
 (0)