packages feed

llvm-general-pure-3.5.1.0: llvm-general-pure.cabal

name: llvm-general-pure
version: 3.5.1.0
license: BSD3
license-file: LICENSE
author: Benjamin S.Scarlet <fgthb0@greynode.net>
maintainer: Benjamin S. Scarlet <fgthb0@greynode.net>
copyright: (c) 2013 Benjamin S. Scarlet and Google Inc.
homepage: http://github.com/bscarlet/llvm-general/
bug-reports: http://github.com/bscarlet/llvm-general/issues
build-type: Simple
stability: experimental
cabal-version: >= 1.8
category: Compilers/Interpreters, Code Generation
synopsis: Pure Haskell LLVM functionality (no FFI).
description:
  llvm-general-pure is a set of pure Haskell types and functions for interacting with LLVM <http://llvm.org/>.
  It includes an ADT to represent LLVM IR (<http://llvm.org/docs/LangRef.html>). The llvm-general package
  builds on this one with FFI bindings to LLVM, but llvm-general-pure does not require LLVM to be available.

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

source-repository this
  type: git
  location: git://github.com/bscarlet/llvm-general.git
  branch: llvm-3.5
  tag: pure-v3.5.1.0

library
  ghc-options: -fwarn-unused-imports
  build-depends:
    base >= 4.6 && < 5,
    transformers >= 0.4.0.0,
    mtl >= 2.2.1,
    template-haskell >= 2.5.0.0,
    containers >= 0.4.2.1,
    setenv >= 0.1.0,
    parsec >= 3.1.3
  hs-source-dirs: src
  extensions:
    NoImplicitPrelude
    TupleSections
    DeriveDataTypeable
    EmptyDataDecls
    FlexibleContexts
    FlexibleInstances
    StandaloneDeriving
    ConstraintKinds
  exposed-modules:
    LLVM.General.AST
    LLVM.General.AST.AddrSpace
    LLVM.General.AST.InlineAssembly
    LLVM.General.AST.Attribute
    LLVM.General.AST.ParameterAttribute
    LLVM.General.AST.FunctionAttribute
    LLVM.General.AST.CallingConvention
    LLVM.General.AST.Constant
    LLVM.General.AST.DataLayout
    LLVM.General.AST.Float
    LLVM.General.AST.FloatingPointPredicate
    LLVM.General.AST.Global
    LLVM.General.AST.Instruction
    LLVM.General.AST.IntegerPredicate
    LLVM.General.AST.Linkage
    LLVM.General.AST.Name
    LLVM.General.AST.Operand
    LLVM.General.AST.RMWOperation
    LLVM.General.AST.ThreadLocalStorage
    LLVM.General.AST.Type
    LLVM.General.AST.Visibility
    LLVM.General.AST.DLL
    LLVM.General.AST.COMDAT
    LLVM.General.DataLayout
    LLVM.General.PrettyPrint
    LLVM.General.Prelude
    LLVM.General.TH

  other-modules:
    LLVM.General.Internal.PrettyPrint

test-suite test
  type: exitcode-stdio-1.0
  build-depends:
    base >= 4.6 && < 5,
    test-framework >= 0.5,
    test-framework-hunit >= 0.2.7,
    HUnit >= 1.2.4.2,
    test-framework-quickcheck2 >= 0.3.0.1,
    QuickCheck >= 2.5.1.1,
    llvm-general-pure == 3.5.1.0,
    containers >= 0.4.2.1,
    mtl >= 2.2.1
  hs-source-dirs: test
  extensions:
    TupleSections
    FlexibleInstances
    FlexibleContexts
  main-is: Test.hs
  other-modules:
    LLVM.General.Test.DataLayout
    LLVM.General.Test.PrettyPrint
    LLVM.General.Test.Tests