integer-gmp.cabal 2.17 KB
Newer Older
1
name:           integer-gmp
2
version:        0.5.1.0
3
-- GHC 7.6.1 released with 0.5.0.0
4 5
license:        BSD3
license-file:   LICENSE
6
category:       Numerical
7
maintainer:     libraries@haskell.org
8
bug-reports:    http://ghc.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29&keywords=integer-gmp
9 10
synopsis:       Integer library based on GMP
description:
11 12 13 14 15 16 17 18 19 20
    This package provides the low-level implementation of the standard
    'Integer' type based on the
    <http://gmplib.org/ GNU Multiple Precision Arithmetic Library (GMP)>.
    .
    This package provides access to the internal representation of
    'Integer' as well as primitive operations with no proper error
    handling, and should only be used directly with the utmost care.
    .
    For more details about the design of @integer-gmp@, see
    <https://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/Integer GHC Commentary: Libraries/Integer>.
21 22
build-type:     Configure
cabal-version:  >=1.10
23

24
extra-source-files:
25 26 27 28 29
    aclocal.m4
    cbits/alloc.c
    cbits/float.c
    cbits/gmp-wrappers.cmm
    cbits/longlong.c
30
    changelog.md
31 32 33 34 35 36 37
    config.guess
    config.sub
    configure
    configure.ac
    gmp/config.mk.in
    install-sh
    integer-gmp.buildinfo.in
Austin Seipp's avatar
Austin Seipp committed
38
    include/HsIntegerGmp.h.in
39 40 41 42 43

extra-tmp-files:
    autom4te.cache
    config.log
    config.status
44 45
    gmp/config.mk
    integer-gmp.buildinfo
Austin Seipp's avatar
Austin Seipp committed
46
    include/HsIntegerGmp.h
47

48
source-repository head
49
    type:     git
50 51
    location: http://git.haskell.org/ghc.git
    subdir:   libraries/integer-gmp
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72

Library
    default-language: Haskell2010
    other-extensions:
        BangPatterns
        CPP
        GHCForeignImportPrim
        MagicHash
        NoImplicitPrelude
        UnboxedTuples
        UnliftedFFITypes

    exposed-modules:
        GHC.Integer
        GHC.Integer.GMP.Internals
        GHC.Integer.GMP.Prim
        GHC.Integer.Logarithms
        GHC.Integer.Logarithms.Internals
    other-modules:
        GHC.Integer.Type

73
    c-sources: cbits/cbits.c
Austin Seipp's avatar
Austin Seipp committed
74
    include-dirs: include
75

76
    build-depends: ghc-prim == 0.4.*
77

78
    -- We need to set the package key to integer-gmp
79
    -- (without a version number) as it's magic.
80
    ghc-options: -Wall -this-package-key integer-gmp