Skip to content
Snippets Groups Projects

updated documentation for sandbox-2; README renamed to README.rst for better display in gitLab

Open Mark Doerr requested to merge topic/default/sandbox-2-fix-documentation into branch/default
3 files
+ 28
8
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 14
2
@@ -300,8 +300,15 @@ Building from source
pypy ../../rpython/bin/rpython -Ojit targetpypystandalone
# get the no-jit version
pypy ../../rpython/bin/rpython -O2 targetpypystandalone
# get the sandbox version
pypy ../../rpython/bin/rpython -O2 --sandbox targetpypystandalone
# to build the pypy-sandbox, please compile the pypy JIT version first (s. first step)
# rename the now built pypy-c (and corrosponing libray libpypy-c.so) to pypy-c-jit and
# libpypy-c.so-jit respectively (it is needed later for packaging) and then call
pypy ../../rpython/bin/rpython -O2 --sandbox targetpypystandalone # to get the sandbox version
# rename the resulting, new pypy-c to pypy-c-sandbox (and corresponding library libpypy-c.so-sandbox)
# and reverse pypy-c-jit to pypy-c (do not forget corresponding library libpypy-c.so-jit -> libpypy-c.so)
5. Enjoy Mandelbrot ``:-)`` It takes on the order of half an hour to
finish the translation, and about 3GB of RAM on a 32-bit system
@@ -381,6 +388,11 @@ easily created with ``package.py`` script:
python package.py --help #for information
python package.py --archive-name pypy-my-own-package-name
# to pack the pypy-c-sandbox, a full JIT-version of pypy-c (including the corresponding library) needs to be in the goal directory
python package.py --archive-name pypy_my-sandbox-os --builddir ../../goal --targetdir my/package/targetdir
# to use the sandbox, please rename the library back to libpypy-c.so-jit and
# libpypy-c.so-sandbox to libpypy-c.so
It is recommended to use package.py because custom scripts will
invariably become out-of-date. If you want to write custom scripts
anyway, note an easy-to-miss point: some modules are written with CFFI,
Loading