[Scons-users] problem with "-j" option

William Blevins wblevins001 at gmail.com
Sun Apr 19 16:37:51 EDT 2015


Also consider inspecting the DAG using "--tree" options to ensure that the
relationships are getting created as you expect.  It may be that the DAG
does not allow those elements to be built in parallel.


On Sun, Apr 19, 2015 at 2:55 PM, Dirk Bächle <tshortik at gmx.de> wrote:

> Hi Tom,
> On 19.04.2015 18:35, Tom Lippincott wrote:
>> Hi everyone,
>> Recently I've noticed that some of my custom builders refuse to run in
>> parallel with the "-j" option: they just execute serially.  Others
>> behave as expected.  I was wondering what could cause this/how to track
>> it down.  My current hypothesis is that something in their
>> implementation, or in the libraries they use, involves some sort of
>> shared-state that SCons detects and therefore refuses to parallelize.
>> Has anyone seen/resolved similar issues, or know where I should look?
> the first thing you should check, is whether the affected Builders use the
> SideEffect() method. It will enforce serial processing, even if "-j" is
> actually specified.
> Best regards,
> Dirk
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20150419/ac4e1247/attachment.html>

More information about the Scons-users mailing list