-
-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade MPFR to 3.1.0 #11666
Comments
Changed keywords from MPFR spkg wishlist to sd32 MPFR spkg wishlist |
This comment has been minimized.
This comment has been minimized.
comment:4
The second release candidate is out: [...] The main changes since this first release candidate are:
Here's a second release candidate. As there should not be new platform-specific problems, the final release is delayed by a few days only. [...] http://www.mpfr.org/mpfr-3.1.0/mpfr-3.1.0-rc2.tar.bz2 [...] The MD5's: [...]
[...] [...] Final release now scheduled for October 3rd. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:5
The final MPFR 3.1.0 has been released today. See the description for links. |
Dependencies: 12171 |
Author: Mike Hansen |
comment:7
I have an spkg at http://sage.math.washington.edu/mpfr-3.1.0.spkg. This is needed for flint2. |
comment:8
Shouldn't the dependency be the other way around? That is mpfi needs mpfr rather than mpfr needs mpfi? Have you tested this on a 32bit OS? |
comment:9
This version of MPFI should work with both versions of MPFR. However, the old version of MPFI will not work with the new version of MPFI. I haven't tested it on a 32bit OS. This was primarily just so we could build flint2 in Sage. |
comment:11
I wonder why comment [comment:8] speaks about MPFI. Also, upstream (MPFR) we have seen several Paul |
comment:12
the url from comment [comment:7] does not work. Paul |
comment:13
Replying to @zimmermann6:
I spoke about mpfi because this ticket is marked as depending on #12171 which is upgrading mpfi. My understanding of the dependency field is that it means that you need #12171 for this ticket. This is silly and should be the other way around. I think comment 9 has not been written with a clear mind. I asked about test on 32bit machine because of this [ https://github.com/cschwan/sage-on-gentoo/issues/13]. |
comment:14
The spkg is actually at http://sage.math.washington.edu/home/mhansen/mpfr-3.1.0.spkg Let me clarify the MPFI issue since I must have been too tired when I tried before. If we were to just install this version of MPFR, the current MPFI (1.3.4) will fail to build since it uses something which has been removed/moved in the new version of MPFR. If the new version of MPFI works with both the old and new versions of MPFR. So, if we want to actually include this package in Sage, we have to have the new version of MPFI in first. This is the reason I listed the MPFI ticket as a dependency of this one. |
comment:15
You are making sense now. I indeed remember making a patch for mpfi-1.4 to build against mpfr-3.x in gentoo, it would apply to 1.3.4 as well I think. Anyway there are a number of things to fix as far as I can see because of the inclusion of these two. |
comment:16
Some thoughts about the spkg-install script:
|
comment:17
as a developer of MPFR I strongly recommend to let MPFR choose the same CC and CFLAGS as GMP
I guess yes, since this was a bug in the Solaris kernel. Paul |
comment:18
I've tested this spkg on top of #12171 on my 64-bit laptop (Core 2 Duo): all doctests pass. Paul |
comment:19
Replying to @zimmermann6:
Yes 64bit is fine as far as I can tell. It's 32bit that's the trouble - both linux and OS X [10.5.8], don't know about other like solaris or cygwin. |
comment:77
No, I did not. I just started on top of Mikes package which came before your comment and I don't remmeber that MPFR includes that flag by default. Ill send a new package tomorrow if you think that's needed. Too late for today. |
comment:78
I'm pretty sure we don't use multithreading with MPFR so we can just pass |
Changed upstream from Reported upstream. Developers acknowledge bug. to Fixed upstream, but not in a stable release. |
comment:79
Jean-Pierre, the Paul |
comment:80
SPKG updated at the same address. |
comment:81
Is there anything preventing this from getting positive review ? The package address did not change, so I've not updated the ticket description. |
comment:82
Here is a review of Apart from that, the more important would be to test the modified spkg. If this was already tested by the buildbot, then I will give a positive review. Paul Zimmermann |
comment:83
From http://wiki.sagemath.org/buildbot it seems that the patchbot does not feel concerned by automatically testing spkg and I have no idea how to use Sage facilities to perform automatically such tests. I even think I have no account on the needed machines, so I cannot take care of launching automated tests. Anyway, I'll take the typos into account tomorrow and update the spkg. |
Work Issues: typos |
comment:84
In fact I had some time right now and corrected the typos. The package is at the same address as before. |
Attachment: trac_11666_spkg.patch.gz spkg diff, for review only |
comment:85
Replying to @jpflori:
Yes, there is currently no way to automatically test spkgs. |
comment:86
The current workflow is positive review -> release manage tests beta on build bot. While the authors should of course test patches, you don't have to test it on every supported machine to give a positive review. We did test it on 32 and 6-bit machines which is the most likely source of errors. Specifics for other systems were not changed so its likely that it'll continue to work. I'll give the spell-checked SPKG.txt my positive review. |
comment:87
Replying to @vbraun:
Agreed. My impression from Paul Zimmermann's comment was that it hadn't been tested at all. |
comment:88
Replying to @vbraun:
Impressive! |
Changed work issues from typos to none |
Merged: sage-5.0.beta7 |
Our current MPFR spkg is fairly old (based on MPFR 2.4.2), and upgrading it to the latest [stable] upstream release is now on the high-priority wishlist.
Use http://perso.telecom-paristech.fr/~flori/sage/mpfr-3.1.0.p0.spkg
Apply:
Depends on #12171
Depends on #12548
Upstream: Fixed upstream, but not in a stable release.
CC: @jpflori @zimmermann6
Component: packages: standard
Keywords: sd36 sd32 MPFR spkg wishlist sd35.5
Author: Mike Hansen, Jean-Pierre Flori, Volker Braun
Reviewer: Paul Zimmermann, Jean-Pierre Flori, Volker Braun, Jeroen Demeyer
Merged: sage-5.0.beta7
Issue created by migration from https://trac.sagemath.org/ticket/11666
The text was updated successfully, but these errors were encountered: