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 38d4de35bb Make it possible to pass LLVM options from environment variables.
These options are parsed like commandline options to llc.
2012-08-26 21:00:56 -07:00
docs Finished editing PythonLangImpl7.rst 2012-08-23 11:16:54 -05:00
llvm Make it possible to pass LLVM options from environment variables. 2012-08-26 21:00:56 -07:00
test Make it possible to pass LLVM options from environment variables. 2012-08-26 21:00:56 -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 Switch to using a fake llvm-config program, so there's just one setup.py 2012-08-25 13:21:38 -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 Switch to using a fake llvm-config program, so there's just one setup.py 2012-08-25 13:21:38 -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.