[SM-Discuss] Parallel build for scons ... access to MAKE_NJOBS?
eric at sandall.us
Sun Nov 22 00:14:39 EST 2009
On Sat, 17 Oct 2009 12:20:03 +0200
Thomas Orgis <thomas-forum at orgis.org> wrote:
> Hi there...
> During update of ardour2 spell I was wondering if the scons build
> wouldn't be able to use more than one CPU... and it turns out that
> scons can do that, even with the same parameter, -jNUMBER.
> So... I could just parse /etc/sorcery/local/compile_config and use
> MAKE_NJOBS (which is called EXTRA_JOBS in the sorcery menu)... but
> would that be right?
> What would be the proper way to add parallel builds for scons spells?
> Or, for that matter, for any spell that does not use default_build?
> Alrighty then,
Once you get this working you can modify FUNCTIONS to have a
scons_build() to pass the correct parameters. Developers could then use
this instead. :)
Eric Sandall | Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20091121/f24e87a3/attachment.bin
More information about the SM-Discuss