#18126: Coin-OR CBC: new-style SPKG
-------------------------------------+-------------------------------------
Reporter: ncohen | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.6
Component: packages: | Resolution:
optional | Merged in:
Keywords: sd66 | Reviewers:
Authors: Nathann Cohen | Work issues:
Report Upstream: N/A | Commit:
Branch: public/18126 | 4e3830fbf8c6c7d72ba6f0cdf44ee761bc203a2a
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
Hello !
> You did a push while I was testing the stuff, so I don't know if it will
change something.
I added a warning to say something more useful when SAGE_ROOT is not
defined. This block of 4 lines can be found in most `spkg-install` scripts
that Sage ships.
> So it is working this way, but it was not working when trying first
`sage -i cbc`. Don't know why.
New-style spkg work this way: ideally we have in upstream/ the copy of the
source files, as given by the original authors of the software. Then, in
build/pkgs we have some scripts to install it as it should in Sage.
As the sources were not available on your computer (and obviously not on
Sage's server either, as the version we have here is more recent) the
spkg-src script downloaded it from Coin's website and created the
upstream/ archive. Then, with `sage -i cbc` you called the scripts from
`build/pkgs/`, which used the new .tar.bz2 file.
> What should I do next?
Well, now you apparently have Cbc on your computer. So you can solve LP
with it, check that tests pass when you add `--optional=sage,coin` to
`sage -t`.
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/18126#comment:19>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.