diff options
author | Alberto Ruiz <aruiz@um.es> | 2015-09-16 12:34:10 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2015-09-16 12:34:10 +0200 |
commit | c701ea7561fba629e376ec3f0dc71c120a738b1c (patch) | |
tree | 0ff0189b90b030072a0056e8b03c81c50e9a2e05 | |
parent | e309d26f7c59becc897e65c8512c329dbcc489fd (diff) | |
parent | 079a581c93a070d93c23da6c6b90df3507340ea0 (diff) |
Merge pull request #151 from gregnwosu/master
fix for arm compilation
-rw-r--r-- | packages/sparse/hmatrix-sparse.cabal | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/sparse/hmatrix-sparse.cabal b/packages/sparse/hmatrix-sparse.cabal index d048086..55eb424 100644 --- a/packages/sparse/hmatrix-sparse.cabal +++ b/packages/sparse/hmatrix-sparse.cabal | |||
@@ -29,7 +29,13 @@ library | |||
29 | 29 | ||
30 | c-sources: src/Numeric/LinearAlgebra/sparse.c | 30 | c-sources: src/Numeric/LinearAlgebra/sparse.c |
31 | 31 | ||
32 | cc-options: -O4 -msse2 -Wall | 32 | cc-options: -O4 -Wall |
33 | |||
34 | if arch(x86_64) | ||
35 | cc-options: -msse2 | ||
36 | |||
37 | if arch(i386) | ||
38 | cc-options: -msse2 | ||
33 | 39 | ||
34 | extra-libraries: mkl_intel mkl_sequential mkl_core | 40 | extra-libraries: mkl_intel mkl_sequential mkl_core |
35 | 41 | ||