summaryrefslogtreecommitdiff
path: root/accelerate-sc.cabal
blob: 5a1923fb6b2350376a8b95fdfeb80696dd142767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
cabal-version:       2.0
name:                accelerate-sc
synopsis:            Sequential C backend for Accelerate
version:             1.3.0.0
license:             MIT
author:              Tom Smeding
maintainer:          tom@tomsmeding.com
build-type:          Simple

library
  exposed-modules:
    Data.Array.Accelerate.C
  other-modules:
    Data.Array.Accelerate.Trafo.UnDelayed
    Debug
    Language.C
    Language.C.Print
    SC.Acc
    SC.Afun
    SC.Defs
    SC.Exp
    SC.Monad
    SC.Prelude
  build-depends:
    base >= 4.13 && < 4.15,
    containers >= 0.6.3.1 && < 0.7,
    accelerate ^>= 1.3.0.0,
    transformers >= 0.5.6 && < 0.7,
    file-embed ^>= 0.0.15
  hs-source-dirs:      .
  default-language:    Haskell2010
  ghc-options:         -Wall -O2

test-suite test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
    Examples.Mandel
    Examples.Test
    Examples.Utils.PPM
  hs-source-dirs: test
  ghc-options: -Wall -O2 -threaded
  build-depends:
    accelerate-sc,
    base >= 4.13 && < 4.15,
    accelerate ^>= 1.3.0.0
  default-language: Haskell2010