diff options
Diffstat (limited to 'packages')
-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 | ||