X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=spline3.cabal;h=808541f792dccee298959110b965bcac24d223b8;hb=6c0620002bd5c088ce55a514e9c9ccc19e1cfbf9;hp=df7697dcb61cf8c60ad739544d5436b314242979;hpb=69389e0a95ce3b47a82d6c650d4fc9ca3cd95483;p=spline3.git diff --git a/spline3.cabal b/spline3.cabal index df7697d..808541f 100644 --- a/spline3.cabal +++ b/spline3.cabal @@ -1,12 +1,35 @@ name: spline3 -version: 0.0 +version: 0.0.1 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky +homepage: http://michael.orlitzky.com/code/spline3.php +category: Math +license: GPL-3 +license-file: doc/LICENSE +bug-reports: mailto:michael@orlitzky.com 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 . + . + For more information and examples, please see the project homepage at + . + build-type: Simple +extra-source-files: + data/mri.bin + data/mri.info + data/announcement.txt + doc/README + -- Don't ship the references for copyright reasons. + --doc/references/*.pdf + doc/results/2d/*.png + doc/results/3d/*.png + util/view-mri-data.py flag HPC description: Build with Haskell Program Coverage (HPC) support @@ -16,19 +39,22 @@ flag LLVM description: Build with LLVM default: False + executable spline3 + build-depends: - base == 4.5.*, - filepath == 1.*, - HUnit == 1.2.*, - QuickCheck == 2.4.*, - repa == 3.*, - repa-algorithms == 3.*, - repa-io == 3.*, - test-framework == 0.4.*, - test-framework-hunit == 0.2.*, - test-framework-quickcheck2 == 0.2.*, - vector == 0.9.* + 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 main-is: Main.hs @@ -36,6 +62,26 @@ executable spline3 hs-source-dirs: src/ + other-modules: + Assertions + Cardinal + CommandLine + Comparisons + Cube + Everything + Examples + ExitCodes + Face + FunctionValues + Grid + Misc + Point + RealFunction + ScaleFactor + Tetrahedron + Values + Volumetric + ghc-options: -Wall -fwarn-hi-shadowing @@ -72,3 +118,76 @@ 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 < 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