|
Boost-Build : |
Subject: Re: [Boost-build] Failing dependency_test.py test.
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2012-07-16 01:00:38
Hi.
>> On 07/15/2012 03:19 PM, Jurko GospodnetiÄ wrote:
>>>
>>> If you or someone else could take a look - I'd be grateful... I hope
>>> to have the time to look into it again tomorrow or a bit later during
>>> the week...
>>>
>>
>> The problem is a result of these dependencies:
>>
>> INCLUDES x.cpp : x.bar ;
>> DEPENDS <object(c-scanner)>x.cpp : x.cpp ;
>>
>
> A workaround is remove the DEPENDS and
> use SEARCH instead of LOCATE for <object(c-scanner)>x.cpp.
> This works because I already dealt with
> this problem for generated sources found
> by SEARCH. Actually, now that I think about
> it, using SEARCH is probably better, anyway,
> because b2 enters any target with LOCATE in
> the explicit_bindings table.
Thanks for taking the time to look into this. However, my mind is
blown... :-)
I'll have to learn about stuff in Boost Build/Jam I never before
dealt with to get my head wrapped around this. At the moment I do not know:
- where these dependencies are set
- what the internal nodes are actually for
- what <object(c-scanner)>x.cpp stands for
- what <object(c-scanner)>x.cpp stands -> x.cpp stands for
- what <object(c-scanner)>x.cpp stands -> x.cpp (internal node)
stands for
- how SEARCH & LOCATE variables come into all of this since I thought
the problem was not in how the targets were getting bound but in the
fact that Boost Jam is comparing x.cpp & x.bar timestamps when they
should be completely unrelated...
I'll get back to you when I find some more time to spend on this...
Thanks again!
Best regards,
Jurko GospodnetiÄ
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