X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=spline3.cabal;h=e49fe39beaaace366c9faf3904d5e9205307afab;hb=915d84a7ea8b958c38dd28098af4969c2e40bdac;hp=5e73d401461b1ab2c06b2d84a07a46d23ced533e;hpb=ec6905d56d55ea0be0ed7dd7dc4d959d2d1eacdf;p=spline3.git diff --git a/spline3.cabal b/spline3.cabal index 5e73d40..e49fe39 100644 --- a/spline3.cabal +++ b/spline3.cabal @@ -1,11 +1,11 @@ +cabal-version: 3.0 name: spline3 -version: 0.0.2 -cabal-version: >= 1.8 +version: 1.0.1 author: Michael Orlitzky maintainer: Michael Orlitzky homepage: http://michael.orlitzky.com/code/spline3.xhtml category: Math -license: AGPL-3 +license: AGPL-3.0-only license-file: doc/LICENSE bug-reports: mailto:michael@orlitzky.com synopsis: @@ -15,9 +15,9 @@ description: 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: @@ -31,17 +31,12 @@ extra-source-files: doc/results/3d/*.png util/view-mri-data.py -flag LLVM - description: Build with LLVM - default: False - executable spline3 build-depends: - base < 5, + base >= 4.15 && < 5, cmdargs >= 0.10, - filepath >= 1, MissingH >= 1, repa >= 3, repa-algorithms >= 3, @@ -52,6 +47,9 @@ executable spline3 tasty-hunit >= 0.8, tasty-quickcheck >= 0.8.1 + default-language: + Haskell2010 + main-is: Main.hs @@ -79,72 +77,24 @@ executable spline3 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 - -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 - - ghc-prof-options: - -prof - -auto-all - -caf-all - + autogen-modules: + Paths_spline3 test-suite doctests type: exitcode-stdio-1.0 hs-source-dirs: test + default-language: Haskell2010 main-is: Doctests.hs build-depends: - base < 5, + base >= 4.15 && < 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 + default-language: Haskell2010 main-is: TestSuite.hs other-modules: @@ -164,38 +114,14 @@ test-suite testsuite Values build-depends: - base < 5, - cmdargs >= 0.10, - filepath >= 1, - MissingH >= 1, + base >= 4.15 && < 5, repa >= 3, - repa-algorithms >= 3, - repa-io >= 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