[Scons-users] Determining number of build processes within scons

Daniel Russel drussel at gmail.com
Thu Dec 6 14:00:02 EST 2012


In our case the other libs are build as part of configuration steps (eg
check if lib is found, if not, build it). So scons is single process at
that point and everything works out nicely.


On Wed, Dec 5, 2012 at 8:54 PM, Mark Ribau
<mribau at realtaentertainment.com>wrote:


> You might wish instead to add your own option to your SConstruct like

> -subjobs or something so that you can grab that and use that with your

> builders. This would probably work best with no -j or -j 1. As previously

> stated, beware of the multiplier effect. If you had 8 hardware threads,

> you might be able to get away with -j 2 -subjobs 4. See AddOption in the

> man page for adding your own command line option.

> *

> *

> *

> *

> ----

> *mark ribau*

> *software engineer

> *

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121206/6d18f9aa/attachment.htm>


More information about the Scons-users mailing list