summaryrefslogtreecommitdiff
path: root/hmatrix.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r--hmatrix.cabal38
1 files changed, 9 insertions, 29 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal
index b283bca..8235753 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -1,5 +1,5 @@
1Name: hmatrix 1Name: hmatrix
2Version: 0.5.1.1 2Version: 0.5.1.2
3License: GPL 3License: GPL
4License-file: LICENSE 4License-file: LICENSE
5Author: Alberto Ruiz 5Author: Alberto Ruiz
@@ -14,9 +14,11 @@ Category: Math
14tested-with: GHC ==6.10.2 14tested-with: GHC ==6.10.2
15 15
16cabal-version: >=1.2 16cabal-version: >=1.2
17build-type: Simple 17build-type: Custom
18extra-source-files: lib/Numeric/LinearAlgebra/Tests/quickCheckCompat.h 18extra-source-files: lib/Numeric/LinearAlgebra/Tests/quickCheckCompat.h
19 19
20extra-source-files: configure configure.hs README INSTALL
21extra-tmp-files: hmatrix.buildinfo
20 22
21flag splitBase 23flag splitBase
22 description: Choose the new smaller, split-up base package. 24 description: Choose the new smaller, split-up base package.
@@ -30,9 +32,8 @@ flag accelerate
30 default: False 32 default: False
31 33
32flag unsafe 34flag unsafe
33 description: Compile the library with bound checking disabled. 35 description: Compile the library with bound checking disabled.
34 default: False 36 default: False
35
36 37
37library 38library
38 if flag(splitBase) 39 if flag(splitBase)
@@ -117,30 +118,9 @@ library
117 extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core 118 extra-libraries: gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core
118 else 119 else
119 extra-libraries: gsl mkl_lapack mkl_intel mkl_sequential mkl_core 120 extra-libraries: gsl mkl_lapack mkl_intel mkl_sequential mkl_core
120 else 121
121 if flag(accelerate) 122 if flag(accelerate)
122 frameworks: Accelerate 123 frameworks: Accelerate
123 extra-libraries: gsl 124 extra-libraries: gsl
124 else
125
126 extra-libraries: gsl lapack
127
128 -- Include additional libraries if they are
129 -- required by your system to link -lgsl -llapack
130
131 -- (In ubuntu/debian cblas is included in blas,
132 -- which is automatically linked by lapack, so
133 -- nothing more is required.)
134
135 -- Examples:
136
137 -------- if blas/cblas are not automatically linked by lapack:
138 -- blas cblas
139
140 -------- Nonoptimized cblas included in gsl:
141 -- gslcblas
142 125
143 -------- Arch Linux with atlas-lapack: 126-- the extra-libraries required for gsl and lapack are automatically detected by configure(.hs)
144 -- f77blas cblas atlas gcc_s
145 -------- Arch Linux with normal blas and lapack:
146 -- blas gslcblas gfortran