From 98b21c5ddcbc9fbfddd5dbec646916f016b43e6d Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Thu, 21 Oct 2010 07:53:59 +0000 Subject: option -f-binary (for testing ghc7) --- hmatrix.cabal | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'hmatrix.cabal') diff --git a/hmatrix.cabal b/hmatrix.cabal index 0cd4c03..6d29d2e 100644 --- a/hmatrix.cabal +++ b/hmatrix.cabal @@ -78,13 +78,16 @@ flag vector description: Use Data.Vector.Storable type from "vector" package. default: False +flag binary + description: Define Binary instances + default: True + library Build-Depends: base >= 4 && < 5, array, storable-complex, - process, - binary + process Extensions: ForeignFunctionInterface, CPP @@ -131,6 +134,10 @@ library Build-Depends: vector >= 0.7 cpp-options: -DVECTOR + if flag(binary) + Build-Depends: binary + cpp-options: -DBINARY + if flag(tests) Build-Depends: QuickCheck, HUnit, random exposed-modules: Numeric.LinearAlgebra.Tests -- cgit v1.2.3