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

Clarify how to build PyPy3 from sources

parent 913450bf91e9
No related branches found
No related tags found
No related merge requests found
......@@ -263,6 +263,11 @@
<pre class="literal-block">
hg clone https://bitbucket.org/pypy/pypy
</pre>
<p>Alternatively, the following smaller package contains the source at
<p>The trunk contains PyPy 2. For PyPy 3, switch to the correct branch:</p>
<pre class="literal-block">
# for PyPy 3: switch to the branch of PyPy that implements Python 3.5
hg update py3.5
</pre>
<p>Alternatively, get one of the following smaller packages for the source at
the same revision as the above binaries:</p>
<ul class="simple">
......@@ -267,6 +272,7 @@
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.10.1-src.tar.bz2">pypy2-v5.10.1-src.tar.bz2</a> (sources)</li>
<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.1-src.tar.bz2">pypy2-v5.10.1-src.tar.bz2</a> (sources, PyPy 2 only)</li>
<li><a class="reference external" href="https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.1-src.tar.bz2">pypy3-v5.10.1-src.tar.bz2</a> (sources, PyPy 3 only)</li>
</ul>
</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>
......@@ -278,7 +284,7 @@
</li>
<li><p class="first">Run the <tt class="docutils literal">rpython</tt> script. Here are the common combinations
of options (works also with <tt class="docutils literal">python</tt> instead of <tt class="docutils literal">pypy</tt>;
requires CPython 2.7 or PyPy 2):</p>
requires CPython 2.7 or PyPy 2, even to build PyPy 3):</p>
<pre class="literal-block">
pypy ../../rpython/bin/rpython -Ojit targetpypystandalone # get the JIT version
pypy ../../rpython/bin/rpython -O2 targetpypystandalone # get the no-jit version
......
......@@ -301,6 +301,11 @@
hg clone https://bitbucket.org/pypy/pypy
Alternatively, the following smaller package contains the source at
The trunk contains PyPy 2. For PyPy 3, switch to the correct branch::
# for PyPy 3: switch to the branch of PyPy that implements Python 3.5
hg update py3.5
Alternatively, get one of the following smaller packages for the source at
the same revision as the above binaries:
......@@ -305,5 +310,6 @@
the same revision as the above binaries:
* `pypy2-v5.10.1-src.tar.bz2`__ (sources)
* `pypy2-v5.10.1-src.tar.bz2`__ (sources, PyPy 2 only)
* `pypy3-v5.10.1-src.tar.bz2`__ (sources, PyPy 3 only)
.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.1-src.tar.bz2
......@@ -308,5 +314,6 @@
.. __: https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.10.1-src.tar.bz2
.. __: https://bitbucket.org/pypy/pypy/downloads/pypy3-v5.10.1-src.tar.bz2
2. Make sure you **installed the dependencies.** See the list here__.
......@@ -319,7 +326,7 @@
4. Run the ``rpython`` script. Here are the common combinations
of options (works also with ``python`` instead of ``pypy``;
requires CPython 2.7 or PyPy 2)::
requires CPython 2.7 or PyPy 2, even to build PyPy 3)::
pypy ../../rpython/bin/rpython -Ojit targetpypystandalone # get the JIT version
pypy ../../rpython/bin/rpython -O2 targetpypystandalone # get the no-jit version
......
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