Boost logo

Boost-Build :

Subject: Re: [Boost-build] adding tests conditional on compiler's C++11 support
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-09-28 17:24:24


On 09/28/2016 02:53 PM, Stefan Seefeld wrote:
> <snip>. This suggests that
> Boost.Build stores the cxx11_smart_ptr value with the library build,
> rather than computing it with each compiler invocation. Is that right.

Yes. You should see a line that says:
  - cxx11_smart_ptr : no (cached)
to indicate that it's using a previously stored value.

> And if so, is that really the right way / time to compute it ? (I'm
> thinking it might be better to compute each time the compile is invoked,
> but I wonder whether I'm overlooking some rationale for the current choice.)

You can work around this with:
b2 -a --reconfigure

Ideally -a or --clean would be sufficient.
Unfortunately, the implementation saves the
result in two different ways, and both of
them need to be cleared.

In Christ,
Steven Watanabe

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