Skip to content

Instantly share code, notes, and snippets.

@atomicstack
Created October 2, 2019 23:48
Show Gist options
  • Select an option

  • Save atomicstack/624ef9b19ea5bb5026cb9d3e62a5a30e to your computer and use it in GitHub Desktop.

Select an option

Save atomicstack/624ef9b19ea5bb5026cb9d3e62a5a30e to your computer and use it in GitHub Desktop.
python builder
#!/bin/bash
# extract tarball and run from its root dir.
# wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz && tar -xvf Python-3.7.4.tgz
sudo make clean && ( env LDFLAGS=-Wl,-rpath,/usr/local/python-3.7.4/lib ./configure --enable-optimizations --enable-shared --with-ssl --prefix=/usr/local/python-3.7.4 && make && sudo make install ) |& ( ts '[%F %T] ' | tee -a build.log ) | pv -l -s 10000 > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment