summaryrefslogtreecommitdiff
path: root/mandelhs.cabal
blob: fb33b464452697c3e2180ab3042e3486f87062ad (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
cabal-version:       2.0
name:                mandelhs
synopsis:            Mandelbrots
version:             0.1.0.0
license:             MIT
author:              Tom Smeding
maintainer:          tom@tomsmeding.com
build-type:          Simple

library mandelhs-lib
  exposed-modules:
    MandelHSlib
  build-depends:
    base >= 4.13 && < 4.15,
    -- accelerate-llvm-native already depends on cereal
    cereal,
    vector
  hs-source-dirs:
    lib
  default-language:
    Haskell2010
  ghc-options:
    -Wall -O2

executable mandelhs-compute
  main-is:
    Compute.hs
  other-modules:
  build-depends:
    mandelhs-lib,
    base >= 4.13 && < 4.15,
    accelerate ^>= 1.3.0.0,
    accelerate-llvm-native ^>= 1.3.0.0,
    bytestring,
    -- accelerate-llvm-native already depends on cereal
    cereal,
    vector
  hs-source-dirs:
    compute
  default-language:
    Haskell2010
  ghc-options:
    -Wall -O2 -threaded

executable mandelhs-render
  main-is:
    Render.hs
  other-modules:
    Inferno
  build-depends:
    mandelhs-lib,
    base >= 4.13 && < 4.15,
    bytestring,
    -- accelerate-llvm-native already depends on cereal
    cereal,
    containers,
    JuicyPixels ^>= 3.3.8,
    vector
  hs-source-dirs:
    render
  default-language:
    Haskell2010
  ghc-options:
    -Wall -O2 -threaded