diff options
author | Alberto Ruiz <aruiz@um.es> | 2011-12-23 14:21:36 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2011-12-23 14:21:36 +0100 |
commit | d0eb68801e7c8de0996f6799db5ea691588467fa (patch) | |
tree | e72251dc5013e316b89402685626be44a5f253e8 /hmatrix.cabal | |
parent | 863fd69b44d6e65544973871043d89d1d6c50a9e (diff) |
ok also with ghc-7.0
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r-- | hmatrix.cabal | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal index 387e4e6..79ac491 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal | |||
@@ -148,9 +148,16 @@ library | |||
148 | 148 | ||
149 | -- ghc-prof-options: -auto | 149 | -- ghc-prof-options: -auto |
150 | 150 | ||
151 | ghc-options: -Wall -fno-warn-missing-signatures | 151 | |
152 | -fno-warn-orphans | 152 | if impl(ghc < 7.4) |
153 | -fno-warn-unused-binds | 153 | ghc-options: -Wall -fno-warn-missing-signatures |
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 | ||
154 | 161 | ||
155 | if flag(unsafe) | 162 | if flag(unsafe) |
156 | cpp-options: -DUNSAFE | 163 | cpp-options: -DUNSAFE |
@@ -179,6 +186,9 @@ library | |||
179 | if impl(ghc == 7.0.1) | 186 | if impl(ghc == 7.0.1) |
180 | cpp-options: -DNONORMVTEST | 187 | cpp-options: -DNONORMVTEST |
181 | 188 | ||
189 | if impl(ghc < 7.4) | ||
190 | cpp-options: -DNOPOLYKINDS -DABSTRACTCINT | ||
191 | |||
182 | if flag(mkl) | 192 | if flag(mkl) |
183 | if arch(x86_64) | 193 | if arch(x86_64) |
184 | extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core | 194 | extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core |