Skip to content

Instantly share code, notes, and snippets.

@eschnett
Created January 8, 2021 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eschnett/e8c907a768d23fef6a5e4d0dfd6a7b8f to your computer and use it in GitHub Desktop.
Save eschnett/e8c907a768d23fef6a5e4d0dfd6a7b8f to your computer and use it in GitHub Desktop.
==> boost: Executing phase: 'install'
==> [2021-01-08-14:30:52.763185] './bootstrap.sh' '--prefix=/autofs/nccs-svm1_home1/schnett/src/spack/opt/spack/linux-rhel7-power8le/gcc-4.8.5/boost-1.75.0-5gqwgijn6ipssz3mo5ssjmmiqaol4n5v' '--with-toolset=gcc' '--with-libraries=locale,random,wave,atomic,serialization,iostreams,regex,date_time,exception,log,thread,chrono,graph,system,timer,program_options,filesystem,test,math'
Building B2 engine..
A C++11 capable compiler is required for building the B2 engine.
Toolset 'xlcpp' does not appear to support C++11.
** Note, the C++11 capable compiler is _only_ required for building the B2
** engine. The B2 build system allows for using any C++ level and any other
** supported language and resource in your projects.
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.
Failed to build B2 build engine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment