-
-
Notifications
You must be signed in to change notification settings - Fork 544
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
spkg-configure for cddlib #28905
Comments
comment:2
See also cddlib/cddlib#26 "Consider installing headers in |
comment:4
Sorry, I fail to understand the description of this ticket. What are you trying to achieve here exactly? Would be nice if you could elaborate a bit. |
This comment has been minimized.
This comment has been minimized.
comment:5
The goal is to use libcdd/cdd from the system (as in all tickets from #27330). |
comment:6
Am I right that the only parts of cdd(lib) currently used in Sage are executables |
Commit: |
Branch: u/dimpase/packages/cddlibconfig |
Author: Dima Pasechnik |
New commits:
|
comment:8
cddlib is used as a library in gfan and latte. So one needs a check for headers and libraries. |
comment:9
I did some work on this but the version of cddlib in Gentoo is too old to detect, so now I have to go fix that first. |
Changed branch from u/dimpase/packages/cddlibconfig to u/mjo/ticket/28905 |
comment:10
Replying to @orlitzky:
Yes the version from the main tree is too old. I have a newer suitable version in the sage-on-gentoo overlay. |
comment:11
Is there a branch to test? |
comment:12
Yeah, the one up there works for me. We did get cddlib upgraded in Gentoo and my branch detects it. |
comment:13
Are there Dockerfiles or Docker images available that allow testing of the Gentoo Sage distribution? |
comment:14
Replying to @mkoeppe:
coinor is too old in Gentoo. I tried to do an upgrade privately sometime last year. Unfortunately I lost the ebuilds in a mishap (and they weren't on vcs yet when it happened). I couldn't get it to work with sage which was annoying. |
comment:15
I primarily want to test with Gentoo's sage, not Gentoo's coinor. I can bring my own coinor from coinbrew. |
comment:17
Well I don't produce any docker images and I don't know if someone else did. Would be neat. |
comment:18
The closest thing to a Docker image we have are the KVM images that the openstack project maintains: http://gentoo.osuosl.org/experimental/amd64/openstack/ In theory you can boot one of those up, configure the sage-on-gentoo overlay, https://github.com/cschwan/sage-on-gentoo and then I'm slowly working on moving things from the overlay to the main gentoo repository, so that one day you can "emerge sage" without the overlay. (Basically, I'm just taking Francois's work and committing it to the main repository.) This goes hand-in-hand with the spkg-configure work because in the past, while sage-on-gentoo provides the most stable and usable sage, it doesn't help me rebuild sage.git for testing tickets. But now whenever a package gets an spkg-configure.m4, adding that package to gentoo both (1) speeds up the sage.git build, and (2) brings the overlay one step closer to the main repository. |
comment:31
I think the best solution is to:
|
comment:32
I am happy to accept a PR at cddlib upstream to install the headers into |
comment:33
The next release of cddlib will use the |
comment:34
Could you update the comment in the added file regarding the header file locations? |
comment:36
Sure, I added a real commit message too. |
Changed author from Dima Pasechnik to Dima Pasechnik, Michael Orlitzky |
Changed branch from u/mjo/ticket/28905 to u/mkoeppe/ticket/28905 |
comment:40
sorry, I messed this one up |
comment:42
Set it back to your commit |
comment:44
Testing at https://github.com/mkoeppe/sage/actions/runs/64126739 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Reviewer: Matthias Koeppe |
comment:46
Detects cddlib correctly on We don't have a test for Gentoo (#29105, hint hint), but I assume you have tested it there. As expected, not detected on debian and fedora. I have created follow-up ticket #29413 for that and edited the ticket description. |
Changed branch from u/mkoeppe/ticket/28905 to |
Provide
spkg-configure.m4
to use libcdd/cdd from the system.This ticket is limited to systems that install headers into
/usr/include
rather than/usr/include/cdd
(Debian) or/usr/include/cddlib
(Fedora).Follow-up: #29413 (Upgrade cddlib, fix cddlib header search for packages latte_int, gfan, topcom)
CC: @saraedum @orlitzky
Component: build: configure
Author: Dima Pasechnik, Michael Orlitzky
Branch/Commit:
de9fb2e
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/28905
The text was updated successfully, but these errors were encountered: