diff options
Diffstat (limited to 'packages/base/hmatrix.cabal')
-rw-r--r-- | packages/base/hmatrix.cabal | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/base/hmatrix.cabal b/packages/base/hmatrix.cabal index 3ca6659..bd14f91 100644 --- a/packages/base/hmatrix.cabal +++ b/packages/base/hmatrix.cabal | |||
@@ -48,6 +48,7 @@ library | |||
48 | Numeric.LinearAlgebra.Devel | 48 | Numeric.LinearAlgebra.Devel |
49 | Numeric.LinearAlgebra.Data | 49 | Numeric.LinearAlgebra.Data |
50 | Numeric.LinearAlgebra.Real | 50 | Numeric.LinearAlgebra.Real |
51 | Numeric.LinearAlgebra.Complex | ||
51 | 52 | ||
52 | 53 | ||
53 | other-modules: Data.Packed.Internal, | 54 | other-modules: Data.Packed.Internal, |
@@ -67,6 +68,7 @@ library | |||
67 | Numeric.LinearAlgebra.Random | 68 | Numeric.LinearAlgebra.Random |
68 | Numeric.Conversion | 69 | Numeric.Conversion |
69 | Numeric.Sparse | 70 | Numeric.Sparse |
71 | Numeric.LinearAlgebra.Static | ||
70 | 72 | ||
71 | C-sources: src/C/lapack-aux.c | 73 | C-sources: src/C/lapack-aux.c |
72 | src/C/vector-aux.c | 74 | src/C/vector-aux.c |
@@ -85,6 +87,27 @@ library | |||
85 | 87 | ||
86 | extra-libraries: blas lapack | 88 | extra-libraries: blas lapack |
87 | 89 | ||
90 | if os(OSX) | ||
91 | extra-lib-dirs: /opt/local/lib/ | ||
92 | include-dirs: /opt/local/include/ | ||
93 | extra-lib-dirs: /usr/local/lib/ | ||
94 | include-dirs: /usr/local/include/ | ||
95 | if arch(i386) | ||
96 | cc-options: -arch i386 | ||
97 | frameworks: Accelerate | ||
98 | |||
99 | if os(freebsd) | ||
100 | extra-lib-dirs: /usr/local/lib | ||
101 | include-dirs: /usr/local/include | ||
102 | extra-libraries: blas lapack | ||
103 | |||
104 | if os(windows) | ||
105 | extra-libraries: blas lapack | ||
106 | |||
107 | if os(linux) | ||
108 | if arch(x86_64) | ||
109 | cc-options: -fPIC | ||
110 | |||
88 | 111 | ||
89 | source-repository head | 112 | source-repository head |
90 | type: git | 113 | type: git |