Skip to main content

Python bindings for LLVM

Project description

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 or may not 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llvmpy-0.11.0.tar.gz (637.5 kB view details)

Uploaded Source

File details

Details for the file llvmpy-0.11.0.tar.gz.

File metadata

  • Download URL: llvmpy-0.11.0.tar.gz
  • Upload date:
  • Size: 637.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for llvmpy-0.11.0.tar.gz
Algorithm Hash digest
SHA256 59165fbf2e3aae5642c3b7abe56296bf1b90607ab2fa2192d16f7478f8cc7760
MD5 bc12037ae9cf1f60882111d5d835ad81
BLAKE2b-256 9668510e540e6d63753c56191654cd26a002cd2b215cd7e5e5e81a7b4cb1e3cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page