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
Find a file
2013-01-22 11:21:17 -06:00
docs Move the closing curly branch to line up with the rest of the code. 2012-11-30 04:45:30 -05:00
llpython Change name to llpython and remove llnumba references. 2012-11-07 12:14:01 -06:00
llvm Accept list of values and LLVM values as debug descriptors 2013-01-22 11:21:17 -06:00
llvm_cbuilder Add GEP inbounds 2013-01-14 10:30:58 -06:00
test Accept list of values and LLVM values as debug descriptors 2013-01-22 11:21:17 -06:00
tools add NVPTX for LLVM 3.2; 2012-08-18 15:29:26 -07:00
www Updated names of passes 2013-01-05 02:46:52 -07:00
.gitignore add ignore llvm/_intrinsic_ids.py 2012-08-18 15:31:33 -07:00
CHANGELOG Update changelog. 2013-01-18 12:06:19 -06:00
LICENSE Update license and README 2012-08-02 02:46:10 -05:00
llvm-config-win32.py fix (Windows) issue #42 2013-01-11 11:20:24 -06:00
MANIFEST.in Issue #34 - Add tools to MANIFEST.in 2012-12-30 21:08:38 +00:00
README.rst Update README for LLVM 3.2. 2012-12-31 10:45:21 -06:00
README_LLVM_CBUILDER.md Add Stephen's llvm-cbuilder examples. 2012-12-17 14:12:48 -06:00
setup.py Expose dwarf constants for debug info generation 2013-01-21 10:52:29 -06:00

================================
llvmpy: Python bindings for LLVM
================================

Home page
---------

http://www.llvmpy.org

Versions
--------

This package has been tested with LLVM 3.1 and 3.2, Python 2.7 and Python 3.2.
Other Python versions should work.

Quickstart
----------

1. Get 3.1 or 3.2 version of LLVM, build it.  Make sure ``--enable-pic`` is 
   passed to LLVM's ``configure``.  
   
   For LLVM 3.2, make sure that environment variable ``REQUIRES_RTTI=1`` is 
   defined when running ``make``.  Otherwise, you may see "undefined symbol:
   _ZTIN4llvm24PassRegistrationListenerE".  Please refer to 
   http://llvm.org/docs/Packaging.html#c-features for details.

2. Get llvm-py and install it::

   $ git clone git@github.com:llvmpy/llvmpy.git
   $ cd llvmpy
   $ python setup.py install

   Run the tests::

   $ python -c "import llvm; llvm.test()"

3. See documentation at 'http://www.llvmpy.org' and examples
   under 'test'.

LICENSE
-------

llvmpy 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.