build
build copied to clipboard
Toolset 'darwin' gone in boost-1.72.0?
I cannot install version 1.72.0 on MacOS (10.15.2) with the recipes that worked for previous versions.
/bootstrap.sh --with-python=.../bin/python3.6 --with-toolset=darwin
I get the following error in bootstrap.log
Unknown toolset: darwin
You can specify the toolset as the argument, i.e.:
./build.sh gcc
Toolsets supported by this script are:
acc, clang, como, gcc, intel-darwin, intel-linux, kcc, kylix, mipspro,
pathscale, pgi, qcc, sun, sunpro, tru64cxx, vacpp
For any toolset you can override the path to the compiler with the CXX
environment variable. You can also use additional flags for the compiler
with the CXXFLAGS environment variable.
A special toolset; cxx, is available which is used as a fallback when a more
specific toolset is not found and the cxx command is detected. The 'cxx'
toolset will use the CXX, CXXFLAGS, and LIBS environment variables, if present.
Similarly, the cross-cxx toolset is available for cross-compiling by using the
BUILD_CXX, BUILD_CXXFLAGS, and BUILD_LDFLAGS environment variables to compile
binaries that will be executed on the build system. This allows CXX etc. to be
set for cross-compilers to be propagated to subprocesses.
Any suggestion?
This was removed by https://github.com/boostorg/build/commit/eb8da52df3a43ca9616a7a6e11e0ad6fe896c031. I have contacted the author, and am awaiting a response. I will post back here once I have an update.
@hainest it was removed for building b2 as here is no difference between it and the clang toolset. Hence there was no point in maintaining duplicate code for both.
You should be able to make things work equally well by using --with-toolset=clang
.
Thanks I'll try. Is this change in the toolchain also working for previous versions of Boost?
@grafikrobot That makes sense. It seems this would be a documentation bug, then.
Thank you for your contributions. Main development of B2 has moved to https://github.com/bfgroup/b2 This issue has been automatically marked as "transition" to indicate the potential for needing transition to the new B2 development project.