diff options
author | Alberto Ruiz <aruiz@um.es> | 2011-01-21 16:11:58 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2011-01-21 16:11:58 +0000 |
commit | 3ae69b35b4a4d16d4c63c2c8ad04d15396d84a88 (patch) | |
tree | 9b97ee42d8de89c4163854f9743b017dd6801e05 /hmatrix.cabal | |
parent | b68e3d833ef335f256caa8a57ed66da3c8570338 (diff) |
finit in 7.0.1
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r-- | hmatrix.cabal | 8 |
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 | ||
86 | flag finit | ||
87 | description: Force FPU initialization in foreing calls | ||
88 | default: False | ||
89 | |||
86 | library | 90 | library |
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) |