From 3ae69b35b4a4d16d4c63c2c8ad04d15396d84a88 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Fri, 21 Jan 2011 16:11:58 +0000 Subject: finit in 7.0.1 --- hmatrix.cabal | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hmatrix.cabal b/hmatrix.cabal index 111b251..b13dd8c 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal @@ -83,6 +83,10 @@ flag binary description: Define Binary instances default: True +flag finit + description: Force FPU initialization in foreing calls + default: False + library Build-Depends: base >= 4 && < 5, @@ -160,8 +164,12 @@ library if impl(ghc < 6.10.2) cpp-options: -DFINIT + if flag(finit) + cpp-options: -DFINIT + if impl(ghc == 7.0.1) cpp-options: -DNONORMVTEST + cpp-options: -DFINIT if flag(mkl) if arch(x86_64) -- cgit v1.2.3