aboutsummaryrefslogtreecommitdiff
path: root/ox-arrays.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'ox-arrays.cabal')
-rw-r--r--ox-arrays.cabal9
1 files changed, 9 insertions, 0 deletions
diff --git a/ox-arrays.cabal b/ox-arrays.cabal
index 58fccf9..3f4fa5b 100644
--- a/ox-arrays.cabal
+++ b/ox-arrays.cabal
@@ -10,15 +10,23 @@ library
Data.Array.Mixed
Data.Array.Nested
Data.Array.Nested.Internal
+ Data.Array.Nested.Internal.Arith
+ Data.Array.Nested.Internal.Arith.Foreign
+ Data.Array.Nested.Internal.Arith.Lists
build-depends:
base >=4.18 && <4.20,
ghc-typelits-knownnat,
ghc-typelits-natnormalise,
orthotope,
+ template-haskell,
vector
hs-source-dirs: src
+ c-sources: cbits/arith.c
+ -- hmatrix assumes sse2, so we can too
+ cc-options: -O3 -msse2 -Wall -Wextra
default-language: Haskell2010
ghc-options: -Wall
+ other-extensions: TemplateHaskell
test-suite example
type: exitcode-stdio-1.0
@@ -36,6 +44,7 @@ benchmark bench
build-depends:
ox-arrays,
base,
+ hmatrix,
tasty-bench
hs-source-dirs: bench
default-language: Haskell2010