llvm-dsl-0.2.0.1: llvm-dsl.cabal
Cabal-Version: 2.2
Name: llvm-dsl
Version: 0.2.0.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.2.0.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.12.1 && <0.14,
llvm-tf >=9.0 && <21.1,
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 >=4.8 && <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
LLVM.DSL.Example.Median
Other-Modules:
LLVM.DSL.Dump
Test-Suite llvm-dsl-test
Type: exitcode-stdio-1.0
Build-Depends:
doctest-exitcode-stdio >=0.0 && <0.1,
llvm-dsl,
llvm-extra,
llvm-tf,
tfp,
transformers,
base >=3 && <5
Default-Language: Haskell98
GHC-Options: -Wall
Hs-source-dirs: test
Main-Is: Main.hs
Other-Modules:
Test.LLVM.DSL.Example.Median