[Scons-dev] Default number of jobs

Russel Winder russel at winder.org.uk
Sat Jul 28 15:16:49 EDT 2012


On Sat, 2012-07-28 at 10:30 -0600, David Stone wrote:
[…]

> import multiprocessing

> SetOption('num_jobs', multiprocessing.cpu_count())

[…]

Sadly, due to SCons having a support floor of Python 2.4, this is not
possible. At least I don't think it is: multiprocessing has been
backported to Python 2.5 but not 2.4.

Personally I would prefer SCons to have a floor of Python 2.7, but many
object to that idea :-)

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://two.pairlist.net/pipermail/scons-dev/attachments/20120728/b0a788d9/attachment.pgp>


More information about the Scons-dev mailing list