diff options
author | Joshua Moerman <lakseru@gmail.com> | 2016-09-12 16:42:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-12 16:42:42 +0200 |
commit | e299044554c51516ece780020d7d8b0b9c4bb87a (patch) | |
tree | abc617ea47925a0d666dd0d60045252f760c46ad /INSTALL.md | |
parent | 9aade51bd0bb6339cfa8aca014bd96f801d9b19e (diff) |
Fixes cabal/stack flags for windows build
`--extra-include-dir=...` was replaced by `--extra-include-dirs=...`
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -42,11 +42,11 @@ the dlls contributed by Gilberto Camara available in [gsl-lapack-windows.zip][wi | |||
42 | 42 | ||
43 | 3.a) In a msys shell: | 43 | 3.a) In a msys shell: |
44 | 44 | ||
45 | $ cabal install hmatrix-0.13.1.0 --extra-lib-dir=${GSL} --extra-include-dir=${GSL} | 45 | $ cabal install hmatrix-0.13.1.0 --extra-lib-dir=${GSL} --extra-include-dirs=${GSL} |
46 | 46 | ||
47 | 3.b) In a normal windows cmd: | 47 | 3.b) In a normal windows cmd: |
48 | 48 | ||
49 | > cabal install --extra-lib-dir=%GSL% --extra-include-dir=%GSL% | 49 | > cabal install --extra-lib-dir=%GSL% --extra-include-dirs=%GSL% |
50 | 50 | ||
51 | It may be necessary to put the dlls in the search path. | 51 | It may be necessary to put the dlls in the search path. |
52 | 52 | ||
@@ -65,7 +65,7 @@ using this method. | |||
65 | 65 | ||
66 | 3) In a normal Windows cmd: | 66 | 3) In a normal Windows cmd: |
67 | 67 | ||
68 | > 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-dirs=C:\...\OpenBLAS\include |
69 | 69 | ||
70 | ### Stack-based Windows build | 70 | ### Stack-based Windows build |
71 | 71 | ||
@@ -79,7 +79,7 @@ Similar should be build under other OSes, like Linux and OSX. | |||
79 | 79 | ||
80 | 3) Example in a normal Windows cmd for building hmatrix base lib: | 80 | 3) Example in a normal Windows cmd for building hmatrix base lib: |
81 | 81 | ||
82 | > stack install hmatrix --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-dirs=C:\...\OpenBLAS\include |
83 | 83 | ||
84 | ## Tests ############################################### | 84 | ## Tests ############################################### |
85 | 85 | ||