Skip to content

Commit

Permalink
Formatting and using stack.yaml configuration from root folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
varosi committed Sep 14, 2015
1 parent a9d63a8 commit 7067687
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions INSTALL.md
Expand Up @@ -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 ###############################################

Expand Down

0 comments on commit 7067687

Please sign in to comment.