llvm-ffi
Version 3.8.1.1 revision 0 uploaded by HenningThielemann.
Package meta
- Synopsis
- FFI bindings to the LLVM compiler toolkit.
- Description
FFI bindings to the LLVM compiler toolkit.
Installation cannot be done fully automatically. It would require Cabal code that is bound to certain Cabal versions and is prone to fail. We give several non-automatic ways that also allow you to choose a particular LLVM version.
First possibility is to point Cabal to the LLVM installation directories manually. On Ubuntu this would look like this:
cabal install --extra-include-dirs=/usr/lib/llvm-3.8/include --extra-lib-dirs=/usr/lib/llvm-3.8/lib llvm-ffi
You can store such paths permanently in a
pkg-config
file likellvm.pc
. The optimal way would be if LLVM installations or GNU/Linux distributions would contain such a file, but they don't. Instead, you may generate it using thellvm-pkg-config
package or write one manually. Then you runcabal install -fpkgConfig
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 runcabal clean
.- Author
- Henning Thielemann, Bryan O'Sullivan, Lennart Augustsson
- Bug reports
- n/a
- Category
- Compilers/Interpreters, Code Generation
- Copyright
- n/a
- Homepage
- http://haskell.org/haskellwiki/LLVM
- Maintainer
- Henning Thielemann <llvm@henning-thielemann.de>
- Package URL
- n/a
- Stability
- experimental