Skip to content
Snippets Groups Projects
Commit bc8c5743 authored by Armin Rigo's avatar Armin Rigo
Browse files

Drop mention of 'translate.py'. Now building is always done by running

'rpython'.
parent 530358f3
No related branches found
No related tags found
No related merge requests found
......@@ -154,6 +154,5 @@
3. Enter the ``goal`` directory::
cd pypy/pypy/translator/goal # release 2.0-beta-2
cd pypy/pypy/goal # current trunk
cd pypy/pypy/goal
......@@ -159,5 +158,4 @@
4. Run the ``translate.py`` script (called ``rpython.py`` in the current
trunk). Here are the common combinations
4. Run the ``rpython`` script. Here are the common combinations
of options (works also with ``python`` instead of ``pypy``)::
......@@ -162,13 +160,9 @@
of options (works also with ``python`` instead of ``pypy``)::
pypy translate.py -Ojit # get the JIT version
pypy translate.py -O2 # get the no-jit version
pypy translate.py -O2 --sandbox # get the sandbox version
pypy translate.py -Ojit --backend=cli # only for branch/cli-jit
Or with the current trunk::
../../rpython/bin/rpython -Ojit # or -O2, etc.
pypy ../../rpython/bin/rpython -Ojit # get the JIT version
pypy ../../rpython/bin/rpython -O2 # get the no-jit version
pypy ../../rpython/bin/rpython -O2 --sandbox # get the sandbox version
pypy ../../rpython/bin/rpython -Ojit --backend=cli # only for branch/cli-jit
5. Enjoy Mandelbrot ``:-)`` It takes on the order of half an hour to
finish the translation, and 2.x GB of RAM on a 32-bit system
......@@ -190,7 +184,7 @@
Linux 64-bit; probably not much more than 1.6 GB on 32-bit). It should be
noted that it is less than with CPython. ::
PYPY_GC_MAX_DELTA=200MB pypy --jit loop_longevity=300 ./translate.py -Ojit
PYPY_GC_MAX_DELTA=200MB pypy --jit loop_longevity=300 ../../rpython/bin/rpython -Ojit
* Because of ``asmgcroot``, compiling the generated C files containing the JIT
is delicate. It requires using either MSVC or gcc with no particularly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment