Commit 5f332e1d authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺

Forward-port changes from GHC 8.2 branch

(cherry picked from commit 3fa061a6)
parent 1ecbe9cc
......@@ -9,11 +9,11 @@ maintainer: libraries@haskell.org
bug-reports: http://ghc.haskell.org/trac/ghc/newticket?component=libraries/base
synopsis: Basic libraries
category: Prelude
build-type: Configure
description:
This package contains the "Prelude" and its support libraries,
This package contains the Standard Haskell "Prelude" and its support libraries,
and a large collection of useful libraries ranging from data
structures to parsing combinators and debugging utilities.
build-type: Configure
extra-tmp-files:
autom4te.cache
......@@ -94,17 +94,17 @@ Library
UnliftedFFITypes
Unsafe
build-depends: rts == 1.0.*, ghc-prim == 0.5.*
build-depends: rts == 1.0, ghc-prim ^>= 0.5.1.0
-- sanity-check to ensure exactly one flag is set
if !((flag(integer-gmp) && !flag(integer-simple)) || (!flag(integer-gmp) && flag(integer-simple)))
build-depends: invalid-cabal-flag-settings<0
if flag(integer-simple)
build-depends: integer-simple >= 0.1.1 && < 0.2
build-depends: integer-simple ^>= 0.1.1
if flag(integer-gmp)
build-depends: integer-gmp >= 1.0 && < 1.1
build-depends: integer-gmp ^>= 1.0.1
cpp-options: -DOPTIMISE_INTEGER_GCD_LCM
exposed-modules:
......
......@@ -73,6 +73,14 @@
* `getExecutablePath` now resolves symlinks on Windows (#14483)
## 4.10.1.0 *November 2017*
* Bundled with GHC 8.2.2
* The file locking primitives provided by `GHC.IO.Handle` now use
Linux open file descriptor locking if available.
* Fixed bottoming definition of `clearBit` for `Natural`
## 4.10.0.0 *July 2017*
* Bundled with GHC 8.2.1
......
## 8.2.2 Nov 2017
* Bundled with GHC 8.2.2
## 8.0.1 *Feb 2016*
* Bundled with GHC 8.0.1
......
cabal-version: 2.0
name: integer-gmp
version: 1.0.1.0
synopsis: Integer library based on GMP
license: BSD3
license-file: LICENSE
......@@ -7,7 +9,14 @@ author: Herbert Valerio Riedel
maintainer: hvr@gnu.org
category: Numeric, Algebra
build-type: Configure
cabal-version: >=1.10
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.
extra-source-files:
aclocal.m4
......@@ -46,7 +55,7 @@ library
StandaloneDeriving
UnboxedTuples
UnliftedFFITypes
build-depends: ghc-prim
build-depends: ghc-prim ^>= 0.5.1.0
hs-source-dirs: src/
ghc-options: -this-unit-id integer-gmp -Wall
cc-options: -std=c99 -Wall
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment