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
PPL 1.0 does not build on Cygwin #15001
Comments
comment:1
A straight update to ppl-1.1pre9 solves the issue. Would it make sense to update to such a release? |
comment:2
There are precedents of using pre-release versions in Sage packages. So, if it doesn't break anything, that's fine for me. Just make sure you clearly label the version as being a pre-release and document where/how you obtained it. Don't simply call the package |
comment:3
Also, it must be a public release. "Some developer sent me this tarball" isn't good enough. |
comment:4
Alternatively you can probably disable the floating-point features with the configure switch |
comment:5
As you can see in the ticket description, it is a public release, available at http://bugseng.com/external/ppl/download/ftp/ Note though that it seems only one "snapshot" is available at a given time, so when a new one is released, the previous one will disapppear. |
comment:6
Replying to @vbraun:
That should do the trick from what I saw in the build system files ...
... but I guess it could be more error-prone then. |
Spkg diff, for review only. |
comment:7
Attachment: ppl-1.1pre9.p0.diff.gz |
This comment has been minimized.
This comment has been minimized.
Author: Jean-Pierre Flori |
comment:8
Looks good to me. I trust that it fixes the Cygwin problem since I can't try that myself. |
Reviewer: Volker Braun |
Merged: sage-5.11.rc1 |
PPL 1.0 uses some libm long double functions (floorl, frexpl) as soon as it detects the long double type is available and looks functional.
Unfortunately the Cygwin's libm does not provide such function, and we do not build Cephes on Cygwin.
The easy solution is to use plain double precision in place of the extended ones (with a std:: prefix, as PPL also defines its own floor function).
This is what is implemented in 1.1.pre* releases of ppl available at http://bugseng.com/products/ppl/download/ftp/snapshots/.
There was a similar report archived at http://www.cs.unipr.it/pipermail/ppl-devel/2012-September/018538.html.
Use:
Upstream: Fixed upstream, but not in a stable release.
CC: @vbraun @jdemeyer @tscrim
Component: packages: standard
Keywords: cygwin ppl spkg
Author: Jean-Pierre Flori
Reviewer: Volker Braun
Merged: sage-5.11.rc1
Issue created by migration from https://trac.sagemath.org/ticket/15001
The text was updated successfully, but these errors were encountered: