# HG changeset patch # User Armin Rigo <arigo@tunes.org> # Date 1365339131 -7200 # Sun Apr 07 14:52:11 2013 +0200 # Branch extradoc # Node ID bc8c574377c835946d82d78e6e1036dbca5dfab8 # Parent 530358f34f23ae11b14bd82bf991531701a16260 Drop mention of 'translate.py'. Now building is always done by running 'rpython'. diff --git a/source/download.txt b/source/download.txt --- a/source/download.txt +++ b/source/download.txt @@ -154,21 +154,15 @@ 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 -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``):: - 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