diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-03-29 19:02:08 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-03-31 10:59:36 +0200 |
commit | 995e8c1c8692b60c907c7d2ccea179d52ca8e69e (patch) | |
tree | 1314ec36672d72b33a99b33e017316c0b8585625 /libraries/integer-gmp/integer-gmp.cabal | |
parent | 1f69f37f34c6f15fd900c2c1cce3ce896168dde9 (diff) | |
download | haskell-995e8c1c8692b60c907c7d2ccea179d52ca8e69e.tar.gz |
Drop old integer-gmp-0.5 from GHC source tree
This completes what c774b28f76ee4c220f7c1c9fd81585e0e3af0e8a (#9281)
started. `integer-gmp-1.0` was added as an additional
`libraries/integer-gmp2` folder while retaining the ability to configure
GHC w/ the old `integer-gmp-0.5` to have a way back, and or the ability
to easily switch between old/new `integer-gmp` for benchmark/debugging
purposes.
This commit removes the old `libraries/integer-gmp` folder and moves
`libraries/integer-gmp2` into its place, while removing any mentions of
"gmp2" as well as the to support two different `integer-gmp` packages in
GHC's source-tree.
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D769
Diffstat (limited to 'libraries/integer-gmp/integer-gmp.cabal')
-rw-r--r-- | libraries/integer-gmp/integer-gmp.cabal | 98 |
1 files changed, 42 insertions, 56 deletions
diff --git a/libraries/integer-gmp/integer-gmp.cabal b/libraries/integer-gmp/integer-gmp.cabal index 493da28e80..4833704481 100644 --- a/libraries/integer-gmp/integer-gmp.cabal +++ b/libraries/integer-gmp/integer-gmp.cabal @@ -1,41 +1,26 @@ -name: integer-gmp -version: 0.5.1.0 --- GHC 7.6.1 released with 0.5.0.0 -license: BSD3 -license-file: LICENSE -category: Numerical -maintainer: libraries@haskell.org -bug-reports: http://ghc.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29&keywords=integer-gmp -synopsis: Integer library based on GMP -description: - 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>. -build-type: Configure -cabal-version: >=1.10 +name: integer-gmp +version: 1.0.0.0 +synopsis: Integer library based on GMP +license: BSD3 +license-file: LICENSE +author: Herbert Valerio Riedel +maintainer: hvr@gnu.org +category: Numeric, Algebra +build-type: Configure +cabal-version: >=1.10 extra-source-files: aclocal.m4 - cbits/alloc.c - cbits/float.c - cbits/gmp-wrappers.cmm - cbits/longlong.c + cbits/wrappers.c changelog.md config.guess config.sub configure configure.ac gmp/config.mk.in + include/HsIntegerGmp.h.in install-sh integer-gmp.buildinfo.in - include/HsIntegerGmp.h.in extra-tmp-files: autom4te.cache @@ -45,36 +30,37 @@ extra-tmp-files: integer-gmp.buildinfo include/HsIntegerGmp.h -source-repository head - type: git - location: http://git.haskell.org/ghc.git - subdir: libraries/integer-gmp - -Library - default-language: Haskell2010 - other-extensions: - BangPatterns - CPP - GHCForeignImportPrim - MagicHash - NoImplicitPrelude - UnboxedTuples - UnliftedFFITypes +library + default-language: Haskell2010 + other-extensions: + BangPatterns + CApiFFI + CPP + DeriveDataTypeable + ExplicitForAll + GHCForeignImportPrim + MagicHash + NegativeLiterals + NoImplicitPrelude + RebindableSyntax + StandaloneDeriving + UnboxedTuples + UnliftedFFITypes + build-depends: ghc-prim + hs-source-dirs: src/ + ghc-options: -this-package-key integer-gmp -Wall + cc-options: -std=c99 -Wall - exposed-modules: - GHC.Integer - GHC.Integer.GMP.Internals - GHC.Integer.GMP.Prim - GHC.Integer.Logarithms - GHC.Integer.Logarithms.Internals - other-modules: - GHC.Integer.Type + include-dirs: include + c-sources: + cbits/wrappers.c - c-sources: cbits/cbits.c - include-dirs: include + exposed-modules: + GHC.Integer + GHC.Integer.Logarithms + GHC.Integer.Logarithms.Internals - build-depends: ghc-prim == 0.4.* + GHC.Integer.GMP.Internals - -- We need to set the package key to integer-gmp - -- (without a version number) as it's magic. - ghc-options: -Wall -this-package-key integer-gmp + other-modules: + GHC.Integer.Type |