Created
          October 10, 2020 09:00 
        
      - 
      
 - 
        
Save devymex/dd6c43b2e0871959ff1c2bf0e5ee14e7 to your computer and use it in GitHub Desktop.  
    building boost from source
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/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