#13137: upgrade MPIR to 2.6.0
-------------------------------------------------------------------------+--
Reporter: jhpalmieri |
Owner: tbd
Type: enhancement |
Status: needs_review
Priority: major |
Milestone: sage-5.6
Component: packages |
Resolution:
Keywords: mpir spkg |
Work issues:
Report Upstream: N/A |
Reviewers: Jeroen Demeyer
Authors: John Palmieri, Jean-Pierre Flori, Karl-Dieter Crisman |
Merged in:
Dependencies: #13755 |
Stopgaps:
-------------------------------------------------------------------------+--
Comment (by leif):
A few (IMHO minor) things:
{{{
#!diff
diff --git a/spkg-install b/spkg-install
--- a/spkg-install
+++ b/spkg-install
@@ -19,7 +19,7 @@
# detecting filename changes. See Trac #13137.
# This fix can (and will have to) be removed once integrated upstream.
echo "Renaming *,asm files to *.asm..."
-mv mpn/x86/p6/addmul_1,asm mpn/x86/p6/addmul_1.asm
+mv mpn/x86/p6/addmul_1,asm mpn/x86/p6/addmul_1.asm &&
mv mpn/x86/p6/submul_1,asm mpn/x86/p6/submul_1.asm
if [ $? -ne 0 ]; then
echo >&2 "Error: moving *,asm files failed."
@@ -202,15 +202,15 @@
echo "Building a reduced version of MPIR to bootstrap GCC."
echo "MPIR will later get rebuilt (with the C++ interface and static
libraries"
echo "enabled) using the new compiler."
- MPIR_CONFIGURE="--disable-cxx --disable-static $MPIR_CONFIGURE"
+ MPIR_CONFIGURE="$MPIR_CONFIGURE --disable-cxx --disable-static"
SAGE_FAT_BINARY=no
else
# Also build the static library to be used by e.g. ECM
# unless we are on Cygwin where we can only build a shared
- # or a static library but not both
+ # or a static library but not both:
if [ "$UNAME" = "CYGWIN" ]; then
- echo "Building MPIR with the C++ interface."
- MPIR_CONFIGURE="--enable-cxx --disable-static $MPIR_CONFIGURE"
+ echo "Building MPIR with the C++ interface and (only) shared
libraries."
+ MPIR_CONFIGURE="--enable-cxx $MPIR_CONFIGURE --disable-static"
else
echo "Building MPIR with the C++ interface and (also) static
libraries."
MPIR_CONFIGURE="--enable-cxx --enable-static $MPIR_CONFIGURE"
}}}
* The date of the changelog entry. ;-)
* The current treatment of `clang` in `spkg-install` (as mentioned
earlier), but we can postpone changes to that to #13948 (although pretty
unrelated, as it is only necessary to slightly patch `acinclude.m4` and
`configure`).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13137#comment:117>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.