Boost logo

Boost-Build :

Subject: [Boost-build] using "using" to make separate toolset configurations
From: Robert Ramey (ramey_at_[hidden])
Date: 2015-10-30 12:59:54


in my user-config.jam file I have:

using darwin : 03 : /hpc-5.1/usr/local/bin/g++ : <cxxflags>"-std=c++03" ;
using darwin : 11 : /hpc-5.1/usr/local/bin/g++ : <cxxflags>"-std=c++11" ;
using darwin : 14 : /hpc-5.1/usr/local/bin/g++ : <cxxflags>"-std=c++14" ;
using clang : 03 : : <cxxflags>"-std=c++03"
<cxxflags>"-Wno-c++11-extensions" ;
using clang : 11 : : <cxxflags>"-std=c++11" ;
using clang : 14 : : <cxxflags>"-std=c++14" ;

my intention is to be able to use

../../../tools/library_status/library_test.sh -j4 toolset=darwin-11
variant=debug link=static >b2.log &

../../../tools/library_status/library_test.sh -j4 toolset=darwin-11
variant=debug link=static >b2.log &

etc.

But when run

../../../tools/library_status/library_test.sh -j4 toolset=darwin-03
variant=debug link=static test_array_xml_warchive >b2.log &

I get

boost_root: /Users/robertramey/WorkingProjects/modular-boost
locate_root: /Users/robertramey/WorkingProjects/modular-boost
uild core (at
/Users/robertramey/WorkingProjects/modular-boost/tools/build/src) is
2015.07-git
MPI auto-detection failed: unknown wrapper compiler mpic++
Please report this error to the Boost mailing list: http://www.boost.org
You will need to manually configure MPI support.
Performing configuration checks

     - 32-bit : no (cached)
     - 64-bit : yes (cached)
     - arm : no (cached)
     - mips1 : no (cached)
     - power : no (cached)
     - sparc : no (cached)
     - x86 : yes (cached)
     - symlinks supported : yes (cached)
     - Boost.Config Feature Check: cxx11_hdr_array : no (cached)
     - Boost.Config Feature Check: cxx11_hdr_array : no (cached)
...found 1 target...

on the other hand, when I invoke

../../../tools/library_status/library_test.sh -j4 toolset=darwin-11
variant=debug link=static test_array_xml_warchive >b2.log &

things work just fine. What do I have to do to make this work.

Robert Ramey

PS

The reason I want to do this is so that I maintain different results for
gcc with different versions of the standard library. If I don't do this
I only have the most recent one all with the same name. This inhibits
the library_status program from functioning as desired.

PPS - it seemed that this worked before but now it broke.




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