summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2012-01-15 12:36:42 +0100
committerAlberto Ruiz <aruiz@um.es>2012-01-15 12:36:42 +0100
commit3ac7bc8155e472b2c85966bd1d521d0739e67562 (patch)
tree3c2e2453a0b326dca30362d1093fbbe5fcef0b74
parentb315b00d0d646c2786a86720865b55d1882b9ee9 (diff)
flags removed
-rw-r--r--hmatrix.cabal20
1 files changed, 4 insertions, 16 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal
index 8d1e541..de1d6f7 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -70,14 +70,6 @@ flag unsafe
70 description: Compile the library with bound checking disabled. 70 description: Compile the library with bound checking disabled.
71 default: False 71 default: False
72 72
73flag vector
74 description: Use Data.Vector.Storable type from "vector" package.
75 default: True
76
77flag binary
78 description: Define Binary instances
79 default: True
80
81flag finit 73flag finit
82 description: Force FPU initialization in foreing calls 74 description: Force FPU initialization in foreing calls
83 default: False 75 default: False
@@ -95,7 +87,9 @@ library
95 Build-Depends: base >= 4 && < 5, 87 Build-Depends: base >= 4 && < 5,
96 array, 88 array,
97 storable-complex, 89 storable-complex,
98 process 90 process,
91 vector >= 0.8,
92 binary
99 93
100 Extensions: ForeignFunctionInterface, 94 Extensions: ForeignFunctionInterface,
101 CPP 95 CPP
@@ -138,13 +132,7 @@ library
138 C-sources: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c, 132 C-sources: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c,
139 lib/Numeric/GSL/gsl-aux.c 133 lib/Numeric/GSL/gsl-aux.c
140 134
141 if flag(vector) 135 cpp-options: -DVECTOR -DBINARY
142 Build-Depends: vector >= 0.8
143 cpp-options: -DVECTOR
144
145 if flag(binary)
146 Build-Depends: binary
147 cpp-options: -DBINARY
148 136
149 -- ghc-prof-options: -auto 137 -- ghc-prof-options: -auto
150 138