diff options
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r-- | hmatrix.cabal | 45 |
1 files changed, 9 insertions, 36 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal index 63da6fb..906e4cf 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal | |||
@@ -1,5 +1,5 @@ | |||
1 | Name: hmatrix | 1 | Name: hmatrix |
2 | Version: 0.12.0.2 | 2 | Version: 0.13.0.0 |
3 | License: GPL | 3 | License: GPL |
4 | License-file: LICENSE | 4 | License-file: LICENSE |
5 | Author: Alberto Ruiz | 5 | Author: Alberto Ruiz |
@@ -21,17 +21,15 @@ Description: Purely functional interface to basic linear algebra | |||
21 | . | 21 | . |
22 | - "Numeric.LinearAlgebra": everything + instances of standard Haskell numeric classes | 22 | - "Numeric.LinearAlgebra": everything + instances of standard Haskell numeric classes |
23 | Category: Math | 23 | Category: Math |
24 | tested-with: GHC ==6.10.4, GHC ==6.12.1, GHC ==6.12.3, GHC ==7.0.1, GHC==7.0.2, GHC==7.2.1 | 24 | tested-with: GHC ==7.4 |
25 | 25 | ||
26 | cabal-version: >=1.8 | 26 | cabal-version: >=1.8 |
27 | 27 | ||
28 | build-type: Custom | 28 | build-type: Custom |
29 | 29 | ||
30 | extra-source-files: lib/Numeric/LinearAlgebra/Tests/quickCheckCompat.h | 30 | extra-source-files: Config.hs THANKS INSTALL CHANGES |
31 | Config.hs THANKS INSTALL CHANGES | ||
32 | 31 | ||
33 | extra-source-files: examples/tests.hs | 32 | extra-source-files: examples/deriv.hs |
34 | examples/deriv.hs | ||
35 | examples/integrate.hs | 33 | examples/integrate.hs |
36 | examples/minimize.hs | 34 | examples/minimize.hs |
37 | examples/root.hs | 35 | examples/root.hs |
@@ -60,10 +58,6 @@ extra-source-files: examples/tests.hs | |||
60 | extra-source-files: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h, | 58 | extra-source-files: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h, |
61 | lib/Numeric/LinearAlgebra/LAPACK/clapack.h | 59 | lib/Numeric/LinearAlgebra/LAPACK/clapack.h |
62 | 60 | ||
63 | flag tests | ||
64 | description: Build tests | ||
65 | default: True | ||
66 | |||
67 | flag dd | 61 | flag dd |
68 | description: svd = zgesdd | 62 | description: svd = zgesdd |
69 | default: True | 63 | default: True |
@@ -152,17 +146,11 @@ library | |||
152 | Build-Depends: binary | 146 | Build-Depends: binary |
153 | cpp-options: -DBINARY | 147 | cpp-options: -DBINARY |
154 | 148 | ||
155 | if flag(tests) | ||
156 | Build-Depends: QuickCheck, HUnit, random | ||
157 | exposed-modules: Numeric.LinearAlgebra.Tests | ||
158 | other-modules: Numeric.LinearAlgebra.Tests.Instances, | ||
159 | Numeric.LinearAlgebra.Tests.Properties | ||
160 | |||
161 | -- ghc-prof-options: -auto | 149 | -- ghc-prof-options: -auto |
162 | 150 | ||
163 | ghc-options: -Wall -fno-warn-missing-signatures | 151 | ghc-options: -Wall -fno-warn-missing-signatures |
164 | -fno-warn-orphans | 152 | -fno-warn-orphans |
165 | -fno-warn-unused-binds | 153 | -fno-warn-unused-binds |
166 | 154 | ||
167 | if flag(unsafe) | 155 | if flag(unsafe) |
168 | cpp-options: -DUNSAFE | 156 | cpp-options: -DUNSAFE |
@@ -220,20 +208,5 @@ source-repository head | |||
220 | type: git | 208 | type: git |
221 | location: https://github.com/AlbertoRuiz/hmatrix | 209 | location: https://github.com/AlbertoRuiz/hmatrix |
222 | 210 | ||
223 | -- Test-Suite tests | 211 | -- The tests are in package hmatrix-tests |
224 | -- type: exitcode-stdio-1.0 | 212 | |
225 | -- main-is: examples/tests.hs | ||
226 | |||
227 | test-suite test-hmatrix | ||
228 | type: exitcode-stdio-1.0 | ||
229 | main-is: tests.hs | ||
230 | build-depends: hmatrix | ||
231 | , base | ||
232 | , QuickCheck | ||
233 | , storable-complex | ||
234 | , array | ||
235 | , process | ||
236 | , HUnit | ||
237 | , random | ||
238 | hs-source-dirs: lib, examples | ||
239 | Extensions: ForeignFunctionInterface, CPP | ||