[Scons-users] chdir and parallel builds

Paweł Tomulik ptomulik at meil.pw.edu.pl
Tue Jul 7 14:34:16 EDT 2015


Hi,

many tools I've seen just use shell command cd instead of chdir in
SCons. The commands they generate are usually

cd some/dir && command with options

or such.

Regards!

W dniu 07.07.2015 o 15:23, Ora pisze:
> Hi,
> 
> I'm having trouble using the chdir parameter when using the parallel
> build option (-j). 
> 
> Scons changes the directory properly, but does not change it back
> immediately when the builder finishes. 
> 
> At this stage in the build, the builders are called sequentially, with
> each one requiring the result of the previous build in order to advance
> to the next one, but the directory is only changed back a couple of
> builders down the line.
> 
> Is there a way around this problem?
> 
> 
> Thanks,
> Ora
> 
> 
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
> 


-- 
Pawel Tomulik


More information about the Scons-users mailing list