Boost logo

Boost :

Subject: Re: [boost] PSA: Travis OS X bottleneck, <cxxstd> new Boost.Build feature
From: Peter Dimov (lists_at_[hidden])
Date: 2017-10-26 17:53:08


James E. King, III wrote:
> In Travis if one updates gcc and clang as part of the update scripts, you
> end up with "clang++" and "clang++-5.0" for example, where the first one
> is the version that came with the distribution.
>
> Is there a bjam directive to change the compiler name, for example it
> would be nice if I could do:
>
> toolset=gcc,clang compiler={g++,g++-7},{clang++,clang++-5.0}

I've been informed that

    toolset=gcc-7

already works and automagically chooses g++-7 as the compiler.

Unfortunately, this trick doesn't work for clang (yet?), so one still need
the user-config.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk