[Scons-users] problem while compiling in parallel

Kenny, Jason L jason.l.kenny at intel.com
Thu Feb 21 17:17:18 EST 2013


Given the return code issue, you might want to look at the exitstatfunc value in Action(). ( look at the man page) This allows you to map return code to a way SCons wants to see them.

This might be helpful for your custom compiler tool.

Good luck!
Jason

From: scons-users-bounces at scons.org [mailto:scons-users-bounces at scons.org] On Behalf Of Jameel Shorosh
Sent: Thursday, February 21, 2013 4:05 PM
To: SCons users mailing list
Subject: Re: [Scons-users] problem while compiling in parallel

Hi
Please ignore , i found the bug in my customized area (the customized compiler command was not always returning the right return code so scons was continuing the build to link phase although the compilation command failed.

Thanks Anyway
Jameel

On Thursday, February 21, 2013, Jameel Shorosh wrote:
I just saw now thatin the latest version of scons one defect was fixed that is related to multi-threading run, I am wondering if it is related to the my case:

""" From Alexey Klimkin:
- Fixed the Taskmaster, curing spurious build failures in
multi-threaded runs (#2720).
"""
On Thu, Feb 21, 2013 at 10:18 PM, Jameel Shorosh <jameel.shorosh at gmail.com<javascript:_e(%7b%7d,%20'cvml',%20'jameel.shorosh at gmail.com');>> wrote:
Hi Jason,
Thanks for the reply.

regrading 1 - Please note that the compilation of one of the files failed and the linkage shouldnt have started at all.
regrarding 2 - no I dont use -k. (I feel it is somehow related to 1 because things went out of synchronization

Jameel
On Thu, Feb 21, 2013 at 9:59 PM, Kenny, Jason L <jason.l.kenny at intel.com<javascript:_e(%7b%7d,%20'cvml',%20'jason.l.kenny at intel.com');>> wrote:
Problem 1: I only have seen this myself when there was something wrong with the depends tree. Well, I did see this once in windows ( which you are not using) because the tasked finished and the virus checker delayed the finial write or something to disk so it could check it. On Linux is has always been for me a bad depends tree.

Problem 2: Do you have -k in the command line?

Jason

_______________________________________________
Scons-users mailing list
Scons-users at scons.org<javascript:_e(%7b%7d,%20'cvml',%20'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/20130221/e81bef10/attachment-0001.htm>


More information about the Scons-users mailing list