Boost logo

Boost-Build :

Subject: [Boost-build] bootstrap.sh --with-toolset not accepting clang-XY.Z
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2018-04-03 15:31:26


Hi,

I'm using Docker with clang (nwtgck/llvm-clang:5.0.0) where there is
no clang alternative configured, but only /usr/bin/clang-5.0.0.

I was surprised to discover that

./bootstrap.sh --with-toolset=clang-5.0.0

fails with

./build.sh: 17: ./build.sh: clang: not found

I assume, similar failure would happen for gcc-7.2, for instance.

Is this known limitation or am I missing any options
or environment variables to the script?

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

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