Skip to content

Commit

Permalink
update build-depends and ghc-options to allow GHC-8
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcdonell committed Apr 5, 2016
1 parent 6eaa863 commit 5a1950f
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions repa/repa.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a1950f

Please sign in to comment.