This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag '9.1.beta6' into t/29041/at___bootstrap_time__generate_src_…
…requirements_txt__src_constraints_txt__src_setup_cfg__install_requires__from_build_pkgs SageMath version 9.1.beta6, Release Date: 2020-03-01
- Loading branch information
Showing
220 changed files
with
8,030 additions
and
1,165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
SageMath version 9.1.beta5, Release Date: 2020-02-21 | ||
SageMath version 9.1.beta6, Release Date: 2020-03-01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# -*- shell-script -*- | ||
|
||
########################################################################### | ||
# | ||
# Set some environment variables for building Sage (the distribution). | ||
# | ||
# NOTES: | ||
# - You must *source* this script instead of executing. | ||
# - Use "return" instead of "exit" to signal a failure. Since this | ||
# file is sourced, an "exit" here will actually exit src/bin/sage, | ||
# which is probably not intended. | ||
# - All environment variables set here should be *exported*, otherwise | ||
# they won't be available in child programs. | ||
# | ||
# If you want to set all environment variables for your shell like | ||
# they are during the build of Sage packages, type | ||
# | ||
# sage --buildsh | ||
# | ||
########################################################################## | ||
|
||
# This is usually blank if the system GMP is used, or $SAGE_LOCAL otherwise | ||
export SAGE_GMP_PREFIX="@SAGE_GMP_PREFIX@" | ||
export SAGE_GMP_INCLUDE="@SAGE_GMP_INCLUDE@" | ||
if [ -n "$SAGE_GMP_PREFIX" ]; then | ||
# Many packages that depend on GMP accept a --with-gmp=<prefix> flag to | ||
# their ./configure scripts. When using the system's GMP this is not | ||
# generally necessary, but when using the GMP package installed in | ||
# SAGE_LOCAL it is useful to pass it. We define this variable to | ||
# pass to these packages' ./configure scripts. When using the system | ||
# GMP its value is just blank (for many of these packages passing | ||
# --with-gmp without an argument is actually a bug) | ||
export SAGE_CONFIGURE_GMP="--with-gmp=$SAGE_GMP_PREFIX" | ||
fi | ||
|
||
# The MPFR case is very close to the GMP case above | ||
# This is usually blank if the system MPFR is used, or $SAGE_LOCAL otherwise | ||
export SAGE_MPFR_PREFIX="@SAGE_MPFR_PREFIX@" | ||
if [ -n "$SAGE_MPFR_PREFIX" ]; then | ||
# Some packages that depend on MPFR accept a --with-mpfr=<prefix> flag to | ||
# their ./configure scripts. Thus we deal with this just as with GMP above. | ||
export SAGE_CONFIGURE_MPFR="--with-mpfr=$SAGE_MPFR_PREFIX" | ||
fi | ||
|
||
# The MPC case is very close to the MPFR case above | ||
# This is usually blank if the system MPC is used, or $SAGE_LOCAL otherwise | ||
export SAGE_MPC_PREFIX="@SAGE_MPC_PREFIX@" | ||
if [ -n "$SAGE_MPC_PREFIX" ]; then | ||
# Some packages that depend on MPC accept a --with-mpc=<prefix> flag to | ||
# their ./configure scripts. Thus we deal with this just as with GMP above. | ||
export SAGE_CONFIGURE_MPC="--with-mpc=$SAGE_MPC_PREFIX" | ||
fi | ||
|
||
# Location of system crti.o, in case we build our own gcc | ||
export SAGE_CRTI_DIR="@SAGE_CRTI_DIR@" | ||
|
||
# This is usually blank if the system NTL is used, or $SAGE_LOCAL otherwise | ||
export SAGE_NTL_PREFIX="@SAGE_NTL_PREFIX@" | ||
if [ -n "$SAGE_NTL_PREFIX" ]; then | ||
# Many packages that depend on NTL accept a --with-ntl=<prefix> flag to | ||
# their ./configure scripts. When using the system's NTL this is not | ||
# generally necessary, but when using the NTL package installed in | ||
# SAGE_LOCAL it is useful to pass it. | ||
export SAGE_CONFIGURE_NTL="--with-ntl=$SAGE_NTL_PREFIX" | ||
fi | ||
|
||
# The FLINT case is very close to the MPFR case above | ||
# This is usually blank if the system FLINT is used, or $SAGE_LOCAL otherwise | ||
export SAGE_FLINT_PREFIX="@SAGE_FLINT_PREFIX@" | ||
if [ -n "$SAGE_FLINT_PREFIX" ]; then | ||
# Some packages that depend on FLINT accept a --with-flint=<prefix> flag to | ||
# their ./configure scripts. Thus we deal with this just as with GMP above. | ||
export SAGE_CONFIGURE_FLINT="--with-flint=$SAGE_FLINT_PREFIX" | ||
fi | ||
|
||
# This is usually blank if the system PARI is used, or $SAGE_LOCAL otherwise | ||
export SAGE_PARI_PREFIX="@SAGE_PARI_PREFIX@" | ||
if [ -n "$SAGE_PARI_PREFIX" ]; then | ||
# Some packages that depend on PARI accept a --with-pari=<prefix> flag to | ||
# their ./configure scripts. Thus we deal with this just as with GMP above. | ||
export SAGE_CONFIGURE_PARI="--with-pari=$SAGE_PARI_PREFIX" | ||
fi | ||
export SAGE_PARI_CFG="@SAGE_PARI_CFG@" | ||
|
||
export SAGE_GLPK_PREFIX="@SAGE_GLPK_PREFIX@" | ||
export SAGE_FREETYPE_PREFIX="@SAGE_FREETYPE_PREFIX@" | ||
export SAGE_ARB_LIBRARY="@SAGE_ARB_LIBRARY@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
build/pkgs/arb/patches/silence-stderr-exponent-too-large.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Do not write stuff to stderr when signalling errors | ||
|
||
See https://trac.sagemath.org/ticket/28817 | ||
|
||
|
||
diff --git a/arf/get_mpfr.c b/arf/get_mpfr.c | ||
index 34012af..9ccb87b 100644 | ||
--- a/arf/get_mpfr.c | ||
+++ b/arf/get_mpfr.c | ||
@@ -30,7 +30,6 @@ arf_get_mpfr(mpfr_t x, const arf_t y, mpfr_rnd_t rnd) | ||
} | ||
else if (COEFF_IS_MPZ(*ARF_EXPREF(y))) | ||
{ | ||
- flint_printf("exception: exponent too large to convert to mpfr"); | ||
flint_abort(); | ||
r = 0; /* dummy return because flint_abort() is not declared noreturn */ | ||
} | ||
diff --git a/fmpr/get_mpfr.c b/fmpr/get_mpfr.c | ||
index 63b6682..e2dda3b 100644 | ||
--- a/fmpr/get_mpfr.c | ||
+++ b/fmpr/get_mpfr.c | ||
@@ -25,7 +25,6 @@ fmpr_get_mpfr(mpfr_t x, const fmpr_t y, mpfr_rnd_t rnd) | ||
} | ||
else if (COEFF_IS_MPZ(*fmpr_expref(y))) | ||
{ | ||
- flint_printf("exception: exponent too large to convert to mpfr"); | ||
flint_abort(); | ||
r = 0; /* dummy return because flint_abort() is not declared noreturn */ | ||
} | ||
@@ -42,7 +41,6 @@ fmpr_get_mpfr(mpfr_t x, const fmpr_t y, mpfr_rnd_t rnd) | ||
|
||
if (!mpfr_regular_p(x)) | ||
{ | ||
- flint_printf("exception: exponent too large to convert to mpfr"); | ||
flint_abort(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
tarball=configure-VERSION.tar.gz | ||
sha1=c5ac16fd484b7d261fdd5f9ddc0ad144d212c074 | ||
md5=6e01232385ed6a22fae6873990ca2b9a | ||
cksum=45471057 | ||
sha1=63dd5a30099d2285ba7d8914dc6a94213e704258 | ||
md5=767a51cc156fec7e49d08cbaefc38d24 | ||
cksum=1354891695 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
f363300209b159a65d9ceaf6b79bb684a9c71db1 | ||
30cb9d11bc3889744a2a27db00041d9cb40df522 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.