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

Dirk Bächle tshortik at gmx.de
Sun Apr 19 14:55:09 EDT 2015


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



More information about the Scons-users mailing list