summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL.md12
-rw-r--r--packages/base/stack.yaml7
2 files changed, 19 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index f195de6..7c978f9 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -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
701) > cd packages\base
71
721) > stack setup
73
742) Download and unzip somewhere OpenBLAS http://www.openblas.net/
75
763) 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
70After installation we can verify that the library works as expected: 82After 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 @@
1flags:
2 hmatrix:
3 openblas: false
4packages:
5- '.'
6extra-deps: []
7resolver: lts-3.3