packages feed

llvm-tf-3.0.0.0.1: llvm-tf.cabal

name:          llvm-tf
version:       3.0.0.0.1
license:       BSD3
license-file:  LICENSE
synopsis:      Bindings to the LLVM compiler toolkit using type families.
description:
  High-level bindings to the LLVM compiler toolkit
  using type families instead of functional dependencies.
  .
  * New in 3.0.0.0:
    The low-level bindings have been split into the llvm-base package.
  .
  We use the same module names as the @llvm@ package,
  which makes it harder to work with both packages from GHCi.
  You may use the @-hide-package@ option.
  We may change the module names later.
  .
  A note on versioning:
  The first two version numbers match the version of LLVM.
  In order to be able to improve the Haskell API for the same version of LLVM,
  I use the first three numbers of the Cabal package version
  as the major version in the sense of the Package Versioning Policy PVP.
  That is, a bump from 3.0.0 to 3.0.1 may contain substantial API changes,
  a bump from 3.0.0.0 to 3.0.0.1 may contain API extensions,
  and a bump from 3.0.0.0.0 to 3.0.0.0.1 may contain API-preserving bugfixes.
author:        Henning Thieleman, Bryan O'Sullivan, Lennart Augustsson
maintainer:    Henning Thieleman <llvm@henning-thielemann.de>
stability:     experimental
category:      Compilers/Interpreters, Code Generation
tested-with:   GHC == 7.4.2
cabal-version: >= 1.10
build-type:    Simple

extra-source-files:
    *.md
    examples/*.c
    examples/*.hs
    tests/*.hs
    tests/Makefile

flag developer
  description: operate in developer mode
  default: False

library
  default-language: Haskell98
  build-depends:
    base >= 3 && < 5,
    bytestring >= 0.9,
    directory,
    llvm-base == 3.0.*,
    mtl,
    process,
    tfp >= 0.6 && < 0.8,
    containers

  ghc-options: -Wall

  if flag(developer)
    ghc-options: -Werror

  if os(darwin)
    ld-options: -w 
    frameworks: vecLib
    cpp-options: -D__MACOS__

  exposed-modules:
      LLVM.Core
      LLVM.ExecutionEngine
      LLVM.Util.Arithmetic
      LLVM.Util.File
      LLVM.Util.Foreign
      LLVM.Util.Loop
      LLVM.Util.Memory
      LLVM.Util.Optimize

  other-modules:
      LLVM.Core.CodeGen
      LLVM.Core.CodeGenMonad
      LLVM.Core.Data
      LLVM.Core.Instructions
      LLVM.Core.Type
      LLVM.Core.Util
      LLVM.Core.Vector
      LLVM.ExecutionEngine.Engine
      LLVM.ExecutionEngine.Target

source-repository head
  type:     darcs
  location: http://code.haskell.org/~thielema/llvm-tf/

source-repository this
  tag:      3.0.0.0.1
  type:     darcs
  location: http://code.haskell.org/~thielema/llvm-tf/