File: README

package info (click to toggle)
llvm-py 0.6+svn105-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,060 kB
  • sloc: python: 3,844; ansic: 1,963; cpp: 508; pascal: 87; makefile: 9; sh: 1
file content (47 lines) | stat: -rw-r--r-- 1,242 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

llvm-py: Python Bindings for LLVM
---------------------------------

llvm-py provides Python bindings for LLVM.


Home page:
----------
    http://www.mdevan.org/llvm-py/


Versions:
---------
    This package will work only with LLVM 2.8rc2, and Python 2.4 or later,
    (not Python 3.x). Note that LLVM 2.8 is not released yet, and neither
    is this package.


Quickstart:
-----------
    1. Get 2.8rc2 version of LLVM, build it. Make sure '--enable-pic' is
       passed to LLVM's 'configure'.

    2. Get llvm-py and install it:

        # To get from SVN:
        $ svn checkout http://llvm-py.googlecode.com/svn/trunk/ llvm-py

        # To get the stable release X.Y:
        $ wget http://llvm-py.googlecode.com/files/llvm-py-X.Y.tar.bz2
        $ tar jxvf llvm-py-X.Y.tar.bz2

        # To build and install:
        $ cd llvm-py
        # Locate llvm-config, usually under <llvm>/Release/bin
        $ python setup.py install --user --llvm-config=/path/to/llvm-config

    3. See documentation at 'www/web/index.html' and examples under 'test'.


LICENSE:
--------
    llvm-py is distributed under the new BSD license, which is similar to
    the LLVM license itself. See the file called LICENSE for the full 
    license text.