+
+
+test-suite doctests
+ type: exitcode-stdio-1.0
+ hs-source-dirs: test
+ main-is: Doctests.hs
+ build-depends:
+ base < 5,
+ -- Additional test dependencies.
+ doctest >= 0.9
+
+ -- It's not entirely clear to me why I have to reproduce all of this.
+ ghc-options:
+ -rtsopts
+ -threaded
+ -funbox-strict-fields
+ -fexcess-precision
+ -fno-spec-constr-count
+
+ if flag(llvm)
+ ghc-options:
+ -fllvm
+ -optlo-O3
+ -optlc-O3
+ else
+ ghc-options:
+ -O2
+ -optc-O3
+ -optc-march=native
+
+
+test-suite testsuite
+ type: exitcode-stdio-1.0
+ hs-source-dirs: src test
+ main-is: TestSuite.hs
+ build-depends:
+ base < 5,
+ cmdargs >= 0.10,
+ filepath >= 1,
+ MissingH >= 1,
+ repa >= 3.3,
+ repa-algorithms >= 3.3,
+ repa-io >= 3.3,
+ vector >= 0.10,
+ -- Additional test dependencies.
+ tasty >= 0.8,
+ tasty-hunit >= 0.8,
+ tasty-quickcheck >= 0.8.1
+
+ -- It's not entirely clear to me why I have to reproduce all of this.
+ ghc-options:
+ -rtsopts
+ -threaded
+ -funbox-strict-fields
+ -fexcess-precision
+ -fno-spec-constr-count
+
+ if flag(llvm)
+ ghc-options:
+ -fllvm
+ -optlo-O3
+ -optlc-O3
+ else
+ ghc-options:
+ -O2
+ -optc-O3
+ -optc-march=native
+
+
+source-repository head
+ type: git
+ location: http://michael.orlitzky.com/git/spline3.git
+ branch: master