projects
/
ghc-prim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version to 0.2.0.0
[ghc-prim.git]
/
ghc-prim.cabal
diff --git
a/ghc-prim.cabal
b/ghc-prim.cabal
index
85811ce
..
ea52c32
100644
(file)
--- a/
ghc-prim.cabal
+++ b/
ghc-prim.cabal
@@
-1,17
+1,29
@@
name: ghc-prim
name: ghc-prim
-version: 0.1
+version: 0.2.0.0
license: BSD3
license-file: LICENSE
maintainer: libraries@haskell.org
license: BSD3
license-file: LICENSE
maintainer: libraries@haskell.org
+bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29
synopsis: GHC primitives
description:
GHC primitives.
synopsis: GHC primitives
description:
GHC primitives.
-cabal-version: >=1.2
+cabal-version: >=1.6
build-type: Custom
build-type: Custom
+source-repository head
+ type: darcs
+ location: http://darcs.haskell.org/packages/ghc-prim/
+
+flag include-ghc-prim {
+ Description: Include GHC.Prim in exposed-modules
+ default: False
+}
+
Library {
Library {
+ build-depends: rts
exposed-modules:
GHC.Bool
exposed-modules:
GHC.Bool
+ GHC.Debug
GHC.Generics
GHC.Ordering
GHC.PrimopWrappers
GHC.Generics
GHC.Ordering
GHC.PrimopWrappers
@@
-20,9
+32,16
@@
Library {
GHC.Tuple
GHC.Types
GHC.Unit
GHC.Tuple
GHC.Types
GHC.Unit
+
+ if flag(include-ghc-prim) {
+ exposed-modules: GHC.Prim
+ }
+
c-sources:
c-sources:
+ cbits/debug.c
cbits/longlong.c
cbits/longlong.c
- extensions: CPP, MagicHash, ForeignFunctionInterface, UnliftedFFITypes
+ extensions: CPP, MagicHash, ForeignFunctionInterface, UnliftedFFITypes,
+ UnboxedTuples, EmptyDataDecls, NoImplicitPrelude
-- We need to set the package name to ghc-prim (without a version number)
-- as it's magic.
ghc-options: -package-name ghc-prim
-- We need to set the package name to ghc-prim (without a version number)
-- as it's magic.
ghc-options: -package-name ghc-prim