]> gitweb.michael.orlitzky.com - spline3.git/blob - spline3.cabal
spline3.cabal: loosen repa dependency bounds (any 3.x version will work).
[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 Point
75 RealFunction
76 ScaleFactor
77 Tetrahedron
78 Values
79 Volumetric
80
81 ghc-options:
82 -Wall
83 -fwarn-hi-shadowing
84 -fwarn-missing-signatures
85 -fwarn-name-shadowing
86 -fwarn-orphans
87 -fwarn-type-defaults
88 -fwarn-tabs
89 -fwarn-incomplete-record-updates
90 -fwarn-monomorphism-restriction
91 -fwarn-unused-do-bind
92 -funbox-strict-fields
93 -fexcess-precision
94 -fno-spec-constr-count
95 -rtsopts
96 -threaded
97
98 if flag(llvm)
99 ghc-options:
100 -fllvm
101 -optlo-O3
102 -optlc-O3
103 else
104 ghc-options:
105 -O2
106 -optc-O3
107 -optc-march=native
108
109 ghc-prof-options:
110 -prof
111 -auto-all
112 -caf-all
113
114
115 test-suite doctests
116 type: exitcode-stdio-1.0
117 hs-source-dirs: test
118 main-is: Doctests.hs
119 build-depends:
120 base < 5,
121 -- Additional test dependencies.
122 doctest >= 0.9
123
124 -- It's not entirely clear to me why I have to reproduce all of this.
125 ghc-options:
126 -rtsopts
127 -threaded
128 -funbox-strict-fields
129 -fexcess-precision
130 -fno-spec-constr-count
131
132 if flag(llvm)
133 ghc-options:
134 -fllvm
135 -optlo-O3
136 -optlc-O3
137 else
138 ghc-options:
139 -O2
140 -optc-O3
141 -optc-march=native
142
143
144 test-suite testsuite
145 type: exitcode-stdio-1.0
146 hs-source-dirs: src test
147 main-is: TestSuite.hs
148 build-depends:
149 base < 5,
150 cmdargs >= 0.10,
151 filepath >= 1,
152 MissingH >= 1,
153 repa >= 3,
154 repa-algorithms >= 3,
155 repa-io >= 3,
156 vector >= 0.10,
157 -- Additional test dependencies.
158 tasty >= 0.8,
159 tasty-hunit >= 0.8,
160 tasty-quickcheck >= 0.8.1
161
162 -- It's not entirely clear to me why I have to reproduce all of this.
163 ghc-options:
164 -rtsopts
165 -threaded
166 -funbox-strict-fields
167 -fexcess-precision
168 -fno-spec-constr-count
169
170 if flag(llvm)
171 ghc-options:
172 -fllvm
173 -optlo-O3
174 -optlc-O3
175 else
176 ghc-options:
177 -O2
178 -optc-O3
179 -optc-march=native
180
181
182 source-repository head
183 type: git
184 location: http://gitweb.michael.orlitzky.com/spline3.git
185 branch: master