summaryrefslogtreecommitdiff
path: root/mandelhs.cabal
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2022-10-16 15:03:51 +0200
committerTom Smeding <tom@tomsmeding.com>2022-10-16 15:03:51 +0200
commit4c8c2f99a9817fe84ee7626de11736b133c1de1f (patch)
treecfc536f74b1b2d9b35ab79116ab0fd0dc7eb8d1f /mandelhs.cabal
Initial
Diffstat (limited to 'mandelhs.cabal')
-rw-r--r--mandelhs.cabal62
1 files changed, 62 insertions, 0 deletions
diff --git a/mandelhs.cabal b/mandelhs.cabal
new file mode 100644
index 0000000..8e92db9
--- /dev/null
+++ b/mandelhs.cabal
@@ -0,0 +1,62 @@
+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:
+ build-depends:
+ mandelhs-lib,
+ base >= 4.13 && < 4.15,
+ bytestring,
+ -- accelerate-llvm-native already depends on cereal
+ cereal,
+ JuicyPixels ^>= 3.3.8,
+ vector
+ hs-source-dirs:
+ render
+ default-language:
+ Haskell2010
+ ghc-options:
+ -Wall -O2 -threaded