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
Siu Kwan Lam a97b26415e Update old API to use the new binding.
Have not run the testsuite yet.
2013-02-11 18:15:22 -06:00
docs cleanup 2013-01-31 17:54:20 -06:00
llpython cleanup 2013-01-31 17:54:20 -06:00
llvm Update old API to use the new binding. 2013-02-11 18:15:22 -06:00
llvm_cbuilder Add GEP inbounds 2013-01-14 10:30:58 -06:00
llvmpy Add PassRegistry, PassSupport, TargetRegistry, TargetOptions, and functions in Host.h 2013-02-11 18:13:38 -06:00
test cleanup 2013-01-31 17:54:20 -06:00
tools add NVPTX for LLVM 3.2; 2012-08-18 15:29:26 -07:00
www cleanup 2013-01-31 17:54:20 -06:00
.gitattributes add missing llvm/_version.py 2013-02-01 16:04:58 -06:00
.gitignore Finished wrapper in llvm.core 2013-02-08 18:13:45 -06:00
CHANGELOG add release date 2013-02-01 14:16:38 -06:00
LICENSE Update license and README 2012-08-02 02:46:10 -05:00
llvm-config-win32.py cleanup 2013-01-31 17:54:20 -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 add missing llvm/_version.py 2013-02-01 16:04:58 -06:00
versioneer.py add versioneer 2013-02-01 15:55:12 -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.