Trunk tests with stdlib=sun-stlport

View: New views
1 Messages — Rating Filter:   Alert me  

Trunk tests with stdlib=sun-stlport

by Belcourt, Kenneth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

When running trunk tests on Linux with the Sun 5.9 CC compiler, I get  
this error out of Boost.Build :

/var/scratch/boost/tools_bb/build/feature.jam:483: 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 run the tests using this command :

python run.py --runner="Sandia-Linux-sun" --bjam-toolset=gcc --pjl-
toolset=gcc --toolsets="sun-5.9" --bjam-options="-j8 stdlib=sun-stlport"

The problem seems to be in feature.jam, when parsing the stdlib  
option.  I've found that I needed to make the attached patch to  
feature.jam, in order to get bjam to accept stdlib=sun-stlport on the  
command line.

I use the patch_boost script to copy it into these locations.

        cp feature.jam.save boost/tools/build/v2/build/feature.jam
        cp feature.jam.save tools_bb/build/feature.jam

Does anyone know if this is a known issue or should I open a ticket  
and attach the patch?

-- Noel








_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

feature.jam.diff (682 bytes) Download Attachment
feature.jam.diff (1K) Download Attachment