|
Boost-Build : |
Subject: Re: [Boost-build] Latest b2 on trunk always rerunning tests
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-11-06 11:19:02
AMDG
On 11/06/2013 07:58 AM, Jürgen Hunold wrote:
> Hi Steven,
>
> On Wednesday, 6. November 2013 07:07:25 Steven Watanabe wrote:
>>> This eliminates the "b2 headers" step but seems to trigger full rebuilds
>>> on
>>> every b2 invocation.
>>
>> Don't do this. This is completely wrong.
>
> Right. Revertet as in seen in:
>
>> Author: jhunold
>> Date: 2013-11-06 10:55:26 EST (Wed, 06 Nov 2013)
>> New Revision: 86573
>> URL: http://svn.boost.org/trac/boost/changeset/86573
>
>> Log:
>> Revert 86527: <dependency> on /boost//headers is wrong, use <implicit-
>> dependency> again.
>
> But I'd really like to know:
>
> - Why is this completely wrong?
Because it forces every target to rebuild
if any header changes.
> - Can we somehow avoid the "b2 headers" step?
>
It should not be necessary for running the tests.
The stage and install targets need to adjusted.
(stage should depend on /boost//headers; install
should search in each library's include/ directory)
In Christ,
Steven Watanabe
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