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

Regen.

parent 50426f09
No related branches found
No related tags found
No related merge requests found
......@@ -53,8 +53,7 @@
<ul class="download-menu simple">
<li>Download<ul>
<li><a class="reference internal" href="#default-with-a-jit-compiler">Default (with a JIT Compiler)</a></li>
<li><a class="reference internal" href="#sandboxed-version">Sandboxed version</a></li>
<li><a class="reference internal" href="#stackless-version">Stackless version</a></li>
<li><a class="reference internal" href="#other-versions-without-a-jit">Other versions (without a JIT)</a></li>
</ul>
</li>
<li><a class="reference internal" href="#installing">Installing</a> (optional)</li>
......@@ -63,8 +62,8 @@
<div class="section" id="jit-compiler-version">
<span id="default-with-a-jit-compiler"></span><h1>&ldquo;JIT Compiler&rdquo; version</h1>
<p>These binaries include a Just-in-Time compiler. They only work on
CPUs that have the <a class="reference external" href="http://en.wikipedia.org/wiki/SSE2">SSE2</a> instruction set (most of
them do, nowadays).</p>
x86 CPUs that have the <a class="reference external" href="http://en.wikipedia.org/wiki/SSE2">SSE2</a> instruction set (most of
them do, nowadays), or on x86-64 CPUs.</p>
<ul class="simple">
<li><a class="reference external" href="http://pypy.org/download/pypy-1.4-linux.tar.bz2">Linux binary (32bit)</a></li>
<li><a class="reference external" href="http://pypy.org/download/pypy-1.4-linux64.tar.bz2">Linux binary (64bit)</a></li>
......@@ -75,9 +74,7 @@
<p>If your CPU is really old, it may not have SSE2. In this case, you need
to <a class="reference internal" href="#translate">translate</a> yourself with the option <tt class="docutils literal"><span class="pre">--jit-backend=x86-without-sse2</span></tt>.</p>
</div>
<div class="section" id="sandbox-version">
<span id="sandboxed-version"></span><h1>&ldquo;Sandbox&rdquo; version</h1>
<p>A special safe version. Read the docs about <a class="reference external" href="features.html#sandboxing">sandboxing</a>. These
binaries work on 32-bit <a class="reference external" href="http://en.wikipedia.org/wiki/IA-32">x86 (IA-32)</a> CPUs as well as <a class="reference external" href="http://en.wikipedia.org/wiki/X86-64">x86-64</a> CPUs
in the 32-bit compatibility mode.</p>
<div class="section" id="other-versions">
<span id="other-versions-without-a-jit"></span><h1>Other versions</h1>
<p>The other versions of PyPy are:</p>
<ul class="simple">
......@@ -83,6 +80,8 @@
<ul class="simple">
<li><a class="reference external" href="http://pypy.org/download/pypy-1.2-linux-sandbox.bz2">Linux binary</a></li>
<li><a class="reference external" href="http://pypy.org/download/pypy-1.2-osx-sandbox.bz2">Mac OS/X binary</a></li>
</ul>
<p>It is also possible to <a class="reference internal" href="#translate">translate</a> a version that includes both
<li>No JIT: A version without the JIT. Consumes a bit less memory
and may be faster on short-running scripts.</li>
<li>Stackless: Provides <a class="reference external" href="http://www.stackless.com/">Stackless</a> extensions, as well as <a class="reference external" href="http://codespeak.net/svn/greenlet/trunk/doc/greenlet.txt">greenlets</a>.
It is not possible right now to combine Stackless features with the JIT.</li>
<li>Sandboxing: A special safe version. Read the docs about <a class="reference external" href="features.html#sandboxing">sandboxing</a>.
(It is also possible to <a class="reference internal" href="#translate">translate</a> a version that includes both
sandboxing and the JIT compiler, although as the JIT is relatively
......@@ -88,14 +87,4 @@
sandboxing and the JIT compiler, although as the JIT is relatively
complicated, this reduce a bit the level of confidence we can put in
the result.</p>
<p>The Windows need testing and careful reviewing; <a class="reference external" href="contact.html">contact us</a>!</p>
</div>
<div class="section" id="id8">
<span id="stackless-version"></span><h1>&ldquo;Stackless&rdquo; version</h1>
<p>Provides <a class="reference external" href="http://www.stackless.com/">Stackless</a> extensions, as well as <a class="reference external" href="http://codespeak.net/svn/greenlet/trunk/doc/greenlet.txt">greenlets</a>. These
binaries work on 32-bit <a class="reference external" href="http://en.wikipedia.org/wiki/IA-32">x86 (IA-32)</a> CPUs as well as <a class="reference external" href="http://en.wikipedia.org/wiki/X86-64">x86-64</a> CPUs
in the 32-bit compatibility mode.</p>
<ul class="simple">
<li><a class="reference external" href="http://pypy.org/download/pypy-1.4-linux-stackless.tar.bz2">Linux binary</a></li>
<li><a class="reference external" href="http://pypy.org/download/pypy-1.4-win32-stackless.zip">Windows binary</a></li>
complicated, this reduces a bit the level of confidence we can put in
the result.)</li>
</ul>
......@@ -101,6 +90,8 @@
</ul>
<p>It is not possible right now to combine Stackless features with the JIT.</p>
<p>These versions are not officially part of the release 1.4, which focuses
on the JIT. You can find prebuilt binaries for them on our
<a class="reference external" href="http://buildbot.pypy.org/nightly/trunk/">nightly build</a> or with the <a class="reference external" href="http://pypy.org/download/">older releases</a>, or <a class="reference internal" href="#translate">translate</a> them yourself.</p>
</div>
<div class="section" id="installing">
<h1>Installing</h1>
<p>All versions are packaged in a <tt class="docutils literal">tar.bz2</tt> or <tt class="docutils literal">zip</tt> file. When
......@@ -103,15 +94,13 @@
</div>
<div class="section" id="installing">
<h1>Installing</h1>
<p>All versions are packaged in a <tt class="docutils literal">tar.bz2</tt> or <tt class="docutils literal">zip</tt> file. When
uncompressed, they run in-place. On Linux or Mac OS/X, they can also be
installed by manually moving the files:</p>
<pre class="literal-block">
/usr/bin/pypy # or pypy-nojit etc.
/usr/share/pypy-1.4/lib-python/*
/usr/share/pypy-1.4/pypy/*
</pre>
<p>You can also install it to <tt class="docutils literal">/usr/local/bin</tt> and <tt class="docutils literal">/usr/local/share</tt>.</p>
uncompressed, they run in-place. For now you can uncompress them
either somewhere in your home directory or, say, in <tt class="docutils literal">/opt</tt>, and
if you want, put a symlink from somewhere like
<tt class="docutils literal">/usr/local/bin/pypy</tt> to <tt class="docutils literal"><span class="pre">/path/to/pypy-1.4/bin/pypy</span></tt>. Do
not move or copy the executable <tt class="docutils literal">pypy</tt> outside the tree &ndash; put
a symlink to it, otherwise it will not find its libraries.</p>
</div>
<div class="section" id="building-from-source">
<span id="translate"></span><h1>Building from source</h1>
......@@ -127,9 +116,6 @@
<pre class="literal-block">
svn co http://codespeak.net/svn/pypy/trunk pypy-trunk
</pre>
<p>Windows users trying the zip file are expected to use MSVC.
The trunk version contains fixes to support MinGW32. More
information on <a class="reference external" href="http://codespeak.net/pypy/trunk/pypy/doc/windows.html">our dev site</a>.</p>
</li>
<li><p class="first">Make sure you installed the dependencies. See the list <a class="reference external" href="http://codespeak.net/pypy/dist/pypy/doc/getting-started-python.html#translating-the-pypy-python-interpreter">here</a>.</p>
</li>
......@@ -149,8 +135,13 @@
</pre>
</li>
<li><p class="first">Enjoy Mandelbrot <tt class="docutils literal"><span class="pre">:-)</span></tt> It takes on the order of one hour to
finish the translation, and 1.3 GB of RAM on a 32-bit system.
(Do not start a translation on a machine with 1GB or less!)</p>
finish the translation, and 1.2 GB of RAM on a 32-bit system
and 2.4 GB on 64-bit systems. (Do not start a translation on a
machine with insufficient RAM! It will just swap forever.)</p>
</li>
<li><p class="first">Once you have a PyPy, it is recommended to use it to do further
translations, instead of using CPython. It is twice as fast,
but uses a bit more RAM (1.7-2.0 GB on 32-bit, 3.0 GB on 64-bit).</p>
</li>
</ol>
</div>
......
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