diff options
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 | ||