boost fails build on powerpc
Boost is failing to build on PowerPC, such as Sierra. Basically, boost doesn't know what toolset to use. Here is how I am having to build:
- Superbuild. CMake, make.
- Dies on boost.
- Cd to boost. Manually enter the following commands:
- ./boostrap.sh --with-toolset=gcc
- ./b2
- Superbuild. make. make install
- Success!
Here are Cory's comments, in two e-mails:
Maybe we could add the detection for PPC (or maybe that gcc is used) in https://gitlab.kitware.com/paraview/common-superbuild/blob/master/projects/apple-unix/boost.cmake and set the --with-toolset=gcc in the boost_platform_options
variable?
Actually, we do this for Clang in https://gitlab.kitware.com/paraview/common-superbuild/blob/master/projects/apple-unix/boost.cmake#L2
Since it looks easy, and is a pain, I am marking as required.