]> gitweb.michael.orlitzky.com - spline3.git/blob - spline3.cabal
Update repa, quickcheck, and doctest version bounds.
[spline3.git] / spline3.cabal
1 name: spline3
2 version: 0.0
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 synopsis:
7 An implementation of the Sorokina and Zeilfelder
8 trivariate spline scheme on type-6 tetrahedral partitions.
9 build-type: Simple
10
11 flag HPC
12 description: Build with Haskell Program Coverage (HPC) support
13 default: False
14
15 flag LLVM
16 description: Build with LLVM
17 default: False
18
19 executable spline3
20 build-depends:
21 base == 4.5.*,
22 doctest == 0.7.*,
23 filepath == 1.*,
24 HUnit == 1.2.*,
25 QuickCheck == 2.*,
26 repa == 3.2.*,
27 repa-algorithms == 3.2.*,
28 repa-io == 3.2.*,
29 test-framework == 0.6.*,
30 test-framework-doctest == 0.2.*,
31 test-framework-hunit == 0.2.*,
32 test-framework-quickcheck2 == 0.2.*,
33 vector == 0.9.*
34
35 main-is:
36 Main.hs
37
38 hs-source-dirs:
39 src/
40
41 ghc-options:
42 -Wall
43 -fwarn-hi-shadowing
44 -fwarn-missing-signatures
45 -fwarn-name-shadowing
46 -fwarn-orphans
47 -fwarn-type-defaults
48 -fwarn-tabs
49 -fwarn-incomplete-record-updates
50 -fwarn-monomorphism-restriction
51 -fwarn-unused-do-bind
52 -funbox-strict-fields
53 -fexcess-precision
54 -fno-spec-constr-count
55 -rtsopts
56 -threaded
57
58 if flag(llvm)
59 ghc-options:
60 -fllvm
61 -optlo-O3
62 -optlc-O3
63 else
64 ghc-options:
65 -O2
66 -optc-O3
67 -optc-march=native
68
69 if flag(hpc)
70 ghc-options:
71 -fhpc
72
73 ghc-prof-options:
74 -prof
75 -auto-all
76 -caf-all