The llvm-ffi package

[ Tags: bsd3, code-generation, compilers-interpreters, library ] [ Propose Tags ]

FFI bindings to the LLVM compiler toolkit.

Installation is based on pkg-config since this is best supported by Cabal. This requires an llvm.pc file which unfortunately is not generated by the LLVM source package. You may be lucky that your distribution package includes that file. If not, you can generate it yourself using the llvm-pkg-config package.

We try to stay up to date with LLVM releases. The current version of this package is compatible with LLVM 3.4-3.8. Please understand that the package may or may not work against older LLVM releases.

Warning for inplace builds: Re-configuring the package using, say -fllvm307, and re-buildung it might result in corrupt code. You must make sure that the stuff in cbits is re-compiled. Cabal or GHC may forget about that. You are safe if you run cabal clean.

Properties

Versions 3.0.0, 3.0.0.1, 3.0.0.2, 3.1.0, 3.2.0, 3.2.1, 3.3.0, 3.4.0, 3.5.0, 3.5.1, 3.6.0, 3.7.0, 3.8.0, 3.8.1
Dependencies base (>=3 && <5), enumset (>=0.0.4 && <0.1) [details]
License BSD3
Author Henning Thielemann, Bryan O'Sullivan, Lennart Augustsson
Maintainer Henning Thielemann <llvm@henning-thielemann.de>
Category Compilers/Interpreters, Code Generation
Home page http://haskell.org/haskellwiki/LLVM
Source repository head: darcs get http://hub.darcs.net/thielema/llvm-ffi/
this: darcs get http://hub.darcs.net/thielema/llvm-ffi/ --tag 3.8.1
Uploaded Sun Sep 4 09:41:58 UTC 2016 by HenningThielemann
Distributions NixOS:3.8.1
Executables llvm-ffi-example
Downloads 661 total (14 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
developer

developer mode - warnings let compilation fail

DisabledManual
buildexamples

Build example executables

DisabledManual
specificpkgconfig

use llvm-3.x.pc instead of llvm.pc

EnabledAutomatic
llvm304

use LLVM-3.4 instead of latest supported LLVM

DisabledAutomatic
llvm305

use LLVM-3.5 instead of latest supported LLVM

DisabledAutomatic
llvm306

use LLVM-3.6 instead of latest supported LLVM

DisabledAutomatic
llvm307

use LLVM-3.7 instead of latest supported LLVM

DisabledAutomatic

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