diff options
-rw-r--r-- | hmatrix.cabal-windows | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/hmatrix.cabal-windows b/hmatrix.cabal-windows new file mode 100644 index 0000000..4dfaede --- /dev/null +++ b/hmatrix.cabal-windows | |||
@@ -0,0 +1,154 @@ | |||
1 | Name: hmatrix | ||
2 | Version: 0.9.2.0 | ||
3 | License: GPL | ||
4 | License-file: LICENSE | ||
5 | Author: Alberto Ruiz | ||
6 | Maintainer: Alberto Ruiz <aruiz@um.es> | ||
7 | Stability: provisional | ||
8 | Homepage: http://code.haskell.org/hmatrix | ||
9 | Synopsis: Linear algebra and numerical computation | ||
10 | Description: Purely functional interface to basic linear algebra | ||
11 | and other numerical computations, internally implemented using | ||
12 | GSL, BLAS and LAPACK. | ||
13 | Category: Math | ||
14 | tested-with: GHC ==6.10.4, GHC ==6.12.1 | ||
15 | |||
16 | cabal-version: >=1.2 | ||
17 | |||
18 | build-type: Simple | ||
19 | |||
20 | extra-source-files: lib/Numeric/LinearAlgebra/Tests/quickCheckCompat.h | ||
21 | configure configure.hs THANKS INSTALL CHANGES | ||
22 | extra-tmp-files: hmatrix.buildinfo | ||
23 | |||
24 | extra-source-files: examples/tests.hs | ||
25 | examples/deriv.hs | ||
26 | examples/integrate.hs | ||
27 | examples/minimize.hs | ||
28 | examples/root.hs | ||
29 | examples/ode.hs | ||
30 | examples/pca1.hs | ||
31 | examples/pca2.hs | ||
32 | examples/pinv.hs | ||
33 | examples/data.txt | ||
34 | examples/lie.hs | ||
35 | examples/kalman.hs | ||
36 | examples/parallel.hs | ||
37 | examples/plot.hs | ||
38 | examples/inplace.hs | ||
39 | examples/error.hs | ||
40 | examples/devel/ej1/wrappers.hs | ||
41 | examples/devel/ej1/functions.c | ||
42 | examples/devel/ej2/wrappers.hs | ||
43 | examples/devel/ej2/functions.c | ||
44 | examples/Real.hs | ||
45 | examples/vector.hs | ||
46 | |||
47 | extra-source-files: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.h, | ||
48 | lib/Numeric/LinearAlgebra/LAPACK/clapack.h | ||
49 | |||
50 | flag tests | ||
51 | description: Build tests | ||
52 | default: True | ||
53 | |||
54 | flag dd | ||
55 | description: svd = zgesdd | ||
56 | default: True | ||
57 | |||
58 | flag mkl | ||
59 | description: Link with Intel's MKL optimized libraries. | ||
60 | default: False | ||
61 | |||
62 | flag unsafe | ||
63 | description: Compile the library with bound checking disabled. | ||
64 | default: False | ||
65 | |||
66 | library | ||
67 | |||
68 | Build-Depends: base >= 4 && < 5, | ||
69 | array, | ||
70 | storable-complex, | ||
71 | process | ||
72 | |||
73 | Extensions: ForeignFunctionInterface, | ||
74 | CPP | ||
75 | |||
76 | hs-source-dirs: lib | ||
77 | Exposed-modules: Data.Packed, | ||
78 | Data.Packed.Vector, | ||
79 | Data.Packed.Matrix, | ||
80 | Numeric.GSL.Differentiation, | ||
81 | Numeric.GSL.Integration, | ||
82 | Numeric.GSL.Fourier, | ||
83 | Numeric.GSL.Polynomials, | ||
84 | Numeric.GSL.Minimization, | ||
85 | Numeric.GSL.Root, | ||
86 | Numeric.GSL.Fitting, | ||
87 | Numeric.GSL.ODE, | ||
88 | Numeric.GSL.Vector, | ||
89 | Numeric.GSL, | ||
90 | Numeric.LinearAlgebra, | ||
91 | Numeric.LinearAlgebra.LAPACK, | ||
92 | Numeric.LinearAlgebra.Linear, | ||
93 | Numeric.LinearAlgebra.Instances, | ||
94 | Numeric.LinearAlgebra.Interface, | ||
95 | Numeric.LinearAlgebra.Algorithms, | ||
96 | Graphics.Plot, | ||
97 | -- Data.Packed.Convert, | ||
98 | Data.Packed.ST, | ||
99 | Data.Packed.Development, | ||
100 | Data.Packed.Random | ||
101 | other-modules: Data.Packed.Internal, | ||
102 | Data.Packed.Internal.Common, | ||
103 | Data.Packed.Internal.Signatures, | ||
104 | Data.Packed.Internal.Vector, | ||
105 | Data.Packed.Internal.Matrix, | ||
106 | Numeric.GSL.Internal | ||
107 | |||
108 | C-sources: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c, | ||
109 | lib/Numeric/GSL/gsl-aux.c | ||
110 | |||
111 | if flag(tests) | ||
112 | Build-Depends: QuickCheck, HUnit | ||
113 | exposed-modules: Numeric.LinearAlgebra.Tests | ||
114 | other-modules: Numeric.LinearAlgebra.Tests.Instances, | ||
115 | Numeric.LinearAlgebra.Tests.Properties | ||
116 | |||
117 | -- ghc-prof-options: -auto | ||
118 | |||
119 | ghc-options: -Wall -fno-warn-missing-signatures | ||
120 | -fno-warn-orphans | ||
121 | -fno-warn-unused-binds | ||
122 | |||
123 | if flag(unsafe) | ||
124 | cpp-options: -DUNSAFE | ||
125 | |||
126 | if !flag(dd) | ||
127 | cpp-options: -DNOZGESDD | ||
128 | |||
129 | if impl(ghc < 6.10.2) | ||
130 | cpp-options: -DFINIT | ||
131 | |||
132 | if flag(mkl) | ||
133 | if arch(x86_64) | ||
134 | extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core | ||
135 | else | ||
136 | extra-libraries: gsl mkl_lapack mkl_intel mkl_sequential mkl_core | ||
137 | |||
138 | if os(OSX) | ||
139 | extra-lib-dirs: /opt/local/lib/ | ||
140 | include-dirs: /opt/local/include | ||
141 | extra-libraries: gsl | ||
142 | frameworks: Accelerate | ||
143 | |||
144 | -- The extra-libraries required for GSL and LAPACK | ||
145 | -- should now be automatically detected by configure(.hs) | ||
146 | |||
147 | extra-libraries: gsl-0 blas lapack | ||
148 | extra-lib-dirs: c:\haskell\hmatrix-0.8.3.1\gsl-lapack-windows | ||
149 | extra-include-dirs: c:\haskell\hmatrix-0.8.3.1\gsl-lapack-windows | ||
150 | |||
151 | source-repository head | ||
152 | type: darcs | ||
153 | location: http://code.haskell.org/hmatrix | ||
154 | |||