summaryrefslogtreecommitdiff
path: root/hmatrix.cabal
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2010-10-21 07:53:59 +0000
committerAlberto Ruiz <aruiz@um.es>2010-10-21 07:53:59 +0000
commit98b21c5ddcbc9fbfddd5dbec646916f016b43e6d (patch)
treebb7a8d27f833cb5dff93fb1489fc8a73a4b3201e /hmatrix.cabal
parentbed52f7c21afe7da9bc0a7fe52b748dbeda74610 (diff)
option -f-binary (for testing ghc7)
Diffstat (limited to 'hmatrix.cabal')
-rw-r--r--hmatrix.cabal11
1 files changed, 9 insertions, 2 deletions
diff --git a/hmatrix.cabal b/hmatrix.cabal
index 0cd4c03..6d29d2e 100644
--- a/hmatrix.cabal
+++ b/hmatrix.cabal
@@ -78,13 +78,16 @@ flag vector
78 description: Use Data.Vector.Storable type from "vector" package. 78 description: Use Data.Vector.Storable type from "vector" package.
79 default: False 79 default: False
80 80
81flag binary
82 description: Define Binary instances
83 default: True
84
81library 85library
82 86
83 Build-Depends: base >= 4 && < 5, 87 Build-Depends: base >= 4 && < 5,
84 array, 88 array,
85 storable-complex, 89 storable-complex,
86 process, 90 process
87 binary
88 91
89 Extensions: ForeignFunctionInterface, 92 Extensions: ForeignFunctionInterface,
90 CPP 93 CPP
@@ -131,6 +134,10 @@ library
131 Build-Depends: vector >= 0.7 134 Build-Depends: vector >= 0.7
132 cpp-options: -DVECTOR 135 cpp-options: -DVECTOR
133 136
137 if flag(binary)
138 Build-Depends: binary
139 cpp-options: -DBINARY
140
134 if flag(tests) 141 if flag(tests)
135 Build-Depends: QuickCheck, HUnit, random 142 Build-Depends: QuickCheck, HUnit, random
136 exposed-modules: Numeric.LinearAlgebra.Tests 143 exposed-modules: Numeric.LinearAlgebra.Tests