summaryrefslogtreecommitdiff
path: root/libraries/ghc-prim/ghc-prim.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ghc-prim/ghc-prim.cabal')
-rw-r--r--libraries/ghc-prim/ghc-prim.cabal18
1 files changed, 8 insertions, 10 deletions
diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal
index 00a029efed..a95f1ecaa8 100644
--- a/libraries/ghc-prim/ghc-prim.cabal
+++ b/libraries/ghc-prim/ghc-prim.cabal
@@ -1,13 +1,13 @@
+cabal-version: 2.1
name: ghc-prim
-version: 0.5.1.0
+version: 0.5.3
-- NOTE: Don't forget to update ./changelog.md
-license: BSD3
+license: BSD-3-Clause
license-file: LICENSE
category: GHC
maintainer: libraries@haskell.org
bug-reports: http://ghc.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29&keywords=ghc-prim
synopsis: GHC primitives
-cabal-version: >=1.10
build-type: Custom
description:
This package contains the primitive types and operations supplied by GHC.
@@ -19,10 +19,6 @@ source-repository head
location: http://git.haskell.org/ghc.git
subdir: libraries/ghc-prim
-flag include-ghc-prim
- Description: Include GHC.Prim in exposed-modules
- default: False
-
custom-setup
setup-depends: base >= 4 && < 5, Cabal >= 1.23
@@ -53,6 +49,9 @@ Library
GHC.Tuple
GHC.Types
+ virtual-modules:
+ GHC.Prim
+
-- OS Specific
if os(windows)
-- Windows requires some extra libraries for linking because the RTS
@@ -67,9 +66,6 @@ Library
-- on Windows. Required because of mingw32.
extra-libraries: user32, mingw32, mingwex
- if flag(include-ghc-prim)
- exposed-modules: GHC.Prim
-
c-sources:
cbits/atomic.c
cbits/bswap.c
@@ -77,6 +73,8 @@ Library
cbits/ctz.c
cbits/debug.c
cbits/longlong.c
+ cbits/pdep.c
+ cbits/pext.c
cbits/popcnt.c
cbits/word2float.c