summaryrefslogtreecommitdiff
path: root/hmatrix.cabal
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2008-06-29 09:31:30 +0000
committerAlberto Ruiz <aruiz@um.es>2008-06-29 09:31:30 +0000
commit9c6b2af0066f7608301ad685ea5e60753fc3b6ff (patch)
tree7f28939b219b45b045eb12989d4719520abf6067 /hmatrix.cabal
parentdeb17122b5804d04b06cc830f5aa121e739eaf21 (diff)
foldVector benchmark
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r--hmatrix.cabal9
1 files changed, 8 insertions, 1 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal
index c2ee18a..75e2984 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -25,6 +25,10 @@ flag mkl
25 description: Link with Intel's MKL optimized libraries. 25 description: Link with Intel's MKL optimized libraries.
26 default: False 26 default: False
27 27
28flag gsl
29 description: Link with GSL unoptimized blas.
30 default: False
31
28flag unsafe 32flag unsafe
29 description: Compile the library with bound checking disabled. 33 description: Compile the library with bound checking disabled.
30 default: False 34 default: False
@@ -108,7 +112,10 @@ library
108 else 112 else
109 extra-libraries: gsl mkl_lapack mkl_intel mkl_sequential mkl_core 113 extra-libraries: gsl mkl_lapack mkl_intel mkl_sequential mkl_core
110 else 114 else
111 extra-libraries: gsl blas lapack 115 if flag(gsl)
116 extra-libraries: gsl gslcblas lapack
117 else
118 extra-libraries: gsl blas lapack
112 119
113 cc-options: -O4 120 cc-options: -O4
114 ghc-prof-options: -auto-all 121 ghc-prof-options: -auto-all