|
Boost-Build : |
Subject: Re: [Boost-build] Cannot get b2 to use crayc++
From: Vicente Botet (vicente.botet_at_[hidden])
Date: 2012-11-13 05:51:03
Ilja Honkonen wrote
> Hello
>
> I cannot get b2 to use the cray compiler when compiling boost 1.52.0:
>
> craycc -V
> Cray C : Version 8.1.1 Tue Nov 13, 2012 09:15:01
>
> crayc++ -V
> Cray C++ : Version 8.1.1 Tue Nov 13, 2012 09:15:10
>
> which crayc++
> /opt/cray/xt-asyncpe/5.15/bin/crayc++
>
> hence I have
> using cray : : /opt/cray/xt-asyncpe/5.15/bin/crayc++ ;
> in ./tools/build/v2/user-config.jam
>
> but b2 still prints the following:
>
> Building the Boost C++ Libraries.
>
>
> Performing configuration checks
>
> - 32-bit : no
> - 64-bit : yes
> - x86 : yes
>
> ...
>
> ...patience...
> ...found 8766 targets...
> ...updating 949 targets...
> common.mkdir bin.v2/libs/system
> common.mkdir bin.v2/libs/system/build
> common.mkdir bin.v2/libs/system/build/gcc-4.3
> common.mkdir bin.v2/libs/system/build/gcc-4.3/release
> common.mkdir bin.v2/libs/system/build/gcc-4.3/release/threading-multi
> gcc.compile.c++
> bin.v2/libs/system/build/gcc-4.3/release/threading-multi/error_code.o
> gcc.link.dll
> bin.v2/libs/system/build/gcc-4.3/release/threading-multi/libboost_system.so.1.52.0
> gcc.link.dll
> bin.v2/libs/chrono/build/gcc-4.3/release/threading-multi/libboost_chrono.so.1.52.0
>
> How can I make b2 use the cray compiler? Or even better how can make
> sure that b2 uses this executable (and assumes that the compiler is
> crayc++) /opt/cray/xt-asyncpe/5.15/bin/CC ? Putting anything after using
> cray in user-config.jam doesn't seem to have any effect.
> Thanks.
bjam toolset=cray
Add -d2 to display debug information if this doesn't work.
Best,
Vicente
-- View this message in context: http://boost.2283326.n4.nabble.com/Cannot-get-b2-to-use-crayc-tp4638512p4638513.html Sent from the Boost - Build mailing list archive at Nabble.com.
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