Skip to content

Instantly share code, notes, and snippets.

@arkadijs
Created November 23, 2014 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arkadijs/99dee63f355dc7d2749d to your computer and use it in GitHub Desktop.
Save arkadijs/99dee63f355dc7d2749d to your computer and use it in GitHub Desktop.
PyPy bootstrap from sources on Debian
#!/bin/sh
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y \
gcc g++ make python-dev libffi-dev libsqlite3-dev pkg-config \
libz-dev libbz2-dev libncurses-dev libexpat1-dev \
libssl-dev libgc-dev python-sphinx python-greenlet \
time less htop bzip2 unzip zip git mercurial nano rsync vim
sudo apt-get clean
wget https://bitbucket.org/pypy/pypy/downloads/pypy-2.2.1-src.tar.bz2
tar xjf pypy-2.2.1-src.tar.bz2
cd pypy-2.2.1-src/pypy/goal
nohup time python ../../rpython/bin/rpython --opt=jit targetpypystandalone.py &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment