[Scons-users] Problems with SCons parallel build

Brady Johnson bradyallenjohnson at gmail.com
Fri Mar 21 16:23:53 EDT 2014


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.

Like I mentioned previously, I tried with SCons 2.3.0 and 2.3.1. Can you
recommend a previous version to test? I dont see anything prior to that on
the SCons homepage.

Also, one last thing I forgot to mention :)

$ python --version
Python 2.7.2


Dirk,

Im using a Hierarchical build and setting the
variant_dir='software/Code/Common/build/'
in the call to SConscript(). In the directory "software/Code/Common" we
have several common libraries, one per sub-directory, and the build places
the built output in sub-directories under "software/Code/Common/build". Im
not sure I follow your question, but does that help answer it?

Regards,

Brady



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


> Hi Brady,

>

> and thanks for all the provided info about your build problem. A "bug

> report" just the way I like it. ;)

>

>

> On 21.03.2014 21:02, Brady Johnson wrote:

>

>>

>> Hello all,

>>

>> There seem to be some serious/fundamental problems compiling in parallel

>> with SCons. By parallel, I mean I am using the "-j" flag.

>>

>> Here is the problematic output when it fails:

>>

>> ...

>> Building target: software/Code/Common/build/BbscModel/src/main/c/Dbs/

>> ApplicationFilterType.o...

>> Building target: software/Code/Common/build/BbscModel/src/main/c/Dbs/

>> ConsistencyCheckDbsIf.o...

>> Building target: software/Code/Common/build/BbscModel/src/main/c/Dbs/

>> ConsistencyCheckType.o...

>> x86_64-dx-linux-gnu-g++: software/Code/Common/BbscModel/src/main/c/Dbs/ApplicationFilterType.cc:

>> No such file or directory

>> x86_64-dx-linux-gnu-g++: no input files

>>

>

> Why do the object files go to "software/Code/Common/build/BbscModel..."

> while the CC files are searched in "software/Code/Common/BbscModel" (no

> "build" in path)?

>

> Best regards,

>

> 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/9f8bfb9a/attachment.html


More information about the Scons-users mailing list