# HG changeset patch # User Armin Rigo <arigo@tunes.org> # Date 1483088334 -3600 # Fri Dec 30 09:58:54 2016 +0100 # Branch extradoc # Node ID 0e7b448692acc557de0297b190bf6557a784fec4 # Parent 647277f35266b7edc900bc0549a476f47e9fce1e regenerate diff --git a/download.html b/download.html --- a/download.html +++ b/download.html @@ -278,36 +278,18 @@ <span id="translate"></span><h1>Building from source</h1> <p>(see more build <a class="reference external" href="http://pypy.readthedocs.org/en/latest/build.html">instructions</a>)</p> <ol class="arabic"> -<li><p class="first">Get the source code. The following packages contain the source at +<li><p class="first">Get the source code. The preferred way is to checkout the current +trunk using <a class="reference external" href="https://www.mercurial-scm.org/">Mercurial</a>. The trunk usually works and is of course +more up-to-date. The following command should run in about 7 minutes +nowadays if you have hg >= 3.7 (it is much slower with older versions):</p> +<pre class="literal-block"> +hg clone https://bitbucket.org/pypy/pypy +</pre> +<p>Alternatively, the following smaller package contains the source at the same revision as the above binaries:</p> <ul class="simple"> <li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.6.0-src.tar.bz2">pypy2-v5.6.0-src.tar.bz2</a> (sources)</li> </ul> -<p>Or you can checkout the current trunk using <a class="reference external" href="https://www.mercurial-scm.org/">Mercurial</a> (the trunk -usually works and is of course more up-to-date):</p> -<pre class="literal-block"> -hg clone https://bitbucket.org/pypy/pypy -</pre> -<p>The above command may take a long time to run and if it aborts, it -is not resumable. You may prefer this way:</p> -<pre class="literal-block"> -hg clone -r null https://bitbucket.org/pypy/pypy -cd pypy -hg unbundle http://buildbot.pypy.org/bundle/pypy-bundle-01.bz2 -hg unbundle http://buildbot.pypy.org/bundle/pypy-bundle-02.bz2 -hg unbundle http://buildbot.pypy.org/bundle/pypy-bundle-03.bz2 -hg unbundle http://buildbot.pypy.org/bundle/pypy-bundle-04.bz2 -hg unbundle http://buildbot.pypy.org/bundle/pypy-bundle-05.bz2 -hg unbundle http://buildbot.pypy.org/bundle/pypy-bundle-06.bz2 -hg unbundle http://buildbot.pypy.org/bundle/pypy-bundle-07.bz2 -hg unbundle http://buildbot.pypy.org/bundle/pypy-bundle-08.bz2 -hg unbundle http://buildbot.pypy.org/bundle/pypy-bundle-09.bz2 -hg pull -hg update -</pre> -<p>If needed, you can also download the bz2 files by other means. -You can then replace the multiple <tt class="docutils literal">unbundle</tt> commands above with -a single <tt class="docutils literal">hg unbundle <span class="pre">pypy-bundle-*.bz2</span></tt>.</p> </li> <li><p class="first">Make sure you <strong>installed the dependencies.</strong> See the list <a class="reference external" href="http://pypy.readthedocs.org/en/latest/build.html#install-build-time-dependencies">here</a>.</p> </li>