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
Wladimir J. van der Laan 3b22d5accf Add wrapping constructor for (signed) long long
Completely analogous to how unsigned long long is handled
2012-09-09 12:04:27 +02:00
docs Finished editing PythonLangImpl7.rst 2012-08-23 11:16:54 -05:00
llvm Add wrapping constructor for (signed) long long 2012-09-09 12:04:27 +02: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 add note about running tests 2012-08-19 17:57:29 -05:00
setup.py Add detection of whether LLVM has PTX in the windows build 2012-08-29 13:51:07 -07:00

=================================
llvm-py: 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.