Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cannot get b2 to use crayc++
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-11-15 15:54:20


AMDG

On 11/15/2012 12:10 AM, Ilja Honkonen wrote:
>>>> bjam toolset=cray
>>>> Add -d2 to display debug information if this doesn't work.
>>> Thanks. It seems multiple using lines in the .jam file is also supported
>>> so requiring the toolset command line argument makes sense.
>> The first toolset that you initialize should be the
>> default. If this is the only using statement and
>> you have to specify the toolset on the command line,
>> then it's a bug.
>
> I have to specify the toolset even if there is only one using line in
> user-config.jam:
>
> tar xf boost_1_52_0.tar.bz2
> cd boost_1_52_0/
> ./bootstrap.sh
> echo "using cray : 8.1.1 : CC ;" >> ./tools/build/v2/user-config.jam
> ./b2 --with-test -d2
>

I see what the problem is. Try deleting project-config.jam.
bootstrap.sh is forcing gcc to be the default toolset.

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