[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] feature treated as a subfeature
From:       "Belcourt, Kenneth" <kbelco () sandia ! gov>
Date:       2009-12-21 22:17:40
Message-ID: F42D0183-75CA-4B6B-88FC-9B8AB71FB6A4 () sandia ! gov
[Download RAW message or body]


On Dec 18, 2009, at 3:13 AM, Vladimir Prus wrote:

> On Tuesday 09 September 2008 00:40:22 K. Noel Belcourt wrote:
>
>>
>> On Sep 8, 2008, at 2:21 PM, K. Noel Belcourt wrote:
>>
>>> When building on my Linux system, with the sun-5.9 compilers, I try
>>> to use the stdlib=sun-stlport feature (defined in sun.jam).  I get
>>> this error from the build system.
>>>
>>> bjam sun-5.9 stdlib=sun-stlport
>>>
>>> /var/scratch/boost/tools/build/v2/build/feature.jam:466: in  
>>> validate-
>>> value-string from module feature
>>> error: "sun" is not a known value of feature <stdlib>
>>> error: legal values: "native" "sun-stlport" "stlport"
>>
>> I've attached a patch which seems to fix this problem and, hopefully,
>> doesn't cause any other problems.  Can someone look this over and see
>> if it looks okay?  Basically the patch says if a feature has a
>> subfeature (which <stdlib> does) and the value-string (sun-stlport)
>> is not in the list of valid features ( $($(feature).values) ), then
>> proceed as before (split the string into subfeatures and validate the
>> subfeatures.
>
> After an embarrassing delay, I've checked in
> this change (suitably adjusted for recent changes):
>
> 	https://svn.boost.org/trac/boost/changeset/58451
>
> Noel, could you check whether you still need any local changes in  
> feature.jam?

It seems to work fine without my local changes.

Thanks Volodya!

-- Noel


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic