Boost logo

Boost-Build :

Subject: Re: [Boost-build] Dependencies dropped during concurrent builds
From: Nogradi, Chris (Chris.Nogradi_at_[hidden])
Date: 2013-10-29 14:56:02


On Monday, October 28, 2013 5:15 PM, Steven Watanabe wrote:
> On 10/28/2013 09:36 AM, Nogradi, Chris wrote:
> > I ran into an issue with dependencies getting dropped during concurrent
> builds. I have submitted a Track ticket here with a sample project which
> exhibits the behavior: https://trac.lvk.cs.msu.su/boost.build/ticket/231.
> I can provide more information if it is needed.
> >
>
> I think I've tracked this down.
> True or false? This problem only appear when the header
> (reg_prv_intf_prj_gen.h) that #includes the missing header
> (app_pub_verify_gen.h) is produced by an action that generates multiple
> targets.

Yes. I believe this to indeed be the issue.

>
> If I split reg_gen into two actions then it seems to work.
>

I have tried fixing another instance of this issue in our code by splitting the one action into many and it appears to address the problem. From what I can tell this is the source of 3 out 4 of the dependency issues we are seeing. The 4th may be the same since it also involves an action with multiple targets but it is difficult to confirm.

>
> I'm working on a fix now.

Thanks! I had worked around this issue a few months ago in another area but it is becoming difficult to patch every instance that is popping up.

Chris

________________________________

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient(s) and contain information that may be confidential and/or legally privileged. If you have received this email in error, please notify the sender by reply email and delete the message. Any disclosure, copying, distribution or use of this communication (including attachments) by someone other than the intended recipient is prohibited. Thank you.


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk