diff options
author | Vassil Keremidchiev <varosi@gmail.com> | 2015-09-15 00:10:38 +0300 |
---|---|---|
committer | Vassil Keremidchiev <varosi@gmail.com> | 2015-09-15 00:10:38 +0300 |
commit | 7067687a236689035c83869f87edd50892b4e4f3 (patch) | |
tree | 048b14deb16e59c7fc4e4bd1c387ef5f55aad84e | |
parent | a9d63a811c235120f261cdc58dcfd450162b79d8 (diff) |
Formatting and using stack.yaml configuration from root folder.
-rw-r--r-- | INSTALL.md | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -57,25 +57,29 @@ using this method. | |||
57 | 57 | ||
58 | ### Alternative Windows build | 58 | ### Alternative Windows build |
59 | 59 | ||
60 | 1) > cabal update | 60 | 1) |
61 | |||
62 | > cabal update | ||
61 | 63 | ||
62 | 2) Download and unzip somewhere OpenBLAS http://www.openblas.net/ | 64 | 2) Download and unzip somewhere OpenBLAS http://www.openblas.net/ |
63 | 65 | ||
64 | 3) In a normal Windows cmd: | 66 | 3) In a normal Windows cmd: |
65 | 67 | ||
66 | > cabal install --flags=openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include | 68 | > cabal install --flags=openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include |
67 | 69 | ||
68 | ### Stack-based Windows build | 70 | ### Stack-based Windows build |
69 | 71 | ||
70 | 1) > cd packages\base | 72 | Similar should be build under other OSes, like Linux and OSX. |
71 | 73 | ||
72 | 1) > stack setup | 74 | 1) |
75 | |||
76 | > stack setup | ||
73 | 77 | ||
74 | 2) Download and unzip somewhere OpenBLAS http://www.openblas.net/ | 78 | 2) Download and unzip somewhere OpenBLAS http://www.openblas.net/ |
75 | 79 | ||
76 | 3) In a normal Windows cmd: | 80 | 3) Example in a normal Windows cmd for building hmatrix base lib: |
77 | 81 | ||
78 | > stack install --flag hmatrix:openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include | 82 | > stack install hmatrix --flag hmatrix:openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include |
79 | 83 | ||
80 | ## Tests ############################################### | 84 | ## Tests ############################################### |
81 | 85 | ||