Skip to content

Instantly share code, notes, and snippets.

@devymex
Created October 10, 2020 09:00
Show Gist options
  • Save devymex/dd6c43b2e0871959ff1c2bf0e5ee14e7 to your computer and use it in GitHub Desktop.
Save devymex/dd6c43b2e0871959ff1c2bf0e5ee14e7 to your computer and use it in GitHub Desktop.
building boost from source
#!/bin/bash
set -e
sudo apt install -y libpython3-dev python3-pip
sudo pip3 install numpy
sudo apt purge libboost*
sudo apt autoremove --purge
./bootstrap.sh --with-python=python3 --prefix=/usr
./b2 --build-dir=build/x86 cxxflags="-fPIC" -j8
sudo ./b2 install --prefix=/usr --build-dir=/build/x86 cxxflags="-fPIC" -j8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment