Subject: Re: [Boost-build] dynamically editing the bjam dependency graph
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-09-01 03:42:40
On 08/31/2017 11:39 PM, Steven Watanabe via Boost-build wrote:
> On 08/31/2017 09:10 PM, Stefan Seefeld via Boost-build wrote:
>> I'm still struggling with implementing the dynamic editing of the bjam
>> dependency graph (as outlined in
>> https://github.com/stefanseefeld/faber/wiki/Workflow). While I believe I
>> have worked out the Python frontend, the bjam backend isn't quite
>> cooperating the way I expect.
>> Consider this test code:
> The reason this fails is that dependencies
> are processed once by make1a, when the target
> is first pushed into the stack. This happens
> before 'gen' is executed, so the additional
> dependencies that it adds are ignored. Handling
> this correctly probably requires significant
> changes to make1.
Ah, thanks for confirming that, I'll try to understand how it works, and
what changes are required to support this use-case.
> Also, I notice that b is marked as always, so
> c will also always be updated regardless of whether
> it's actually out-of-date.
True. I need to figure out a way to deal with this correctly.
Thanks for the quick reply !
-- ...ich hab' noch einen Koffer in Berlin...
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