diff options
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r-- | hmatrix.cabal | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal index 79ac491..906e4cf 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal | |||
@@ -23,7 +23,7 @@ Description: Purely functional interface to basic linear algebra | |||
23 | Category: Math | 23 | Category: Math |
24 | tested-with: GHC ==7.4 | 24 | tested-with: GHC ==7.4 |
25 | 25 | ||
26 | cabal-version: >=1.6 | 26 | cabal-version: >=1.8 |
27 | 27 | ||
28 | build-type: Custom | 28 | build-type: Custom |
29 | 29 | ||
@@ -148,16 +148,9 @@ library | |||
148 | 148 | ||
149 | -- ghc-prof-options: -auto | 149 | -- ghc-prof-options: -auto |
150 | 150 | ||
151 | 151 | ghc-options: -Wall -fno-warn-missing-signatures | |
152 | if impl(ghc < 7.4) | 152 | -fno-warn-orphans |
153 | ghc-options: -Wall -fno-warn-missing-signatures | 153 | -fno-warn-unused-binds |
154 | -fno-warn-orphans | ||
155 | -fno-warn-unused-binds | ||
156 | -fno-warn-dodgy-imports | ||
157 | else | ||
158 | ghc-options: -Wall -fno-warn-missing-signatures | ||
159 | -fno-warn-orphans | ||
160 | -fno-warn-unused-binds | ||
161 | 154 | ||
162 | if flag(unsafe) | 155 | if flag(unsafe) |
163 | cpp-options: -DUNSAFE | 156 | cpp-options: -DUNSAFE |
@@ -186,9 +179,6 @@ library | |||
186 | if impl(ghc == 7.0.1) | 179 | if impl(ghc == 7.0.1) |
187 | cpp-options: -DNONORMVTEST | 180 | cpp-options: -DNONORMVTEST |
188 | 181 | ||
189 | if impl(ghc < 7.4) | ||
190 | cpp-options: -DNOPOLYKINDS -DABSTRACTCINT | ||
191 | |||
192 | if flag(mkl) | 182 | if flag(mkl) |
193 | if arch(x86_64) | 183 | if arch(x86_64) |
194 | extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core | 184 | extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core |