make -j (i.e. multi-core make) doesn't currently work for sage, it
seems to get a few dependencies screwed up, although william
mentioned there was some decent way to at least get make -j working
for many individual packages.
Would it be difficult to make this available easily via just "make -
j" or something similar? Should I add a ticket to that effect?
david
(1) The release candidate I posted doesn't build because spkg-dist doesn't
get c_lib, as it isn't listed in the MANIFEST.in file. I can't attempt to fix
this until tomorrow, since my home network connection is so flaky.
If you do
export MAKE="make -j4"
make
then some of the spkg's will be built using "make -j4". This can
speed things up. Note that some spkg's, e.g., Python, will fail
to build if built with parallel make (and this has nothing to do with
SAGE as far as I can tell).
If an spkg just does "make" instead of "$MAKE" it won't benefit
from the MAKE environment variable being set -- if any packages
use "make" instead of "$MAKE" they should be changed.
I would certainly welcome people putting further work into improving
the parallel
build of SAGE. This would be a reasonable trac ticket.
-- William
> (2) On 8/29/07, David Harvey <dmha...@math.harvard.edu> wrote:
>> make -j (i.e. multi-core make) doesn't currently work for sage, it
>> seems to get a few dependencies screwed up, although william
>> mentioned there was some decent way to at least get make -j working
>> for many individual packages.
>>
>> Would it be difficult to make this available easily via just "make -
>> j" or something similar? Should I add a ticket to that effect?
>
> If you do
> export MAKE="make -j4"
> make
> then some of the spkg's will be built using "make -j4". This can
> speed things up. Note that some spkg's, e.g., Python, will fail
> to build if built with parallel make (and this has nothing to do with
> SAGE as far as I can tell).
>
> If an spkg just does "make" instead of "$MAKE" it won't benefit
> from the MAKE environment variable being set -- if any packages
> use "make" instead of "$MAKE" they should be changed.
>
>
> I would certainly welcome people putting further work into improving
> the parallel
> build of SAGE. This would be a reasonable trac ticket.
Ok i've added this as #526, with a link back to this email.
david