[commit: containers] master: Add dependency on ghc-prim for impl(ghc). (92d55cc)
Ian Lynagh
igloo at earth.li
Thu Feb 23 01:13:50 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/92d55cc509c9b44ce7d536a00ba4994aa1aeea9c
>---------------------------------------------------------------
commit 92d55cc509c9b44ce7d536a00ba4994aa1aeea9c
Author: Milan Straka <fox at ucw.cz>
Date: Wed Nov 16 19:20:32 2011 +0100
Add dependency on ghc-prim for impl(ghc).
Also perform some reformatting -- remove explicit brackets
and shuffle the content so that properties are grouped in one place.
>---------------------------------------------------------------
containers.cabal | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/containers.cabal b/containers.cabal
index 32d7695..36a2ff0 100644
--- a/containers.cabal
+++ b/containers.cabal
@@ -21,22 +21,30 @@ source-repository head
Library
build-depends: base >= 4.2 && < 5, array, deepseq >= 1.2 && < 1.3
+ if impl(ghc)
+ build-depends: ghc-prim
+
ghc-options: -O2
if impl(ghc>6.10)
- Ghc-Options: -fregs-graph
+ ghc-options: -fregs-graph
+
exposed-modules:
Data.IntMap
Data.IntSet
Data.Map
Data.Set
- include-dirs: include
- extensions: CPP
if !impl(nhc98)
exposed-modules:
Data.Graph
Data.Sequence
Data.Tree
- if impl(ghc)
- extensions: DeriveDataTypeable, StandaloneDeriving,
- MagicHash, Rank2Types
+ include-dirs: include
+
+ extensions: CPP
+ if impl(ghc)
+ extensions:
+ DeriveDataTypeable
+ StandaloneDeriving
+ MagicHash
+ Rank2Types
More information about the Cvs-libraries
mailing list