Build Python 2.7.12 on Ubuntu with Profile Guided Optimization
#Open a terminal
mkdir -p ~/fastpython2/src
mkdir -p ~/fastpython2/install
cd ~/fastpython2/src
wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz
tar -zxvf Python-2.7.12.tgz
cd Python-2.7.12
./configure --prefix=${HOME}/fastpython2/install/
make profile-opt
make install
export PATH="${HOME}/fastpython2/install/bin:${PATH}"
which python
0 comments
[ 3.2 ms ] story [ 2.0 ms ] threadNo comments yet.