summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 157036e..014d614 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -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
601)
61
62 > cabal update
63
642) Download and unzip somewhere OpenBLAS http://www.openblas.net/
65
663) 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
72Similar should be build under other OSes, like Linux and OSX.
73
741)
75
76 > stack setup
77
782) Download and unzip somewhere OpenBLAS http://www.openblas.net/
79
803) 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
60After installation we can verify that the library works as expected: 86After installation we can verify that the library works as expected: