|
Boost-Build : |
Subject: [Boost-build] Cannot get b2 to use crayc++
From: Ilja Honkonen (ilja.honkonen_at_[hidden])
Date: 2012-11-13 03:20:10
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.
Ilja
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