# HG changeset patch # User Armin Rigo <arigo@tunes.org> # Date 1359142436 -3600 # Fri Jan 25 20:33:56 2013 +0100 # Branch extradoc # Node ID 0694de9c9e9d8d13055ee6fc6de63d93565e18ee # Parent 3ac10c106749e92759cf42fa8962ca535087773f Update for the current trunk diff --git a/download.html b/download.html --- a/download.html +++ b/download.html @@ -150,10 +150,12 @@ </li> <li><p class="first">Enter the <tt class="docutils literal">goal</tt> directory:</p> <pre class="literal-block"> -cd pypy/pypy/translator/goal +cd pypy/pypy/translator/goal # release 2.0-beta-1 +cd pypy/pypy/goal # current trunk </pre> </li> -<li><p class="first">Run the <tt class="docutils literal">translate.py</tt> script. Here are the common combinations +<li><p class="first">Run the <tt class="docutils literal">translate.py</tt> script (called <tt class="docutils literal">rpython.py</tt> in the current +trunk). Here are the common combinations of options (works also with <tt class="docutils literal">python</tt> instead of <tt class="docutils literal">pypy</tt>):</p> <pre class="literal-block"> pypy translate.py -Ojit # get the JIT version @@ -161,6 +163,10 @@ pypy translate.py -O2 --sandbox # get the sandbox version pypy translate.py -Ojit --backend=cli # only for branch/cli-jit </pre> +<p>Or with the current trunk:</p> +<pre class="literal-block"> +../../rpython/bin/rpython -Ojit # or -O2, etc. +</pre> </li> <li><p class="first">Enjoy Mandelbrot <tt class="docutils literal"><span class="pre">:-)</span></tt> It takes on the order of half an hour to finish the translation, and 2.x GB of RAM on a 32-bit system diff --git a/source/download.txt b/source/download.txt --- a/source/download.txt +++ b/source/download.txt @@ -156,9 +156,11 @@ 3. Enter the ``goal`` directory:: - cd pypy/pypy/translator/goal + cd pypy/pypy/translator/goal # release 2.0-beta-1 + cd pypy/pypy/goal # current trunk -4. Run the ``translate.py`` script. Here are the common combinations +4. Run the ``translate.py`` script (called ``rpython.py`` in the current + trunk). Here are the common combinations of options (works also with ``python`` instead of ``pypy``):: pypy translate.py -Ojit # get the JIT version @@ -166,6 +168,10 @@ 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. + 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 and 4.x GB on 64-bit systems. (Do not start a translation on a