Boost logo

Boost-Build :

Subject: Re: [Boost-build] [build] [config] check_target_builds and feature.subfeature composition
From: Stefan Seefeld (stefan_at_[hidden])
Date: 2017-01-24 23:02:34


On Jan 24, 2017 8:00 PM, "Edward Diener" <eldiener_at_[hidden]> wrote:
>
> On 1/24/2017 9:13 AM, Stefan Seefeld wrote:
>>
>> On 24.01.2017 03:30, John Maddock wrote:
>>>
>>>
>>>>> Yes I have, I brought it up, nothing happened. I stopped using
>>>>> check_target_builds.
>>>>>
>>>> The problem is that check_target_builds tries to
>>>> guess which features are important, and does it
>>>> badly (via a hard-coded list).

[…]

>> It seems this issue arises because b2 allows multiple build variants to
>> be built at once, so (at least theoretically) each would need to run its
>> own set of config checks.
>
>
> You don't need multiple build variants to generate the problem. Just
build with a toolset for a compiler(-version) with a subfeature that sets
-std=c++03, and then subsequently build with a compiler(-version) with a
subfeature that sets -std=c++11.

To me that's two build variants, at least conceptually. How else would you
combine builds with two ABI-incompatible flags ?

   Stefan



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