From a0010622885dcb55a916bf3514c0e9040f6871e9 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 23 May 2024 00:18:17 +0200 Subject: Fast numeric operations for Num --- ox-arrays.cabal | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ox-arrays.cabal') 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 -- cgit v1.2.3-70-g09d2