#13137: upgrade MPIR to 2.6.0
----------------------------------------------------+-----------------------
Reporter: jhpalmieri | Owner: tbd
Type: enhancement | Status:
needs_info
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 | Merged in:
Dependencies: #13755 | Stopgaps:
----------------------------------------------------+-----------------------
Old description:
> As the summary says. Also, mpir-2.4.0.p5.spkg fails self-tests, moreover
> it's old.
> Upgrading to 2.6.0 fixes both issue.
>
> Here are some (preliminary?) spkgs of MPIR version since 2.4.x:
> *
> [http://sage.math.washington.edu/home/palmieri/SPKG/mpir-2.5.1.p0.spkg],
> *
> [http://sage.math.washington.edu/home/palmieri/SPKG/mpir-2.5.2.p0.spkg],
> * [http://boxen.math.washington.edu/home/jpflori/mpir-2.6.0.p0.spkg]
> (based on Cygwin fix of #12115).
>
> The different spkg were upgraded to the quoted versions, with files
> removed as described by SPKG.txt, and patches rebased except the yasm
> patch which seems no longer necessary was removed.
>
> Current concerns:
> * `quote_asm.patch` patches files of the form `*.asm`. Should it also
> address files of the form `*,asm`? There are two such:
> `mpn/x86/p6/addmul_1,asm` and `mpn/x86/p6/submul_1,asm`.
> * compilation with clang might fail on OSX
>
> In addition to using one of the above spkg,
> apply to SAGE_ROOT [attachment:trac_13137-stopgap.patch].
>
> This also requires the fixed LinBox spkg from #13755.
New description:
As the summary says. Also, mpir-2.4.0.p5.spkg fails self-tests, moreover
it's old.
Upgrading to 2.6.0 fixes both issue.
Here are some (preliminary?) spkgs of MPIR version since 2.4.x:
* [http://sage.math.washington.edu/home/palmieri/SPKG/mpir-2.5.1.p0.spkg],
* [http://sage.math.washington.edu/home/palmieri/SPKG/mpir-2.5.2.p0.spkg],
* [http://boxen.math.washington.edu/home/jpflori/mpir-2.6.0.p0.spkg]
(based on Cygwin fix of #12115).
The different spkg were upgraded to the quoted versions, with files
removed as described by SPKG.txt, and patches rebased except the yasm
patch which seems no longer necessary was removed.
In addition to using one of the above spkg,
apply to SAGE_ROOT [attachment:trac_13137-stopgap.patch].
This also requires the fixed LinBox spkg from #13755.
--
Comment (by jpflori):
Ok, I'm putting back the clang stuff.
About the ,asm files, I think it's just a typo introduced here:
https://github.com/wbhart/mpir/commit/295967cd2b11f7b964283c1e1bf8dd154e388af4
Waiting for confirmation here:
https://groups.google.com/d/topic/mpir-devel/0uhskYIbRII/discussion
As I have little doubt about this I'll add a patch to move the files and
update the quote_patch patch.
(I cannot put the ticket directly as needs_work, so I'm leaving it in its
current state and will put it as needs_review when the new spkg is
posted.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13137#comment:26>
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.