|
Boost-Build : |
Subject: Re: [Boost-build] Suppressing auto-detected address-model from paths
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-04-03 16:31:57
AMDG
On 04/03/2015 01:48 PM, Vladimir Prus wrote:
>
> So the attached patch implements a stop-gap approach. It adds a new
> composite property
> representing deduced address model as well as 'hidden' attribute for
> features. So, if we have
>
> <deduced-address-model>64 <address-model>64
>
> then the latter is consumed by the former, and the former is hidden from
> the path. If we have
>
> <deduced-address-model>64 <address-model>32
>
> which would only be possible if some target specifically specify 32-bit,
> then we'd hide the former
> property, while the latter will be visible.
>
> The same approach should work for architecture. Comments? Is it good for
> upcoming release?
>
I like it. The only issue I have is that
<deduced-address-model> propagates across
a toolset change, which could result in
strange behavior. I think it should work
well enough to get this release out, however.
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