The llvm-base package

[Tags:bsd3, deprecated, library]
Deprecated. in favor of llvm-general

FFI bindings to the LLVM compiler toolkit.

We try to stay up to date with LLVM releases. The current version of this package is compatible with LLVM 3.0 and 2.9. Please understand that the package may or may not work against older LLVM releases; we don't have the time or resources to test across multiple releases.


[Skip to Readme]

Properties

Versions 3.0.0.0, 3.0.1.0, 3.2.0.0, 3.2.0.1, 3.2.0.2
Dependencies base (>=3 && <5) [details]
License BSD3
Author Bryan O'Sullivan, Lennart Augustsson
Maintainer Bryan O'Sullivan <bos@serpentine.com>, Lennart Augustsson <lennart@augustsson.net>
Stability experimental
Category Compilers/Interpreters, Code Generation
Home page https://github.com/bos/llvm
Bug tracker https://github.com/bos/llvm/issues
Source repository head: git clone git://github.com/bos/llvm.git
head: hg clone https://bitbucket.org/bos/llvm/
Uploaded Thu May 17 06:01:23 UTC 2012 by BryanOSullivan
Distributions Debian:3.0.1.0, NixOS:3.2.0.2
Downloads 2406 total (17 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
developeroperate in developer modeDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for llvm-base

Readme for llvm-base-3.0.1.0

Haskell LLVM bindings

This package provides Haskell bindings for the popular LLVM compiler infrastructure project.

Compatibility

We try to stay up to date with LLVM releases. The current version of this package is compatible with LLVM 2.9 and 2.8. Please understand that the package may or may not work against older LLVM releases; we don't have the time or resources to test across multiple releases.

Configuration

By default, when you run cabal install, the Haskell bindings will be configured to look for LLVM in /usr/local.

If you have LLVM installed in a different location, e.g. /usr, you can tell the configure script where to find it as follows:

cabal install --configure-option=--with-llvm-prefix=/usr

Package status - what to expect

This package is still under development.

The high level bindings are currently incomplete, so there are some limits on what you can do. Adding new functions is generally easy, though, so don't be afraid to get your hands dirty.

The high level interface is mostly safe, but the type system cannot protect against everything that can go wrong, so take care. And, of course, there's no way to guarantee anything about the generated code.

Staying in touch

There is a low-volume mailing list named haskell-llvm@projects.haskellorg. If you use the LLVM bindings, you should think about joining.

If you want to contribute patches, please clone a copy of the git repository:

git clone git://github.com/bos/llvm

Patches are best submitted via the github "pull request" interface.

To file a bug or a request for an enhancement, please use the github issue tracker.