]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - spline3.cabal
spline3.cabal: set version to 1.0.0.
[spline3.git] / spline3.cabal
index 1cf11b826c4d356d529c31aa079bc163c56d465c..2e109961e8ded7417f0ba4b0d1f063d22ffdbbd0 100644 (file)
@@ -1,5 +1,5 @@
 name:           spline3
-version:        0.0.2
+version:        1.0.0
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -17,7 +17,7 @@ description:
   Stanford volume data archive at <http://graphics.stanford.edu/data/voldata/>.
   .
   For more information and examples, please see the project homepage at
-  <http://michael.orlitzky.com/code/spline3.php>.
+  <http://michael.orlitzky.com/code/spline3.xhtml>.
 
 build-type:     Simple
 extra-source-files:
@@ -31,10 +31,6 @@ extra-source-files:
   doc/results/3d/*.png
   util/view-mri-data.py
 
-flag LLVM
-  description: Build with LLVM
-  default:     False
-
 
 executable spline3
 
@@ -43,9 +39,9 @@ executable spline3
     cmdargs                     >= 0.10,
     filepath                    >= 1,
     MissingH                    >= 1,
-    repa                        < 3.4,
-    repa-algorithms             < 3.4,
-    repa-io                     < 3.4,
+    repa                        >= 3,
+    repa-algorithms             >= 3,
+    repa-io                     >= 3,
     vector                      >= 0.10,
     -- Additional test dependencies.
     tasty                       >= 0.8,
@@ -71,6 +67,7 @@ executable spline3
     FunctionValues
     Grid
     Misc
+    Paths_spline3
     Point
     RealFunction
     ScaleFactor
@@ -79,35 +76,21 @@ executable spline3
     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
+    -O2
+    -optc-O3
+    -optc-march=native
 
   ghc-prof-options:
-    -prof
     -auto-all
     -caf-all
 
@@ -123,36 +106,50 @@ test-suite doctests
 
   -- 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.4,
-    repa-algorithms             < 3.4,
-    repa-io                     < 3.4,
+    repa                        >= 3,
+    repa-algorithms             >= 3,
+    repa-io                     >= 3,
     vector                      >= 0.10,
     -- Additional test dependencies.
     tasty                       >= 0.8,
@@ -161,22 +158,21 @@ test-suite testsuite
 
   -- 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