summaryrefslogtreecommitdiff
path: root/hmatrix.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r--hmatrix.cabal8
1 files changed, 8 insertions, 0 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal
index 111b251..b13dd8c 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -83,6 +83,10 @@ flag binary
83 description: Define Binary instances 83 description: Define Binary instances
84 default: True 84 default: True
85 85
86flag finit
87 description: Force FPU initialization in foreing calls
88 default: False
89
86library 90library
87 91
88 Build-Depends: base >= 4 && < 5, 92 Build-Depends: base >= 4 && < 5,
@@ -160,8 +164,12 @@ library
160 if impl(ghc < 6.10.2) 164 if impl(ghc < 6.10.2)
161 cpp-options: -DFINIT 165 cpp-options: -DFINIT
162 166
167 if flag(finit)
168 cpp-options: -DFINIT
169
163 if impl(ghc == 7.0.1) 170 if impl(ghc == 7.0.1)
164 cpp-options: -DNONORMVTEST 171 cpp-options: -DNONORMVTEST
172 cpp-options: -DFINIT
165 173
166 if flag(mkl) 174 if flag(mkl)
167 if arch(x86_64) 175 if arch(x86_64)