summaryrefslogtreecommitdiff
path: root/libraries/integer-gmp/integer-gmp.cabal
blob: 54c890fb65212ecc323e323115fa4d031fb2c154 (plain)
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
name:           integer-gmp
version:        0.2.0.2
license:        BSD3
license-file:   LICENSE
maintainer:     libraries@haskell.org
bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29
synopsis:       Integer library based on GMP
description:
    This package contains an Integer library based on GMP.
cabal-version:  >=1.6
build-type: Configure

extra-source-files:
  cbits/float.c
  cbits/alloc.c
  cbits/longlong.c

source-repository head
    type:     git
    location: http://darcs.haskell.org/packages/integer-gmp.git/

Library {
    build-depends: ghc-prim
    exposed-modules: GHC.Integer
                     GHC.Integer.GMP.Internals
    other-modules: GHC.Integer.Type
    extensions: CPP, MagicHash, UnboxedTuples, NoImplicitPrelude,
                ForeignFunctionInterface, UnliftedFFITypes
    c-sources: cbits/cbits.c
    -- We need to set the package name to integer-gmp
    -- (without a version number) as it's magic.
    ghc-options: -package-name integer-gmp
}