packages feed

llvm-dsl-0.1.1: llvm-dsl.cabal

Cabal-Version:  2.2
Name:           llvm-dsl
Version:        0.1.1
License:        BSD-3-Clause
License-File:   LICENSE
Author:         Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:     Henning Thielemann <haskell@henning-thielemann.de>
Homepage:       https://wiki.haskell.org/LLVM
Category:       Compilers/Interpreters, Code Generation
Synopsis:       Support for writing an EDSL with LLVM-JIT as target
Description:
  Support for writing an EDSL with LLVM-JIT as target.
  .
  * "LLVM.DSL.Expression":
    Code snippets that represent arithmetics
    and support arithmetic operators.
  .
  * "LLVM.DSL.Parameter":
    Parameterize LLVM-generated code.
  .
  * "LLVM.DSL.Execution":
    Assemble functions to modules and run them.
Stability:      Experimental
Tested-With:    GHC==7.0.4, GHC==7.4.2, GHC==7.8.4
Tested-With:    GHC==8.4.4, GHC==8.6.5, GHC==8.8.4
Tested-With:    GHC==9.0.2, GHC==9.2.8, GHC==9.4.6
Build-Type:     Simple
Extra-Source-Files:
  Makefile

Source-Repository head
  Type:     darcs
  Location: https://hub.darcs.net/thielema/llvm-dsl/

Source-Repository this
  Tag:      0.1.1
  Type:     darcs
  Location: https://hub.darcs.net/thielema/llvm-dsl/

Flag debug
  Description: Automatically dump LLVM Bitcode files for debugging
  Default: False
  Manual: True

Library
  Build-Depends:
    llvm-extra >=0.11 && <0.12,
    llvm-tf >=9.2 && <13.0,
    tfp >=1.0 && <1.1,
    numeric-prelude >=0.4.3 && <0.5,
    storable-record >=0.0.5 && <0.1,
    storable-enum >=0.0 && <0.1,
    bool8 >=0.0 && <0.1,
    vault >=0.3 && <0.4,
    transformers >=0.1.1 && <0.7,
    utility-ht >=0.0.15 && <0.1,
    unsafe >=0.0 && <0.1,
    prelude-compat >=0.0 && <0.0.1,
    base >=3 && <5

  Default-Language: Haskell98
  GHC-Options: -Wall
  Hs-source-dirs: src
  If flag(debug)
    Hs-source-dirs: src/debug-on
  Else
    Hs-source-dirs: src/debug-off
  Exposed-Modules:
    LLVM.DSL.Expression
    LLVM.DSL.Expression.Vector
    LLVM.DSL.Expression.Maybe
    LLVM.DSL.Value
    LLVM.DSL.Parameter
    LLVM.DSL.Execution
    LLVM.DSL.Render.Run
    LLVM.DSL.Render.Argument
    LLVM.DSL.Debug.Counter
    LLVM.DSL.Debug.StablePtr
    LLVM.DSL.Debug.Marshal
  Other-Modules:
    LLVM.DSL.Dump