X-Git-Url: https://gitweb.michael.orlitzky.com/?p=spline3.git;a=blobdiff_plain;f=spline3.cabal;h=2e109961e8ded7417f0ba4b0d1f063d22ffdbbd0;hp=f2dcd5d6b398f30cdefed63ed19bbe8a34741efc;hb=4a8105503a3a58eb1b19b74f725a632af2c7d18a;hpb=5ff64eb128421b34df1807db28413165f4df7a26 diff --git a/spline3.cabal b/spline3.cabal index f2dcd5d..2e10996 100644 --- a/spline3.cabal +++ b/spline3.cabal @@ -1,47 +1,52 @@ name: spline3 -version: 0.0 +version: 1.0.0 cabal-version: >= 1.8 author: Michael Orlitzky maintainer: Michael Orlitzky -license: GPL-3 +homepage: http://michael.orlitzky.com/code/spline3.xhtml +category: Math +license: AGPL-3 license-file: doc/LICENSE -homepage: http://michael.orlitzky.com/code/spline3.php bug-reports: mailto:michael@orlitzky.com -category: Math synopsis: 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 + Stanford volume data archive at . + . + For more information and examples, please see the project homepage at + . -flag HPC - description: Build with Haskell Program Coverage (HPC) support - default: False - -flag LLVM - description: Build with LLVM - default: False +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 executable spline3 + 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.*, + cmdargs >= 0.10, + filepath >= 1, + MissingH >= 1, + repa >= 3, + repa-algorithms >= 3, + repa-io >= 3, + 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.* + tasty >= 0.8, + tasty-hunit >= 0.8, + tasty-quickcheck >= 0.8.1 main-is: Main.hs @@ -49,40 +54,43 @@ executable spline3 hs-source-dirs: src/ + other-modules: + Assertions + Cardinal + CommandLine + Comparisons + Cube + Everything + Examples + ExitCodes + Face + FunctionValues + Grid + Misc + Paths_spline3 + Point + RealFunction + ScaleFactor + Tetrahedron + Values + Volumetric + ghc-options: - -Wall - -fwarn-hi-shadowing - -fwarn-missing-signatures - -fwarn-name-shadowing - -fwarn-orphans - -fwarn-type-defaults - -fwarn-tabs - -fwarn-incomplete-record-updates - -fwarn-monomorphism-restriction - -fwarn-unused-do-bind + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations -funbox-strict-fields -fexcess-precision -fno-spec-constr-count -rtsopts -threaded - - if flag(llvm) - ghc-options: - -fllvm - -optlo-O3 - -optlc-O3 - else - ghc-options: - -O2 - -optc-O3 - -optc-march=native - - if flag(hpc) - ghc-options: - -fhpc + -O2 + -optc-O3 + -optc-march=native ghc-prof-options: - -prof -auto-all -caf-all @@ -94,69 +102,80 @@ test-suite doctests build-depends: base < 5, -- Additional test dependencies. - doctest == 0.9.* + doctest >= 0.9 -- It's not entirely clear to me why I have to reproduce all of this. ghc-options: + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations -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 + -O2 + -optc-O3 + -optc-march=native test-suite testsuite type: exitcode-stdio-1.0 hs-source-dirs: src test main-is: TestSuite.hs + + other-modules: + Assertions + Cardinal + Comparisons + Cube + Examples + Face + FunctionValues + Grid + Misc + Point + RealFunction + ScaleFactor + Tetrahedron + Values + 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.*, + cmdargs >= 0.10, + filepath >= 1, + MissingH >= 1, + repa >= 3, + repa-algorithms >= 3, + repa-io >= 3, + 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.* + 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: + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations -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 + ghc-options: + -O2 + -optc-O3 + -optc-march=native source-repository head type: git - location: http://michael.orlitzky.com/git/spline3.git + location: http://gitweb.michael.orlitzky.com/spline3.git branch: master