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
2012-09-10 16:52:50 -07:00
docs Finished editing PythonLangImpl7.rst 2012-08-23 11:16:54 -05:00
llvm C++ cleanup of old C conventions - prefer C++ casting to unsafe C style casts - use templates to encapsulate casting - prefer new to malloc - apply const when possible - decalare variables as near to use as possible 2012-09-10 16:52:50 -07:00
test add invariant load 2012-09-06 20:00:01 -07:00
tools add NVPTX for LLVM 3.2; 2012-08-18 15:29:26 -07:00
www Updating to python 3 with 2to3. Check llvm/py3k_update.diff and llvm/py3k_update.out for the output from this. 2011-06-11 20:39:16 -05:00
.gitignore add ignore llvm/_intrinsic_ids.py 2012-08-18 15:31:33 -07:00
CHANGELOG Added llvm.core.Argument.alignment 2010-10-15 10:33:37 +00:00
LICENSE Update license and README 2012-08-02 02:46:10 -05:00
llvm-config-win32.py Add detection of whether LLVM has PTX in the windows build 2012-08-29 13:51:07 -07:00
MANIFEST.in Added MANIFEST.in 2008-06-15 03:48:09 +00:00
README.rst ENH: we should use llvmpy consistently as the project name 2012-09-09 22:42:22 -05:00
setup.py Add detection of whether LLVM has PTX in the windows build 2012-08-29 13:51:07 -07:00

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

Home page
---------

http://www.llvmpy.org

Versions
--------

This package has only been tested with LLVM 3.1, and Python 2.7, (not Python 3.x).

Quickstart
----------

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

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/pages.html' 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.