On 06/24/10 07:58 PM, Robert Bradshaw wrote:
On Jun 24, 2010, at 10:06 AM, Dr. David Kirkby wrote:
It would be good if Mitesh's code for building packages in parallel
could be merged soon, as it could make a *huge* benefit to users and
developers alike.
Of course, I'd like to see my OpenSolaris fixes and others would no
doubt like to see their fixes. But Mitesh's work should benefit a
*lot* of people in a big way. Hence I think it should be given
priority - even over my own patches!
BTW, does anyone know how (if?) it handles packages with tuning code?
- Robert
Hi Robert.
I've not seen that addressed, but there are a lot of tickets related to this, to
it might be mentioned on one of them.
It could get a bit tricky with code that does tuning. But then tuning code has
the potential for going wrong if you build code on multi-user systems where the
load can change depending on what others are doing.
Note Mitesh's changes will not affect the default behavior - that will still be
to build the packages sequentially. One would need to set
SAGE_PARALLEL_SPKG_BUILD=yes to get the packages to build in parallel.
Personally I think it would be good to get all his changes in at the earliest
opportunity, so they can get a lot of testing. There's certainly a potential for
problems, but then there is also the potential to get much faster builds done on
modern hardware. To me at least, these more risky things are best put into an
alpha0.
Also, given the large number of packages which needed to be changed, if these
are not done soon, there will be a lot of rebasing work.
Of course, I'd like to see some of my own changes too - especially the zlib
(#9008) and python (#9295) updates, but I think Mitesh's work on building
packages in parallel has the potential to benefit a lot of people. I should
think almost everyone here has at least two cores, and machines like sage.math
have 24.
I don't think I'll try a parallel build on my laptop though - I think the thing
would get red hot with both cores working flat out for a long time.
Dave
--
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