]> gitweb.michael.orlitzky.com - spline3.git/blob - spline3.cabal
Set cabal version to 0.0.1.
[spline3.git] / spline3.cabal
1 name: spline3
2 version: 0.0.1
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 homepage: http://michael.orlitzky.com/code/spline3.php
7 category: Math
8 license: GPL-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 HPC
35 description: Build with Haskell Program Coverage (HPC) support
36 default: False
37
38 flag LLVM
39 description: Build with LLVM
40 default: False
41
42
43 executable spline3
44
45 build-depends:
46 base < 5,
47 cmdargs >= 0.10,
48 filepath >= 1,
49 MissingH >= 1,
50 repa >= 3.3,
51 repa-algorithms >= 3.3,
52 repa-io >= 3.3,
53 vector >= 0.10,
54 -- Additional test dependencies.
55 tasty >= 0.8,
56 tasty-hunit >= 0.8,
57 tasty-quickcheck >= 0.8.1
58
59 main-is:
60 Main.hs
61
62 hs-source-dirs:
63 src/
64
65 other-modules:
66 Assertions
67 Cardinal
68 CommandLine
69 Comparisons
70 Cube
71 Everything
72 Examples
73 ExitCodes
74 Face
75 FunctionValues
76 Grid
77 Misc
78 Point
79 RealFunction
80 ScaleFactor
81 Tetrahedron
82 Values
83 Volumetric
84
85 ghc-options:
86 -Wall
87 -fwarn-hi-shadowing
88 -fwarn-missing-signatures
89 -fwarn-name-shadowing
90 -fwarn-orphans
91 -fwarn-type-defaults
92 -fwarn-tabs
93 -fwarn-incomplete-record-updates
94 -fwarn-monomorphism-restriction
95 -fwarn-unused-do-bind
96 -funbox-strict-fields
97 -fexcess-precision
98 -fno-spec-constr-count
99 -rtsopts
100 -threaded
101
102 if flag(llvm)
103 ghc-options:
104 -fllvm
105 -optlo-O3
106 -optlc-O3
107 else
108 ghc-options:
109 -O2
110 -optc-O3
111 -optc-march=native
112
113 if flag(hpc)
114 ghc-options:
115 -fhpc
116
117 ghc-prof-options:
118 -prof
119 -auto-all
120 -caf-all
121
122
123 test-suite doctests
124 type: exitcode-stdio-1.0
125 hs-source-dirs: test
126 main-is: Doctests.hs
127 build-depends:
128 base < 5,
129 -- Additional test dependencies.
130 doctest >= 0.9
131
132 -- It's not entirely clear to me why I have to reproduce all of this.
133 ghc-options:
134 -rtsopts
135 -threaded
136 -funbox-strict-fields
137 -fexcess-precision
138 -fno-spec-constr-count
139
140 if flag(llvm)
141 ghc-options:
142 -fllvm
143 -optlo-O3
144 -optlc-O3
145 else
146 ghc-options:
147 -O2
148 -optc-O3
149 -optc-march=native
150
151
152 test-suite testsuite
153 type: exitcode-stdio-1.0
154 hs-source-dirs: src test
155 main-is: TestSuite.hs
156 build-depends:
157 base < 5,
158 cmdargs >= 0.10,
159 filepath >= 1,
160 MissingH >= 1,
161 repa >= 3.3,
162 repa-algorithms >= 3.3,
163 repa-io >= 3.3,
164 vector >= 0.10,
165 -- Additional test dependencies.
166 tasty >= 0.8,
167 tasty-hunit >= 0.8,
168 tasty-quickcheck >= 0.8.1
169
170 -- It's not entirely clear to me why I have to reproduce all of this.
171 ghc-options:
172 -rtsopts
173 -threaded
174 -funbox-strict-fields
175 -fexcess-precision
176 -fno-spec-constr-count
177
178 if flag(llvm)
179 ghc-options:
180 -fllvm
181 -optlo-O3
182 -optlc-O3
183 else
184 ghc-options:
185 -O2
186 -optc-O3
187 -optc-march=native
188
189
190 source-repository head
191 type: git
192 location: http://michael.orlitzky.com/git/spline3.git
193 branch: master