Code Monkey home page Code Monkey logo

llvm-py's Introduction

WARNING: THIS IS NOT MY PROJECT, NOR IS IT ACTIVELY DEVELOPED.

It is a mirror of a seemingly extinct project at http://www.mdevan.org/llvm-py,
with an additional patch (from the author) applied to build against LLVM 2.9.
It is known to be broken/flakey, and is only kept here for archival purposes
since it is newer than the latest trunk in the official repository.


llvm-py: Python Bindings for LLVM
---------------------------------

llvm-py provides Python bindings for LLVM.

Versions:
---------
    This package will work only with LLVM 2.9, and Python 2.4 or later,
    (not Python 3.x).


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

    2. Get llvm-py and install it:

        # To build and install:
        $ cd llvm-py
        # Locate llvm-config, usually under <llvm>/Release/bin
        $ python setup.py install --user --llvm-config=/path/to/llvm-config

    3. See documentation at 'www/web/index.html' and examples under 'test'.


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

llvm-py's People

Contributors

jrk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

llvm-py's Issues

cannot import llvm.core

>>> from llvm.core import *
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/home/recruiterbox/apps/llvm-py/<ipython-input-2-e33eef0309b1> in <module>()
----> 1 from llvm.core import *

/home/recruiterbox/apps/llvm-py/llvm/core.py in <module>()
     36 
     37 import llvm                 # top-level, for common stuff
---> 38 import llvm._core as _core  # C wrappers
     39 import llvm._util as _util  # utility functions
     40 

ImportError: No module named _core

Just installed llvm-py using llvm 2.9.
There where no compilation errors either.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.