-
-
Notifications
You must be signed in to change notification settings - Fork 564
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 and clean up cddlib #13026
Comments
This comment has been minimized.
This comment has been minimized.
Author: R. Andrew Ohana |
Changed keywords from cddlib to cddlib sd40.5 |
Work Issues: make sure hard links used |
Reviewer: Karl-Dieter Crisman |
comment:3
This all makes sense. I've opened #13056 to address that we might eventually want to have the docs available again. All spkg and geometry/ tests pass on sage.math and my MacBook Pro. As discussed with Andrew, just want to make sure that hard links were used as pointed out in SPKG.txt, which I can't check - otherwise positive review. |
comment:4
Ok, hard links should be setup now. |
Changed work issues from make sure hard links used to none |
This comment has been minimized.
This comment has been minimized.
comment:7
This doesn't even compile for me with gcc-4.2.4 on boxen.math:
Note the line
|
comment:8
Huh. I did test this on sage.math and OS X, but it's true that I didn't try with random other versions of GCC. I'm not sure what to say about that, and I can't review this one further. |
comment:9
I don't think the GCC version has anything to do with it. Probably both machines you tested have a system-wide |
comment:10
I can have a look at that. Tomorrow hopefully, but it looks like to me we just need to set CPPFLAGS="-I$SAGE_LOCAL/include" when we run the configuration, LDFLAGS may also need to be set. |
comment:11
Support for the |
comment:12
So it was some of your stuff. On the other hand upstream included a slightly updated version of the libtool patch I sent them probably about 3-4 years ago :) In any case adding the following line to configure should solve the problem
Alternatively the variables can be exported and it should be safe on any system. Your original spkg works on my mac so I could have gmp headers somewhere, strangely enough it seems to find the correct sage libraries so may be there is something more subtle going on
|
comment:13
Ok, I've updated the spkg, hopefully the issues are fixed (it now compiles fine for me with boxen's toolchain). |
Diff for the cddlib spkg. For reference / review only. |
comment:54
Not building a shared library would be a serious regression IMHO. |
comment:55
Replying to @sagetrac-git:
Thank you. I have had that doctest error in sage-on-gentoo for a year and 19 days - when we moved to 0.94g. |
comment:56
Replying to @vbraun:
I didn't disable the build of a shared library. |
comment:57
Once we fix #15872 we can feed back the |
comment:58
(For now there's nothing there, I'm aware of that.) |
comment:59
I was a little too fast. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:61
Or not actually, as I guess we still copy everything before building.... |
comment:62
For some mysterious reason the previously failing doctest does not fail either when I revert back to trac/develop, make distclean and rebuild... |
This comment has been minimized.
This comment has been minimized.
comment:64
Replying to @jpflori:
No such problem on another machine. |
Changed branch from u/jpflori/ticket/13026 to |
comment:66
Sorry to come so late to the party, but looking at sage's git, I don't really see why this bug was closed: the cddlib spkg still has patches that mean sage isn't based on cddlib, but on a fork... |
Changed commit from |
comment:67
The bug was closed because the branch was merged. It might not be perfect but it was an improvement. Feel free to work on this. |
The cddlib SPKG is huge (when disregarding src/) and contains a lot of weird-looking stuff in the patched directory. The point of this ticket is to simplify the packaging of cddlib and also upgrade it to the latest version, 094g.
Part of metaticket #13025.
Use tarball at:
CC: @ohanar @jpflori @SnarkBoojum
Component: packages: standard
Keywords: cddlib sd40.5
Author: R. Andrew Ohana
Branch:
322ec47
Reviewer: Karl-Dieter Crisman, Jeroen Demeyer, Jean-Pierre Flori
Issue created by migration from https://trac.sagemath.org/ticket/13026
The text was updated successfully, but these errors were encountered: