#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:
----------------------------------------------------+-----------------------
Changes (by {'newvalue': u'John Palmieri, Jean-Pierre Flori', 'oldvalue':
u'John Palmieri'}):
* keywords: mpir => mpir spkg
* status: needs_work => needs_info
* author: John Palmieri => John Palmieri, Jean-Pierre Flori
Old description:
> As the summary says. Also, mpir-2.4.0.p5.spkg fails self-tests, and
> upgrading should fix this.
>
> Here is are (preliminary?) spkgs:
> [http://sage.math.washington.edu/home/palmieri/SPKG/mpir-2.5.1.p0.spkg]
> and
> [http://sage.math.washington.edu/home/palmieri/SPKG/mpir-2.5.2.p0.spkg].
>
> I upgraded to version 2.5.1, removed files as described by SPKG.txt, and
> rebased the patches. One question about `quote_asm.patch`: it 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`.
>
> If the stopgap at #13138 is applied, then
> [attachment:trac_13137-stopgap.patch] will need to be applied (to the
> root repo) to undo it.
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.
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.
--
Comment:
The discussion about headers inclusion at mpir-devel can be read at:
https://groups.google.com/d/topic/mpir-devel/m__z0PR_wBw/discussion
Anyway, even if MPIR puts in a solution at some point, I think LinBox must
be fixed anyway.
So #13755 makes sense and I'll put it as a dependency here.
The discussion about sage.math.washington.edu failure (which is highly
likely to be unrelated):
https://groups.google.com/d/topic/sage-devel/Tmg6nA1eWGk/discussion
I guess what must be done now is to retry some builds on different
archs/compilers combinations (to check the clang thing for example)
because this spkg is highly sensitive to that, and then we could launch
the patchbots (or launch them directly but I don't know how to do that,
nor how to get their results), so I put this as need_info now.
We should also decide what to do with the "history" of the spkg.
For now, I've based the spkg on the one from #12115, mentionned in
SPKG.txt with an hg commit plus an hg tag done by myself (if #12115 gets
merged before that one, I guess we'll do a "proper" rebasing), then added
mentionned of 2.5.2.p0 by John in SPKG.txt but without hg commit or hg
tag, and finally mention of 2.6.0.p0 in SPKG.txt with an hg commit but no
hg tag, assuming it will be automagically by Jeroen scripts.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13137#comment:22>
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.