[Scons-users] Problems with SCons parallel build

Brady Johnson bradyallenjohnson at gmail.com
Fri Mar 21 17:00:54 EDT 2014


Gary,

Ya, I was just about to reply saying that the thrift file is used for code
gen, but its not generated, it exists when the build starts.

Dirk,

I just checked and there are builders that do "cd" via the Command()
builder. I'll look at them to see if what they are doing (its something
like this: "cd /some/dir ; jar xvf /some/file") can be done without the
"cd", but if not is there a way around this? Its been a long week, and my
brain is fried right now, so I probably wont get back until tomorrow.

Thanks for the info guys!! :)

Regards,

Brady



On Fri, Mar 21, 2014 at 9:50 PM, Dirk Bächle <tshortik at gmx.de> wrote:


> On 21.03.2014 21:23, Brady Johnson wrote:

>

>> Gary,

>>

>> I am indeed doing code gen, but all the files that get reported as not

>> existing are not generated, they exist before the build starts.

>>

>>

> One other thing came to my mind right now... Are there any builders

> involved that directly change the current directory, like with "cd" or

> "os.chdir"? This would explain why files aren't found during a parallel

> build, but on "-j1" everything seems to work fine.

>

> You could try to build a single directory with "scons -j4

> software/Code/Common/build" on a clean project.

>

>

> Dirk

>

> _______________________________________________

> 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/20140321/111e0da8/attachment.html


More information about the Scons-users mailing list