]> gitweb.michael.orlitzky.com - spline3.git/blob - spline3.cabal
spline3.cabal: add Paths_spline3 to other-modules to silence a warning.
[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 build-depends:
150 base < 5,
151 cmdargs >= 0.10,
152 filepath >= 1,
153 MissingH >= 1,
154 repa >= 3,
155 repa-algorithms >= 3,
156 repa-io >= 3,
157 vector >= 0.10,
158 -- Additional test dependencies.
159 tasty >= 0.8,
160 tasty-hunit >= 0.8,
161 tasty-quickcheck >= 0.8.1
162
163 -- It's not entirely clear to me why I have to reproduce all of this.
164 ghc-options:
165 -rtsopts
166 -threaded
167 -funbox-strict-fields
168 -fexcess-precision
169 -fno-spec-constr-count
170
171 if flag(llvm)
172 ghc-options:
173 -fllvm
174 -optlo-O3
175 -optlc-O3
176 else
177 ghc-options:
178 -O2
179 -optc-O3
180 -optc-march=native
181
182
183 source-repository head
184 type: git
185 location: http://gitweb.michael.orlitzky.com/spline3.git
186 branch: master