Boost logo

Boost-Build :

Subject: Re: [Boost-build] Dependencies dropped during concurrent builds
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-10-28 18:14:45


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: 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

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

rule reg_gen {
    reg_gen1 $(1[1]) : $(2) ;
    reg_gen2 $(1[2]) : $(2) ;

actions reg_gen1
    echo /* stuff */ > $(<)

actions reg_gen2
    echo #include "app_pub_verify_gen.h" > $(<)

I'm working on a fix now.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at