summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorVassil Keremidchiev <varosi@gmail.com>2015-09-15 00:10:38 +0300
committerVassil Keremidchiev <varosi@gmail.com>2015-09-15 00:10:38 +0300
commit7067687a236689035c83869f87edd50892b4e4f3 (patch)
tree048b14deb16e59c7fc4e4bd1c387ef5f55aad84e /INSTALL.md
parenta9d63a811c235120f261cdc58dcfd450162b79d8 (diff)
Formatting and using stack.yaml configuration from root folder.
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 7c978f9..014d614 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -57,25 +57,29 @@ using this method.
57 57
58### Alternative Windows build 58### Alternative Windows build
59 59
601) > cabal update 601)
61
62 > cabal update
61 63
622) Download and unzip somewhere OpenBLAS http://www.openblas.net/ 642) Download and unzip somewhere OpenBLAS http://www.openblas.net/
63 65
643) In a normal Windows cmd: 663) 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
701) > cd packages\base 72Similar should be build under other OSes, like Linux and OSX.
71 73
721) > stack setup 741)
75
76 > stack setup
73 77
742) Download and unzip somewhere OpenBLAS http://www.openblas.net/ 782) Download and unzip somewhere OpenBLAS http://www.openblas.net/
75 79
763) In a normal Windows cmd: 803) 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