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-03-24 14:58:04 -05:00
docs Modified documentation configuration to search for build specific to Python version. Updated copyright. First attempt at using llvm._version to set documentation version. 2013-02-26 15:48:00 -06:00
llpython Changed imports in llpython 2013-03-05 18:11:08 -03:00
llvm Fix setOptLevel in EngineBuilder 2013-03-24 14:58:04 -05:00
llvm_cbuilder Support non-inplace versions of bitwise left and right shift, and, or and xor 2013-03-14 15:21:14 +00:00
llvmpy Merge pull request #61 from hgrecco/master 2013-03-13 08:35:24 -07:00
test Fix for python 3 2013-02-27 13:48:08 -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
.travis.yml Changed test command for travis 2013-03-04 23:37:28 -03:00
CHANGELOG formatting 2013-03-05 17:21:28 -06:00
LICENSE Update license and README 2012-08-02 02:46:10 -05:00
llvm-config-win32.py add missing static library (Windows) 2013-02-27 19:26:25 -06:00
MANIFEST.in Issue #34 - Add tools to MANIFEST.in 2012-12-30 21:08:38 +00:00
README.rst update supported dependencies in readme 2013-03-02 12:53:31 -06:00
README_LLVM_CBUILDER.md Add Stephen's llvm-cbuilder examples. 2012-12-17 14:12:48 -06:00
setup.py update supported dependencies in readme 2013-03-02 12:53:31 -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.2, Python 2.6, 2.7 and 3.3.
Other Python versions may work.

Quickstart
----------

1. Get 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.