summaryrefslogtreecommitdiff
path: root/hmatrix.cabal
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2011-12-25 19:14:17 +0100
committerAlberto Ruiz <aruiz@um.es>2011-12-25 19:14:17 +0100
commit66b17bce538f573fc37090ac1428d7fee8c8b959 (patch)
treedd71ef6deb5dbfa0b4d201514ce81dae59d37188 /hmatrix.cabal
parentd0eb68801e7c8de0996f6799db5ea691588467fa (diff)
parentea4da824ebc0ad09431aa276d8d44e4908e542c0 (diff)
remove warnings in glpk and special (Bas van Dijk's method)
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r--hmatrix.cabal18
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
23Category: Math 23Category: Math
24tested-with: GHC ==7.4 24tested-with: GHC ==7.4
25 25
26cabal-version: >=1.6 26cabal-version: >=1.8
27 27
28build-type: Custom 28build-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