From ecb38d98f853d969864e586a445a1432445fdab2 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Wed, 12 May 2010 08:33:37 +0000 Subject: flag -fvector --- hmatrix.cabal | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hmatrix.cabal') diff --git a/hmatrix.cabal b/hmatrix.cabal index e684acc..cbf4a55 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal @@ -65,6 +65,10 @@ flag unsafe description: Compile the library with bound checking disabled. default: False +flag vector + description: Use Data.Vector.Storable type from "vector" package. + default: False + library Build-Depends: base >= 4 && < 5, @@ -110,6 +114,10 @@ library C-sources: lib/Numeric/LinearAlgebra/LAPACK/lapack-aux.c, lib/Numeric/GSL/gsl-aux.c + if flag(vector) + Build-Depends: vector + cpp-options: -DVECTOR + if flag(tests) Build-Depends: QuickCheck, HUnit exposed-modules: Numeric.LinearAlgebra.Tests -- cgit v1.2.3