diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-06-03 21:06:17 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-06-03 21:06:17 +0200 |
commit | 9a17969ad0ea9f940db6201a37b9aed19ad605df (patch) | |
tree | ccbf24f7fdcddc2d248b8deb0ca9b97a18fc94e4 /packages/gsl/hmatrix-gsl.cabal | |
parent | 2734dd1ddc6b31aba6377ef969a33967babca519 (diff) |
fix linspace, expose udot, complex static, wip
Diffstat (limited to 'packages/gsl/hmatrix-gsl.cabal')
-rw-r--r-- | packages/gsl/hmatrix-gsl.cabal | 43 |
1 files changed, 2 insertions, 41 deletions
diff --git a/packages/gsl/hmatrix-gsl.cabal b/packages/gsl/hmatrix-gsl.cabal index bfc25b1..2badc35 100644 --- a/packages/gsl/hmatrix-gsl.cabal +++ b/packages/gsl/hmatrix-gsl.cabal | |||
@@ -75,47 +75,10 @@ library | |||
75 | 75 | ||
76 | cc-options: -O4 -msse2 -Wall | 76 | cc-options: -O4 -msse2 -Wall |
77 | 77 | ||
78 | cpp-options: -DBINARY | ||
79 | |||
80 | -- ghc-prof-options: -auto | ||
81 | |||
82 | ghc-options: -Wall -fno-warn-missing-signatures | 78 | ghc-options: -Wall -fno-warn-missing-signatures |
83 | -fno-warn-orphans | 79 | -fno-warn-orphans |
84 | -fno-warn-unused-binds | 80 | -fno-warn-unused-binds |
85 | 81 | ||
86 | if flag(unsafe) | ||
87 | cpp-options: -DUNSAFE | ||
88 | |||
89 | if !flag(dd) | ||
90 | cpp-options: -DNOZGESDD | ||
91 | |||
92 | if impl(ghc < 6.10.2) | ||
93 | cpp-options: -DFINIT | ||
94 | |||
95 | if impl(ghc == 7.0.1) | ||
96 | cpp-options: -DFINIT | ||
97 | |||
98 | if impl(ghc == 7.0.2) | ||
99 | cpp-options: -DFINIT | ||
100 | |||
101 | if flag(finit) | ||
102 | cpp-options: -DFINIT | ||
103 | |||
104 | if flag(debugfpu) | ||
105 | cc-options: -DFPUDEBUG | ||
106 | |||
107 | if flag(debugnan) | ||
108 | cc-options: -DNANDEBUG | ||
109 | |||
110 | if impl(ghc == 7.0.1) | ||
111 | cpp-options: -DNONORMVTEST | ||
112 | |||
113 | if flag(mkl) | ||
114 | if arch(x86_64) | ||
115 | extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core | ||
116 | else | ||
117 | extra-libraries: gsl mkl_lapack mkl_intel mkl_sequential mkl_core | ||
118 | |||
119 | if os(OSX) | 82 | if os(OSX) |
120 | extra-lib-dirs: /opt/local/lib/ | 83 | extra-lib-dirs: /opt/local/lib/ |
121 | include-dirs: /opt/local/include/ | 84 | include-dirs: /opt/local/include/ |
@@ -129,10 +92,10 @@ library | |||
129 | if os(freebsd) | 92 | if os(freebsd) |
130 | extra-lib-dirs: /usr/local/lib | 93 | extra-lib-dirs: /usr/local/lib |
131 | include-dirs: /usr/local/include | 94 | include-dirs: /usr/local/include |
132 | extra-libraries: gsl blas lapack | 95 | extra-libraries: gsl |
133 | 96 | ||
134 | if os(windows) | 97 | if os(windows) |
135 | extra-libraries: gsl-0 blas lapack | 98 | extra-libraries: gsl-0 |
136 | 99 | ||
137 | if os(linux) | 100 | if os(linux) |
138 | if arch(x86_64) | 101 | if arch(x86_64) |
@@ -144,5 +107,3 @@ source-repository head | |||
144 | type: git | 107 | type: git |
145 | location: https://github.com/albertoruiz/hmatrix | 108 | location: https://github.com/albertoruiz/hmatrix |
146 | 109 | ||
147 | -- The tests are in package hmatrix-tests | ||
148 | |||