#12220: Updated CBC spkg
----------------------------------+-----------------------------------------
Reporter: ncohen | Owner: ncohen
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: linear programming | Keywords: sd35.5
Work_issues: | Upstream: N/A
Reviewer: | Author: John Perry
Merged: | Dependencies:
----------------------------------+-----------------------------------------
Comment(by ncohen):
> (Demonstrating my rank ignorance here...)
I would have been glad to ignore that myself, but that was before I had to
deal with this CBC spkg.
Here's the problem : during the "./configure" step CBC detects (on linux)
that the rt library is available and detects (on mac) that it is not in
which case it uses a different code. The libraries are built. Then we
build the coin_backend.pyx file in Sage, which calls the Coin library,
hence this file has to be linked with the coin library. If (under linux)
we do not also link coin_backend.pyx with rt then we get an exception
saying that a function is missing in the lib. So we have to add a "rt"
flag to module_list.py so that Sage links it. Yeah, but then it does not
compile on Mac anymore because the library does not exist.
Ideally, we would like to force the ./configure script to ignore the rt
library on linux but I have no idea how to do that.
Would you know how to get away with all that ? `:-P`
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12220#comment:46>
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.