]> gitweb.michael.orlitzky.com - spline3.git/blob - spline3.cabal
Bump the cmdargs dep to 0.10.*.
[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 license: GPL-3
7 license-file: doc/LICENSE
8 homepage: http://michael.orlitzky.com/code/spline3.php
9 bug-reports: mailto:michael@orlitzky.com
10 category: Math
11 synopsis:
12 A parallel implementation of the Sorokina/Zeilfelder spline scheme.
13 description:
14 Interpolate volumetric data according to "Local quasi-interpolation
15 by cubic C^1 splines on type-6 tetrahedral partitions." The defaults
16 are tailored to the MRI data contained in data/mri.bin from the
17 Stanford volume data archive at http://graphics.stanford.edu/data/voldata/.
18 build-type: Simple
19
20 flag HPC
21 description: Build with Haskell Program Coverage (HPC) support
22 default: False
23
24 flag LLVM
25 description: Build with LLVM
26 default: False
27
28
29 executable spline3
30 build-depends:
31 base == 4.5.*,
32 cmdargs == 0.10.*,
33 filepath == 1.*,
34 MissingH == 1.1.*,
35 repa == 3.2.*,
36 repa-algorithms == 3.2.*,
37 repa-io == 3.2.*,
38 vector == 0.9.*,
39 -- Additional test dependencies.
40 HUnit == 1.2.*,
41 QuickCheck == 2.*,
42 test-framework == 0.6.*,
43 test-framework-hunit == 0.2.*,
44 test-framework-quickcheck2 == 0.2.*
45
46 main-is:
47 Main.hs
48
49 hs-source-dirs:
50 src/
51
52 ghc-options:
53 -Wall
54 -fwarn-hi-shadowing
55 -fwarn-missing-signatures
56 -fwarn-name-shadowing
57 -fwarn-orphans
58 -fwarn-type-defaults
59 -fwarn-tabs
60 -fwarn-incomplete-record-updates
61 -fwarn-monomorphism-restriction
62 -fwarn-unused-do-bind
63 -funbox-strict-fields
64 -fexcess-precision
65 -fno-spec-constr-count
66 -rtsopts
67 -threaded
68
69 if flag(llvm)
70 ghc-options:
71 -fllvm
72 -optlo-O3
73 -optlc-O3
74 else
75 ghc-options:
76 -O2
77 -optc-O3
78 -optc-march=native
79
80 if flag(hpc)
81 ghc-options:
82 -fhpc
83
84 ghc-prof-options:
85 -prof
86 -auto-all
87 -caf-all
88
89
90 test-suite doctests
91 type: exitcode-stdio-1.0
92 hs-source-dirs: test
93 main-is: Doctests.hs
94 build-depends:
95 base == 4.5.*,
96 -- Additional test dependencies.
97 doctest == 0.7.*
98
99 -- It's not entirely clear to me why I have to reproduce all of this.
100 ghc-options:
101 -rtsopts
102 -threaded
103 -funbox-strict-fields
104 -fexcess-precision
105 -fno-spec-constr-count
106
107 if flag(llvm)
108 ghc-options:
109 -fllvm
110 -optlo-O3
111 -optlc-O3
112 else
113 ghc-options:
114 -O2
115 -optc-O3
116 -optc-march=native
117
118
119 test-suite testsuite
120 type: exitcode-stdio-1.0
121 hs-source-dirs: src test
122 main-is: TestSuite.hs
123 build-depends:
124 base == 4.5.*,
125 cmdargs == 0.10.*,
126 filepath == 1.*,
127 MissingH == 1.1.*,
128 repa == 3.2.*,
129 repa-algorithms == 3.2.*,
130 repa-io == 3.2.*,
131 vector == 0.9.*,
132 -- Additional test dependencies.
133 HUnit == 1.2.*,
134 QuickCheck == 2.*,
135 test-framework == 0.6.*,
136 test-framework-hunit == 0.2.*,
137 test-framework-quickcheck2 == 0.2.*
138
139 -- It's not entirely clear to me why I have to reproduce all of this.
140 ghc-options:
141 -rtsopts
142 -threaded
143 -funbox-strict-fields
144 -fexcess-precision
145 -fno-spec-constr-count
146
147 if flag(llvm)
148 ghc-options:
149 -fllvm
150 -optlo-O3
151 -optlc-O3
152 else
153 ghc-options:
154 -O2
155 -optc-O3
156 -optc-march=native
157
158
159 source-repository head
160 type: git
161 location: http://michael.orlitzky.com/git/spline3.git
162 branch: master