diff options
author | Tom Smeding <t.j.smeding@uu.nl> | 2025-02-20 22:41:53 +0100 |
---|---|---|
committer | Tom Smeding <t.j.smeding@uu.nl> | 2025-02-20 22:41:53 +0100 |
commit | 20754e0ae9226f658590f46105399aee5c0dcee2 (patch) | |
tree | 261be51f07c530d09665708fb149dd241c296b70 /ad-dual.cabal | |
parent | fe3132304b6c25e5bebc9fb327e3ea5d6018be7a (diff) |
Try debugging crash
Diffstat (limited to 'ad-dual.cabal')
-rw-r--r-- | ad-dual.cabal | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/ad-dual.cabal b/ad-dual.cabal index 5d3ca39..fe14d31 100644 --- a/ad-dual.cabal +++ b/ad-dual.cabal @@ -5,41 +5,56 @@ license: BSD-3-Clause author: Tom Smeding build-type: Simple +common common + build-depends: base >= 4.14.3 + default-language: Haskell2010 + ghc-options: -Wall + library + import: common exposed-modules: Numeric.ADDual Numeric.ADDual.Internal other-modules: build-depends: - base >= 4.14.3, transformers, vector hs-source-dirs: src - default-language: Haskell2010 - ghc-options: -Wall + +library ad-dual-examples + import: common + exposed-modules: + Numeric.ADDual.Examples + build-depends: + deepseq, + hedgehog, + vector + hs-source-dirs: examples test-suite test + import: common type: exitcode-stdio-1.0 main-is: Main.hs build-depends: - base, ad-dual, + ad-dual-examples, + ad, + hedgehog, tasty, - tasty-hunit + tasty-hedgehog, + tasty-hunit, + vector hs-source-dirs: test - default-language: Haskell2010 - ghc-options: -Wall benchmark bench + import: common type: exitcode-stdio-1.0 main-is: Main.hs build-depends: - base, ad-dual, + ad-dual-examples, ad, criterion, deepseq, vector hs-source-dirs: bench - default-language: Haskell2010 - ghc-options: -Wall |