diff options
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -55,6 +55,32 @@ using this method. | |||
55 | 55 | ||
56 | [winpack]: https://github.com/downloads/AlbertoRuiz/hmatrix/gsl-lapack-windows.zip | 56 | [winpack]: https://github.com/downloads/AlbertoRuiz/hmatrix/gsl-lapack-windows.zip |
57 | 57 | ||
58 | ### Alternative Windows build | ||
59 | |||
60 | 1) | ||
61 | |||
62 | > cabal update | ||
63 | |||
64 | 2) Download and unzip somewhere OpenBLAS http://www.openblas.net/ | ||
65 | |||
66 | 3) In a normal Windows cmd: | ||
67 | |||
68 | > cabal install --flags=openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include | ||
69 | |||
70 | ### Stack-based Windows build | ||
71 | |||
72 | Similar should be build under other OSes, like Linux and OSX. | ||
73 | |||
74 | 1) | ||
75 | |||
76 | > stack setup | ||
77 | |||
78 | 2) Download and unzip somewhere OpenBLAS http://www.openblas.net/ | ||
79 | |||
80 | 3) Example in a normal Windows cmd for building hmatrix base lib: | ||
81 | |||
82 | > stack install hmatrix --flag hmatrix:openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include | ||
83 | |||
58 | ## Tests ############################################### | 84 | ## Tests ############################################### |
59 | 85 | ||
60 | After installation we can verify that the library works as expected: | 86 | After installation we can verify that the library works as expected: |