diff options
-rw-r--r-- | hmatrix.cabal | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal index 8319411..b99c109 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal | |||
@@ -50,6 +50,10 @@ extra-source-files: lib/Numeric/GSL/Special/auto.hs, | |||
50 | lib/Numeric/GSL/Special/autoall.sh, | 50 | lib/Numeric/GSL/Special/autoall.sh, |
51 | lib/Numeric/GSL/Special/replace.hs | 51 | lib/Numeric/GSL/Special/replace.hs |
52 | 52 | ||
53 | flag tests | ||
54 | description: Build tests | ||
55 | default: True | ||
56 | |||
53 | flag mkl | 57 | flag mkl |
54 | description: Link with Intel's MKL optimized libraries. | 58 | description: Link with Intel's MKL optimized libraries. |
55 | default: False | 59 | default: False |
@@ -68,7 +72,6 @@ library | |||
68 | Build-Depends: base >= 3 && < 5, | 72 | Build-Depends: base >= 3 && < 5, |
69 | array, | 73 | array, |
70 | haskell98, | 74 | haskell98, |
71 | QuickCheck, HUnit, | ||
72 | storable-complex, | 75 | storable-complex, |
73 | process | 76 | process |
74 | 77 | ||
@@ -124,7 +127,6 @@ library | |||
124 | Numeric.LinearAlgebra.Interface, | 127 | Numeric.LinearAlgebra.Interface, |
125 | Numeric.LinearAlgebra.Algorithms, | 128 | Numeric.LinearAlgebra.Algorithms, |
126 | Graphics.Plot, | 129 | Graphics.Plot, |
127 | Numeric.LinearAlgebra.Tests, | ||
128 | Data.Packed.Convert, | 130 | Data.Packed.Convert, |
129 | Data.Packed.ST, | 131 | Data.Packed.ST, |
130 | Data.Packed.Development, | 132 | Data.Packed.Development, |
@@ -135,12 +137,20 @@ library | |||
135 | Data.Packed.Internal.Vector, | 137 | Data.Packed.Internal.Vector, |
136 | Data.Packed.Internal.Matrix, | 138 | Data.Packed.Internal.Matrix, |
137 | Numeric.GSL.Internal, | 139 | Numeric.GSL.Internal, |
138 | Numeric.GSL.Special.Internal, | 140 | Numeric.GSL.Special.Internal |
139 | Numeric.LinearAlgebra.Tests.Instances, | 141 | |
140 | Numeric.LinearAlgebra.Tests.Properties | ||
141 | C-sources: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c, | 142 | C-sources: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c, |
142 | lib/Numeric/GSL/gsl-aux.c | 143 | lib/Numeric/GSL/gsl-aux.c |
143 | 144 | ||
145 | if flag(tests) | ||
146 | Build-Depends: QuickCheck, HUnit | ||
147 | exposed-modules: Numeric.LinearAlgebra.Tests | ||
148 | other-modules: Numeric.LinearAlgebra.Tests.Instances, | ||
149 | Numeric.LinearAlgebra.Tests.Properties | ||
150 | |||
151 | |||
152 | |||
153 | |||
144 | ghc-prof-options: -auto | 154 | ghc-prof-options: -auto |
145 | 155 | ||
146 | ghc-options: -Wall -fno-warn-missing-signatures | 156 | ghc-options: -Wall -fno-warn-missing-signatures |