packages feed

llvm-base-3.2.0.1: llvm-base.cabal

name:          llvm-base
version:       3.2.0.1
license:       BSD3
license-file:  LICENSE
synopsis:      FFI bindings to the LLVM compiler toolkit.
description:
  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 at least LLVM 3.2.  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.
  .
  * New in 3.2: Builds against LLVM 3.2, new mid-level Wrapper interface and ST-based pure interface
  .
  * New in 3.0: Builds against LLVM 3.0.
  .
  * New in 0.9.1.1: Builds against LLVM 2.9.
  .
  * New in 0.9.1.0: Util.Memory for memory related intrinsics.
  .
  * New in 0.9.0.0: Adapted to LLVM 2.8 (removed support for Union types).
author:        Bryan O'Sullivan, Lennart Augustsson, Benjamin Saunders
maintainer:    Bryan O'Sullivan <bos@serpentine.com>, Lennart Augustsson <lennart@augustsson.net>, Benjamin Saunders <besaunde@sfu.ca>
homepage:      https://github.com/bos/llvm
bug-reports:   https://github.com/bos/llvm/issues
stability:     experimental
category:      Compilers/Interpreters, Code Generation
tested-with:   GHC == 6.12.3, GHC == 7.0.3, GHC == 7.2.2
cabal-version: >= 1.6
build-type:    Custom

extra-source-files:
    *.md
    configure.ac
    configure
    include/extra.h
    include/hs_llvm_config.h.in
    include/support.h
    llvm-base.buildinfo.in
    llvm-base.buildinfo.windows.in
    tools/*.hs
    tools/Makefile

extra-tmp-files:
    autom4te.cache
    config.log
    config.status
    configure
    include/hs_llvm_config.h
    llvm-base.buildinfo

flag developer
  description: operate in developer mode
  default: False

library
  build-depends:
    base >= 3 && < 5, mtl >= 2.1 && < 3

  ghc-options: -Wall

  if flag(developer)
    ghc-options: -Werror

  exposed-modules:
      LLVM.FFI.Analysis
      LLVM.FFI.BitReader
      LLVM.FFI.BitWriter
      LLVM.FFI.Core
      LLVM.FFI.ExecutionEngine
      LLVM.FFI.Support
      LLVM.FFI.Linker
      LLVM.FFI.Target
      LLVM.FFI.Transforms.IPO
      LLVM.FFI.Transforms.Scalar
      LLVM.FFI.Transforms.PassManagerBuilder
      LLVM.FFI.AssemblyReader
      LLVM.Target.Native

      LLVM.Wrapper.Core
      LLVM.Wrapper.BitReader
      LLVM.Wrapper.BitWriter
      LLVM.Wrapper.Analysis,
      LLVM.Wrapper.ExecutionEngine
      LLVM.Wrapper.Target
      LLVM.Wrapper.Linker
      LLVM.Wrapper.Transforms.PassManagerBuilder
      LLVM.ST

  other-modules:
      LLVM.Target.ARM
      LLVM.Target.CellSPU
      LLVM.Target.CppBackend
      LLVM.Target.MSP430
      LLVM.Target.Mips
      LLVM.Target.PowerPC
      LLVM.Target.Sparc
      LLVM.Target.X86
      LLVM.Target.XCore

      LLVM.Wrapper.Internal

  include-dirs: include
  C-Sources:
    cbits/extra.cpp
    cbits/free.c
    cbits/malloc.c
    cbits/support.cpp

source-repository head
  type:     git
  location: git://github.com/bos/llvm.git

source-repository head
  type:     mercurial
  location: https://bitbucket.org/bos/llvm/