[commit: ghc] master: Add 'stm' package to the global package database (02ff705)

git at git.haskell.org git at git.haskell.org
Wed Sep 20 13:32:45 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/02ff70563e490d2a7f3141eab7229803c523da57/ghc

>---------------------------------------------------------------

commit 02ff70563e490d2a7f3141eab7229803c523da57
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Sep 20 15:16:24 2017 +0200

    Add 'stm' package to the global package database
    
    This is a preparation for `haskeline` picking up a dependency on `stm`
    real soon now. See https://github.com/judah/haskeline/pull/61 for details.
    
    If we figure out a way to not bundle the libraries depended upon by the
    GHCi executable in the global package database (see #8919 for the original
    reason why we had to start bundling terminfo/haskeline in the first place)
    we can get rid of `stm` again...
    
    On the bright side, we were able to avoid uploading new `stm` releases for
    over two years already, so it shouldn't cause too much trouble if GHC imposes
    a strong preference on the `stm` package's version (this most likely will
    mostly affect Linux distributions & similiar).
    
    While at it, this also update the stm submodule to include relaxed
    bounds to allow the upcoming base-4.11 version.


>---------------------------------------------------------------

02ff70563e490d2a7f3141eab7229803c523da57
 ghc.mk        | 1 +
 libraries/stm | 2 +-
 packages      | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ghc.mk b/ghc.mk
index 1e37209..c9437fb 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -470,6 +470,7 @@ else
 libraries/haskeline_CONFIGURE_OPTS += --flags=-terminfo
 endif
 
+PACKAGES_STAGE1 += stm
 PACKAGES_STAGE1 += haskeline
 PACKAGES_STAGE1 += ghci
 
diff --git a/libraries/stm b/libraries/stm
index b6e863e..d65fd4d 160000
--- a/libraries/stm
+++ b/libraries/stm
@@ -1 +1 @@
-Subproject commit b6e863e517bdcc3c5de1fbcb776a3fd7e6fe2103
+Subproject commit d65fd4de49635a1e53405fe6699b46363a9d134e
diff --git a/packages b/packages
index 9af1b64..c72f6f4 100644
--- a/packages
+++ b/packages
@@ -65,7 +65,7 @@ libraries/Win32              -           -                               https:/
 libraries/xhtml              -           -                               https://github.com/haskell/xhtml.git
 nofib                        nofib       -                               -
 libraries/parallel           extra       -                               ssh://git@github.com/haskell/parallel.git
-libraries/stm                extra       -                               -
+libraries/stm                -           -                               ssh://git@github.com/haskell/stm.git
 libraries/random             extra       -                               https://github.com/haskell/random.git
 libraries/primitive          dph         -                               https://github.com/haskell/primitive.git
 libraries/vector             dph         -                               https://github.com/haskell/vector.git



More information about the ghc-commits mailing list