]> gitweb.michael.orlitzky.com - spline3.git/blob - spline3.cabal
spline3.cabal: add other-modules for the test suite section.
[spline3.git] / spline3.cabal
1 name: spline3
2 version: 0.0.2
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 homepage: http://michael.orlitzky.com/code/spline3.xhtml
7 category: Math
8 license: AGPL-3
9 license-file: doc/LICENSE
10 bug-reports: mailto:michael@orlitzky.com
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 .
19 For more information and examples, please see the project homepage at
20 <http://michael.orlitzky.com/code/spline3.php>.
21
22 build-type: Simple
23 extra-source-files:
24 data/mri.bin
25 data/mri.info
26 data/announcement.txt
27 doc/README
28 -- Don't ship the references for copyright reasons.
29 --doc/references/*.pdf
30 doc/results/2d/*.png
31 doc/results/3d/*.png
32 util/view-mri-data.py
33
34 flag LLVM
35 description: Build with LLVM
36 default: False
37
38
39 executable spline3
40
41 build-depends:
42 base < 5,
43 cmdargs >= 0.10,
44 filepath >= 1,
45 MissingH >= 1,
46 repa >= 3,
47 repa-algorithms >= 3,
48 repa-io >= 3,
49 vector >= 0.10,
50 -- Additional test dependencies.
51 tasty >= 0.8,
52 tasty-hunit >= 0.8,
53 tasty-quickcheck >= 0.8.1
54
55 main-is:
56 Main.hs
57
58 hs-source-dirs:
59 src/
60
61 other-modules:
62 Assertions
63 Cardinal
64 CommandLine
65 Comparisons
66 Cube
67 Everything
68 Examples
69 ExitCodes
70 Face
71 FunctionValues
72 Grid
73 Misc
74 Paths_spline3
75 Point
76 RealFunction
77 ScaleFactor
78 Tetrahedron
79 Values
80 Volumetric
81
82 ghc-options:
83 -Wall
84 -fwarn-hi-shadowing
85 -fwarn-missing-signatures
86 -fwarn-name-shadowing
87 -fwarn-orphans
88 -fwarn-type-defaults
89 -fwarn-tabs
90 -fwarn-incomplete-record-updates
91 -fwarn-monomorphism-restriction
92 -fwarn-unused-do-bind
93 -funbox-strict-fields
94 -fexcess-precision
95 -fno-spec-constr-count
96 -rtsopts
97 -threaded
98
99 if flag(llvm)
100 ghc-options:
101 -fllvm
102 -optlo-O3
103 -optlc-O3
104 else
105 ghc-options:
106 -O2
107 -optc-O3
108 -optc-march=native
109
110 ghc-prof-options:
111 -prof
112 -auto-all
113 -caf-all
114
115
116 test-suite doctests
117 type: exitcode-stdio-1.0
118 hs-source-dirs: test
119 main-is: Doctests.hs
120 build-depends:
121 base < 5,
122 -- Additional test dependencies.
123 doctest >= 0.9
124
125 -- It's not entirely clear to me why I have to reproduce all of this.
126 ghc-options:
127 -rtsopts
128 -threaded
129 -funbox-strict-fields
130 -fexcess-precision
131 -fno-spec-constr-count
132
133 if flag(llvm)
134 ghc-options:
135 -fllvm
136 -optlo-O3
137 -optlc-O3
138 else
139 ghc-options:
140 -O2
141 -optc-O3
142 -optc-march=native
143
144
145 test-suite testsuite
146 type: exitcode-stdio-1.0
147 hs-source-dirs: src test
148 main-is: TestSuite.hs
149
150 other-modules:
151 Assertions
152 Cardinal
153 Comparisons
154 Cube
155 Examples
156 Face
157 FunctionValues
158 Grid
159 Misc
160 Point
161 RealFunction
162 ScaleFactor
163 Tetrahedron
164 Values
165
166 build-depends:
167 base < 5,
168 cmdargs >= 0.10,
169 filepath >= 1,
170 MissingH >= 1,
171 repa >= 3,
172 repa-algorithms >= 3,
173 repa-io >= 3,
174 vector >= 0.10,
175 -- Additional test dependencies.
176 tasty >= 0.8,
177 tasty-hunit >= 0.8,
178 tasty-quickcheck >= 0.8.1
179
180 -- It's not entirely clear to me why I have to reproduce all of this.
181 ghc-options:
182 -rtsopts
183 -threaded
184 -funbox-strict-fields
185 -fexcess-precision
186 -fno-spec-constr-count
187
188 if flag(llvm)
189 ghc-options:
190 -fllvm
191 -optlo-O3
192 -optlc-O3
193 else
194 ghc-options:
195 -O2
196 -optc-O3
197 -optc-march=native
198
199
200 source-repository head
201 type: git
202 location: http://gitweb.michael.orlitzky.com/spline3.git
203 branch: master