[Git][ghc/ghc][wip/bump-containers] Bump containers submodule to v0.6.1.1

Ben Gamari gitlab at gitlab.haskell.org
Wed Jun 12 19:40:04 UTC 2019



Ben Gamari pushed to branch wip/bump-containers at Glasgow Haskell Compiler / GHC


Commits:
2e4e4af2 by Ben Gamari at 2019-06-12T19:39:48Z
Bump containers submodule to v0.6.1.1

- - - - -


4 changed files:

- boot
- ghc.mk
- hadrian/src/Packages.hs
- libraries/containers


Changes:

=====================================
boot
=====================================
@@ -16,6 +16,11 @@ parser.add_argument('--validate', action='store_true', help='Run in validate mod
 parser.add_argument('--hadrian', action='store_true', help='Do not assume the make base build system')
 args = parser.parse_args()
 
+# Libraries whose LICENSE file isn't in the submodule root
+LICENSE_PATH_EXCEPTIONS = {
+    'libraries/containers': 'libraries/containers/containers/LICENSE'
+}
+
 def print_err(s):
     print(dedent(s), file=sys.stderr)
 
@@ -78,7 +83,7 @@ def check_boot_packages():
             # but in an lndir tree we avoid making .git directories,
             # so it doesn't exist. We therefore require that every repo
             # has a LICENSE file instead.
-            license_path = os.path.join(dir_, 'LICENSE')
+            license_path = LICENSE_PATH_EXCEPTIONS.get(dir_, os.path.join(dir_, 'LICENSE'))
             if not os.path.isfile(license_path):
                 die("""\
                     Error: %s doesn't exist


=====================================
ghc.mk
=====================================
@@ -426,7 +426,7 @@ PACKAGES_STAGE1 += filepath
 PACKAGES_STAGE1 += array
 PACKAGES_STAGE1 += deepseq
 PACKAGES_STAGE1 += bytestring
-PACKAGES_STAGE1 += containers
+PACKAGES_STAGE1 += containers/containers
 
 ifeq "$(Windows_Target)" "YES"
 PACKAGES_STAGE1 += Win32


=====================================
hadrian/src/Packages.hs
=====================================
@@ -54,7 +54,7 @@ checkApiAnnotations = util "check-api-annotations"
 checkPpr            = util "check-ppr"
 compareSizes        = util "compareSizes"    `setPath` "utils/compare_sizes"
 compiler            = top  "ghc"             `setPath` "compiler"
-containers          = lib  "containers"
+containers          = lib  "containers"      `setPath` "libraries/containers/containers"
 deepseq             = lib  "deepseq"
 deriveConstants     = util "deriveConstants"
 directory           = lib  "directory"


=====================================
libraries/containers
=====================================
@@ -1 +1 @@
-Subproject commit 03dcb287c96613ceb1f64d5d5a82f7b94b879268
+Subproject commit ad3b27ba999b8cb3a00c8c4c6a7da81e3de54189



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/2e4e4af2cae2a733c62ad7058943d7b9e354f9a1

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/2e4e4af2cae2a733c62ad7058943d7b9e354f9a1
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190612/18fedae6/attachment-0001.html>


More information about the ghc-commits mailing list