How do you install Boost on MacOS?Right now I can't find bjam for the Mac.
May 07, 2013 Turbo Boost needs to be enabled in say the UEFI/EFI/BIOS which is the case of any Mac. When Turbo Boost is enabled the system can use it to throttle cpu power. There is no way to influence this as it is an automatic system (there is 1 influence: the software you run). Oct 13, 2013 There’s more to the conversation. Turbo Boost happens on a lightly-loaded Mac. It turns the clock speed up higher for faster performance. This cannot be done on a heavily-loaded Mac because it would overheat and shut itself down. It's already on.
MrTuxYou can get the latest version of Boost by using Homebrew.
brew install boost
.
Just get the source, and compile Boost yourself; it has become very easy. Here is an example for the current version of Boost on the current macOS as of this writing:
Unpack and go into the directory:
Configure (and build bjam
):
Build:
Install:
Depending on the prefix you choose in Step 3, you might need to sudo Step 5, if the script tries copy files to a protected location.
MCCCSFink appears to have a full set of Boost packages...
With fink installed and running just do
at the terminal and accept the dependencies it insists on. Or use
to get a list of different packages that are availible.
dmckeedmckeeUnless your compiler is different than the one supplied with the Mac XCode Dev tools, just follow the instructions in section 5.1 of Getting Started Guide for Unix Variants. The configuration and building of the latest source couldn't be easier, and it took all about about 1 minute to configure and 10 minutes to compile.
In order to avoid troubles compiling third party libraries that need boost installed in your system, run this:
Install both of them using homebrew separately.
brew install boost
brew install bjam
One thing to note: in order for that to make a difference you need to have built python
with +universal
, if you haven't or you're not sure you can just rebuild python +universal
. This applies to both brew as well as macports.
OR
JacksonkrJacksonkryou can download bjam for OSX (or any other OS) here
FerruccioFerruccioInstall Xcode from the mac app store.Then use the command:
the above will install homebrew and allow you to use brew in terminal
then just use command :
which would then install the boost libraries to <your macusername>/usr/local/Cellar/boost