Skip to content

Instantly share code, notes, and snippets.

@daleobrien
Last active February 15, 2017 12:20
Show Gist options
  • Save daleobrien/5990226 to your computer and use it in GitHub Desktop.
Save daleobrien/5990226 to your computer and use it in GitHub Desktop.
pypy install script on AWS
# Needs a larger machine, with at least 2GB Ram, say a m2.xlarge!
sudo yum install \
gcc make python-devel libffi-devel lib-sqlite3-devel pkgconfig \
zlib-devel bzip2-devel ncurses-devel expat-devel \
openssl-devel gc-devel python-sphinx python-greenlet tcl-devel
wget https://bitbucket.org/pypy/pypy/downloads/pypy-2.1-beta-src.tar.bz2
tar -xvf pypy-2.1-beta-src.tar.bz2
cd pypy-2.1-beta-src
make
cd pypy/goal
python ../../rpython/bin/rpython --opt=jit targetpypystandalone.py
# and wait and wait ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment