Building PyPy can be done using the Ports Collection or directly from source. The former is recommended.
The PyPy build process has two phases:
The translation phase converts the language interpreter, written in RPython, into C code. This is done using a python interpreter (currently either cPython or PyPy). This is a single thread task.
- The compilation phase compiles the C code into a single executable. This is a highly parallel task.
See below for detailed discussions on the various aspects of building PyPy.
To install PyPy from ports:
# make -C /usr/ports/lang/pypy install
Building without port
See PyPy instructions on building PyPy directly from source.
- Properly check sandbox support and create sandbox VM-thing (does upstream support sandboxing?)
- Add pypy-based numpy port???
- Make a jitviewer port (depends on flask pygments simplejson Jinja2 Werkzeug)
- Support valgrind
Integrate PyPy into bsd.python.mk