summaryrefslogtreecommitdiff
path: root/hmatrix.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r--hmatrix.cabal45
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 @@
1Name: hmatrix 1Name: hmatrix
2Version: 0.12.0.2 2Version: 0.13.0.0
3License: GPL 3License: GPL
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: 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
23Category: Math 23Category: Math
24tested-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 24tested-with: GHC ==7.4
25 25
26cabal-version: >=1.8 26cabal-version: >=1.8
27 27
28build-type: Custom 28build-type: Custom
29 29
30extra-source-files: lib/Numeric/LinearAlgebra/Tests/quickCheckCompat.h 30extra-source-files: Config.hs THANKS INSTALL CHANGES
31 Config.hs THANKS INSTALL CHANGES
32 31
33extra-source-files: examples/tests.hs 32extra-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
60extra-source-files: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h, 58extra-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
63flag tests
64 description: Build tests
65 default: True
66
67flag dd 61flag 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
227test-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