On Sun, Mar 4, 2012 at 12:10 AM, Keshav Kini <keshav.k...@gmail.com> wrote: > François Bissey <francois.bis...@canterbury.ac.nz> writes: >> On Sun, 04 Mar 2012 00:02:57 Michael Orlitzky wrote: >>> On 03/03/2012 07:50 PM, François Bissey wrote: >>> > No, I was refering to the ability to clone the sage hg repository and >>> > switch to your own "homebrew" version of sage by running "sage -b". That >>> > isn't supported right now in Gentoo (although I have idea on how to >>> > achieve it I haven't done the perspiration yet to make it happen). > > Please note that, judging from recent posts on sage-devel by William and > others, `sage -b <argument>` and `sage -clone` are considered old hacks > that nobody likes anymore (and that includes me, certainly). The nice > way to do this would be to have a devel/sage directory in which you > could checkout various revisions from the repository and build them. > > The main thing that's missing from that scenario is the ability to cache > Cython intermediate objects (and gcc intermediate objects for that > matter) to avoid rebuilding things again and again when switching back > and forth between two commonly visited revisions of the repository. So I > think that's the direction in which effort should be applied. > >> I think you are missing the point. Sage has tools to enable you to only >> rebuild a minimal subset of files - it is disabled in sage-on-gentoo - >> that enables to test a small change relatively quickly. If I want to do the >> same with s-o-g I have to rebuild the whole thing. > > Burcin said he is planning to have a devel/ toplevel directory in > lmonade for development of Sage and perhaps certain other packages. I > imagine that this will make it easier to implement the partial rebuilds > that we now do with `sage -b`, since it's similar to how we currently > have a devel/sage-main directory in our Sage tree.
Yep. And done right, build artifacts could even be shared across completely distinct sage installs. - Robert -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org