summaryrefslogtreecommitdiff
path: root/packages/sundials/sundials.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sundials/sundials.cabal')
-rw-r--r--packages/sundials/sundials.cabal25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/sundials/sundials.cabal b/packages/sundials/sundials.cabal
index a68f33a..9b2db12 100644
--- a/packages/sundials/sundials.cabal
+++ b/packages/sundials/sundials.cabal
@@ -18,6 +18,16 @@ cabal-version: >=1.10
18 18
19extra-source-files: src/helpers.c, src/helpers.h 19extra-source-files: src/helpers.c, src/helpers.h
20 20
21executable ExportAndImport.dylib
22 main-is: ExportAndImport.hs
23 other-extensions: ForeignFunctionInterface
24 build-depends: base >=4.10
25 hs-source-dirs: src
26 default-language: Haskell2010
27 include-dirs: src
28 ghc-options: -O2 -shared -fPIC -dynamic
29 extra-libraries: HSrts-ghc8.2.2
30
21executable sundials 31executable sundials
22 main-is: Main.hs 32 main-is: Main.hs
23 -- other-modules: 33 -- other-modules:
@@ -31,3 +41,18 @@ executable sundials
31 default-language: Haskell2010 41 default-language: Haskell2010
32 extra-libraries: sundials_arkode 42 extra-libraries: sundials_arkode
33 C-sources: src/helpers.c src/helpers.h 43 C-sources: src/helpers.c src/helpers.h
44
45executable hsundials.dylib
46 main-is: Main.hs
47 -- other-modules:
48 other-extensions: QuasiQuotes, TemplateHaskell, MultiWayIf, OverloadedStrings
49 build-depends: base >=4.10 && <4.11,
50 inline-c >=0.6 && <0.7,
51 vector >=0.12 && <0.13,
52 template-haskell >=2.12 && <2.13,
53 containers >=0.5 && <0.6
54 hs-source-dirs: src
55 ghc-options: -O2 -shared -fPIC -dynamic
56 default-language: Haskell2010
57 extra-libraries: sundials_arkode, HSrts-ghc8.2.2
58 C-sources: src/helpers.c src/helpers.h