-
Notifications
You must be signed in to change notification settings - Fork 2
/
ghc-prim.cabal
49 lines (44 loc) · 1.22 KB
/
ghc-prim.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: ghc-prim
version: 0.3.1.0
-- GHC 7.6.1 released with 0.3.0.0
license: BSD3
license-file: LICENSE
maintainer: [email protected]
bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29
synopsis: GHC primitives
description:
GHC primitives.
cabal-version: >=1.6
build-type: Simple
source-repository head
type: git
location: http://darcs.haskell.org/packages/ghc-prim.git/
flag include-ghc-prim {
Description: Include GHC.Prim in exposed-modules
default: False
}
Library {
build-depends:
exposed-modules:
GHC.Classes
GHC.CString
GHC.Debug
GHC.Magic
GHC.PrimopWrappers
GHC.IntWord64
GHC.Tuple
GHC.Types
if flag(include-ghc-prim) {
exposed-modules: GHC.Prim
}
c-sources:
cbits/debug.c
cbits/longlong.c
cbits/popcnt.c
cbits/word2float.c
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
}