From 5a1950fb74c6bc37d94572771927e0ad91883a43 Mon Sep 17 00:00:00 2001 From: "Trevor L. McDonell" Date: Tue, 5 Apr 2016 17:07:16 +1000 Subject: [PATCH] update build-depends and ghc-options to allow GHC-8 --- repa/repa.cabal | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/repa/repa.cabal b/repa/repa.cabal index e3b96c5c..97756001 100644 --- a/repa/repa.cabal +++ b/repa/repa.cabal @@ -20,19 +20,23 @@ Synopsis: High performance, regular, shape polymorphic parallel arrays. Library - Build-Depends: - base == 4.8.*, - template-haskell == 2.10.*, - vector == 0.11.*, - ghc-prim == 0.4.*, - bytestring == 0.10.*, - QuickCheck == 2.8.* + Build-Depends: + base >= 4.8 && < 4.10 + , template-haskell + , ghc-prim + , vector == 0.11.* + , bytestring == 0.10.* + , QuickCheck == 2.8.* ghc-options: -Wall -fno-warn-missing-signatures -Odph -funbox-strict-fields - -fcpr-off + + if impl(ghc >= 8.0) + ghc-options: -fno-cpr-anal + else + ghc-options: -fcpr-off extensions: NoMonomorphismRestriction