Originally a github fork of the llvm-py repository from http://www.mdevan.org/llvm-py/index.html updated to work with LLVM 3.x. Since then it has changed significantly with multiple sub-projects. www.llvmpy.org
  • HTML 50.2%
  • Python 42.3%
  • C++ 3.4%
  • LLVM 2.1%
  • CSS 0.8%
  • Other 1.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
mdevan.foobar fc3f11d899 Added tests for bitcode.
Updated CHANGELOG, inline docs.
Switched to absolute imports.
Added all passes to extra.{cpp,h}\!

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@31 8d1e9007-1d4e-0410-b67e-1979fd6579aa
2008-08-11 14:21:16 +00:00
llvm Added tests for bitcode. 2008-08-11 14:21:16 +00:00
test Added tests for bitcode. 2008-08-11 14:21:16 +00:00
www module.get_X_named() methods throws if object of given name is not found. 2008-07-31 16:22:22 +00:00
CHANGELOG Added tests for bitcode. 2008-08-11 14:21:16 +00:00
LICENSE Updated documentation, license and changelog. 2008-06-10 15:34:11 +00:00
MANIFEST.in Added MANIFEST.in 2008-06-15 03:48:09 +00:00
README Added tests for bitcode. 2008-08-11 14:21:16 +00:00
setup.py Added convert module from/to bitcode. 2008-08-03 16:01:02 +00:00

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

llvm-py provides Python bindings for LLVM.


Home page:
----------
    http://mdevan.nfshost.com/llvm-py/


Versions:
---------

This package will work only with LLVM 2.3 release version. If you need llvm-py
for the in-progress LLVM version (2.4), you've to get llvm-py from the SVN
repository -- see the website for more details.


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

    2. Unpack llvm-py, build and install:

        $ tar jxvf llvm-py-0.2.tar.bz2
        $ cd llvm-py-0.2
        # Locate llvm-config, usually under <llvm>/Release/bin
        $ sudo python setup.py install --llvm-config=/path/to/llvm-config

    3. See examples under 'test' directory.


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.