Skip to content
Snippets Groups Projects
README 908 B
Newer Older
You need to use PyPy to run this.  To get started, using a recent virtualenv
Maciej Fijalkowski's avatar
Maciej Fijalkowski committed
(1.6.1 or newer), virtualenvwrapper, and a recent PyPy.

PyPy versions correspond to jitviewer tags, so pypy-1.9 tag in jitviewer
means it works with pypy 1.9.

On Mac OSX you will also need to install binutils, to make objdump available.

Maciej Fijalkowski's avatar
Maciej Fijalkowski committed
To create a virtualenv (note that mkvirtualenv only accepts absolute paths):
Maciej Fijalkowski's avatar
Maciej Fijalkowski committed
    mkvirtualenv --python=/path/to/pypy pypy-viewer

Now install the dependencies:

Maciej Fijalkowski's avatar
Maciej Fijalkowski committed
    pip install -r requirements.txt
or

    python setup.py develop

It also requires pypy to be importable (as in source code), you can do this
Armin Rigo's avatar
Armin Rigo committed
by setting your ``PYTHONPATH`` enviroment variable.  Make sure that this
source code is (roughly) the same version as the binary pypy that produced
the log file.
Maciej Fijalkowski's avatar
Maciej Fijalkowski committed

For usage information, invoke jitviewer.py with --help.
Maciej Fijalkowski's avatar
Maciej Fijalkowski committed

An example log file is shipped with the jitviewer source code.