diff options
-rw-r--r-- | INSTALL.md | 12 | ||||
-rw-r--r-- | packages/base/stack.yaml | 7 |
2 files changed, 19 insertions, 0 deletions
@@ -65,6 +65,18 @@ using this method. | |||
65 | 65 | ||
66 | > cabal install --flags=openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include | 66 | > cabal install --flags=openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include |
67 | 67 | ||
68 | ### Stack-based Windows build | ||
69 | |||
70 | 1) > cd packages\base | ||
71 | |||
72 | 1) > stack setup | ||
73 | |||
74 | 2) Download and unzip somewhere OpenBLAS http://www.openblas.net/ | ||
75 | |||
76 | 3) In a normal Windows cmd: | ||
77 | |||
78 | > stack install --flag hmatrix:openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include | ||
79 | |||
68 | ## Tests ############################################### | 80 | ## Tests ############################################### |
69 | 81 | ||
70 | After installation we can verify that the library works as expected: | 82 | After installation we can verify that the library works as expected: |
diff --git a/packages/base/stack.yaml b/packages/base/stack.yaml new file mode 100644 index 0000000..f4001c6 --- /dev/null +++ b/packages/base/stack.yaml | |||
@@ -0,0 +1,7 @@ | |||
1 | flags: | ||
2 | hmatrix: | ||
3 | openblas: false | ||
4 | packages: | ||
5 | - '.' | ||
6 | extra-deps: [] | ||
7 | resolver: lts-3.3 | ||