diff options
author | Alberto Ruiz <aruiz@um.es> | 2010-03-30 07:12:50 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2010-03-30 07:12:50 +0000 |
commit | 80f6ea4a8b1c5fb0bcd68f8d934364fd9c9b4780 (patch) | |
tree | 325d2bf75618cf56edc68170f3da99f423fdc53c /hmatrix.cabal | |
parent | bc5cb922434daef2e4e1dd910479d2c4af37b44c (diff) |
flag -f-dd
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r-- | hmatrix.cabal | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal index 5416c09..894bff0 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal | |||
@@ -51,6 +51,10 @@ flag tests | |||
51 | description: Build tests | 51 | description: Build tests |
52 | default: True | 52 | default: True |
53 | 53 | ||
54 | flag dd | ||
55 | description: svd = zgesdd | ||
56 | default: True | ||
57 | |||
54 | flag mkl | 58 | flag mkl |
55 | description: Link with Intel's MKL optimized libraries. | 59 | description: Link with Intel's MKL optimized libraries. |
56 | default: False | 60 | default: False |
@@ -119,6 +123,9 @@ library | |||
119 | if flag(unsafe) | 123 | if flag(unsafe) |
120 | cpp-options: -DUNSAFE | 124 | cpp-options: -DUNSAFE |
121 | 125 | ||
126 | if !flag(dd) | ||
127 | cpp-options: -DNOZGESDD | ||
128 | |||
122 | if impl(ghc < 6.10.2) | 129 | if impl(ghc < 6.10.2) |
123 | cpp-options: -DFINIT | 130 | cpp-options: -DFINIT |
124 | 131 | ||