Prerequisites listed include Boost.

My question is:
What is the recommended way to build/install Boost for TextMate building?


Using Homebrew, boost has additional options and they seem possibly valuable but also potentially problematic.

Sadly, Boost doesn't ship in parts, even though it can be used linked to in independent parts (mostly).

brew says this about Boost:

$ brew info boost
boost: stable 1.63.0 (bottled), HEAD
Collection of portable C++ source libraries
https://www.boost.org/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb
==> Dependencies
Optional: icu4c 
==> Requirements
Optional: mpi 
==> Options
--c++11
Build using C++11 mode
--universal
Build a universal binary
--with-icu4c
Build regexp engine with icu support
--with-mpi
Build with MPI support
--without-single
Disable building single-threading variant
--without-static
Disable building static library variant
--HEAD
Install HEAD version
==> Caveats

Building of Boost.Log is disabled because it requires newer GCC or Clang.


I tried:
brew install --c++11 --with-icu4c --with-mpi boost

I know macOS has its own ICU, but I also know Apple prefers people build against their own ICU if they need direct ICU support.

MPI wanted to build its own gcc and then I got a warning about gcc's dependency on a different C++ being a potential issue using boost with clang.
(seems insane to me)

"Warning: boost dependency gcc was built with a different C++ standard library (libstdc++ from clang). This may cause problems at runtime."

MPI adds these dependencies:
gmp, mpfr, libmpc, isl, gcc