X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=spline3.cabal;h=b0dc60271893956c19214020e552196fd15ded6c;hb=fd3d394c27e3a90de8238b98bd112c4fe3468ee0;hp=6ffcef28a5f12b60f99c5b0db4df0a2a472fd10e;hpb=429558a71324dc10606d05497117b0222b959adc;p=spline3.git diff --git a/spline3.cabal b/spline3.cabal index 6ffcef2..b0dc602 100644 --- a/spline3.cabal +++ b/spline3.cabal @@ -3,9 +3,18 @@ version: 0.0 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky +license: GPL-3 +license-file: doc/LICENSE +homepage: http://michael.orlitzky.com/code/spline3.php +bug-reports: mailto:michael@orlitzky.com +category: Math synopsis: - An implementation of the Sorokina and Zeilfelder - trivariate spline scheme on type-6 tetrahedral partitions. + A parallel implementation of the Sorokina/Zeilfelder spline scheme. +description: + Interpolate volumetric data according to "Local quasi-interpolation + by cubic C^1 splines on type-6 tetrahedral partitions." The defaults + are tailored to the MRI data contained in data/mri.bin from the + Stanford volume data archive at http://graphics.stanford.edu/data/voldata/. build-type: Simple flag HPC @@ -16,21 +25,23 @@ flag LLVM description: Build with LLVM default: False + executable spline3 build-depends: - base == 4.5.*, - doctest == 0.6.*, + base == 4.6.*, + cmdargs == 0.10.*, filepath == 1.*, + MissingH == 1.2.*, + repa == 3.2.*, + repa-algorithms == 3.2.*, + repa-io == 3.2.*, + vector == 0.10.*, + -- Additional test dependencies. HUnit == 1.2.*, - QuickCheck == 2.4.*, - repa == 3.1.*, - repa-algorithms == 3.1.*, - repa-io == 3.1.*, - test-framework == 0.6.*, - test-framework-doctest == 0.2.*, - test-framework-hunit == 0.2.*, - test-framework-quickcheck2 == 0.2.*, - vector == 0.9.* + QuickCheck == 2.*, + test-framework == 0.8.*, + test-framework-hunit == 0.3.*, + test-framework-quickcheck2 == 0.3.* main-is: Main.hs @@ -74,3 +85,78 @@ executable spline3 -prof -auto-all -caf-all + + +test-suite doctests + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Doctests.hs + build-depends: + base == 4.6.*, + -- 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 == 4.6.*, + cmdargs == 0.10.*, + filepath == 1.*, + MissingH == 1.2.*, + repa == 3.2.*, + repa-algorithms == 3.2.*, + repa-io == 3.2.*, + vector == 0.10.*, + -- Additional test dependencies. + HUnit == 1.2.*, + QuickCheck == 2.*, + test-framework == 0.8.*, + test-framework-hunit == 0.3.*, + test-framework-quickcheck2 == 0.3.* + + -- 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