From 4c8c2f99a9817fe84ee7626de11736b133c1de1f Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 16 Oct 2022 15:03:51 +0200 Subject: Initial --- mandelhs.cabal | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 mandelhs.cabal (limited to 'mandelhs.cabal') 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 -- cgit v1.2.3-70-g09d2