From 7067687a236689035c83869f87edd50892b4e4f3 Mon Sep 17 00:00:00 2001 From: Vassil Keremidchiev Date: Tue, 15 Sep 2015 00:10:38 +0300 Subject: Formatting and using stack.yaml configuration from root folder. --- INSTALL.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'INSTALL.md') 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. ### Alternative Windows build -1) > cabal update +1) + + > cabal update 2) Download and unzip somewhere OpenBLAS http://www.openblas.net/ 3) In a normal Windows cmd: - > cabal install --flags=openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include + > cabal install --flags=openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include ### Stack-based Windows build -1) > cd packages\base +Similar should be build under other OSes, like Linux and OSX. -1) > stack setup +1) + + > stack setup 2) Download and unzip somewhere OpenBLAS http://www.openblas.net/ -3) In a normal Windows cmd: +3) Example in a normal Windows cmd for building hmatrix base lib: - > stack install --flag hmatrix:openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include + > stack install hmatrix --flag hmatrix:openblas --extra-lib-dirs=C:\...\OpenBLAS\lib --extra-include-dir=C:\...\OpenBLAS\include ## Tests ############################################### -- cgit v1.2.3