[Git][haskell-team/DHG_packages][master] ghc: Cap number of parallel jobs to 2 for s390x

Ilias Tsitsimpis gitlab at salsa.debian.org
Sat Aug 31 16:18:01 BST 2019



Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
ed8e5411 by Ilias Tsitsimpis at 2019-08-31T15:06:46Z
ghc: Cap number of parallel jobs to 2 for s390x

Build fails with out-of-memory on Ubuntu's s390x builders. Setting
`ggc-min-expand=10` doesn't solve this. For now, reduce number of
parallel jobs.

- - - - -


2 changed files:

- p/ghc/debian/changelog
- p/ghc/debian/rules


Changes:

=====================================
p/ghc/debian/changelog
=====================================
@@ -8,11 +8,11 @@ ghc (8.6.5+dfsg1-4) unstable; urgency=medium
   * build with -mxgot on mips64el
 
   [ Ilias Tsitsimpis ]
-  * Remove cap on parallel builds, use `ggc-min-expand=10` instead
+  * Use `ggc-min-expand=10` on mips64el and s390x
   * Avoid virtual memory exhaustion on 32-bit unregisterised architectures
     (Closes: #933968)
 
- -- Ilias Tsitsimpis <iliastsi at debian.org>  Fri, 30 Aug 2019 12:53:32 +0300
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Sat, 31 Aug 2019 18:01:40 +0300
 
 ghc (8.6.5+dfsg1-3) unstable; urgency=medium
 


=====================================
p/ghc/debian/rules
=====================================
@@ -56,7 +56,14 @@ ifneq (,$(filter mips mipsel powerpc powerpcspe sparc64, $(DEB_HOST_ARCH)))
 endif
 
 %:
+ifneq (,$(filter s390x, $(DEB_HOST_ARCH)))
+	# Build fails with out-of-memory on Ubuntu's s390x builders.
+	# Setting `ggc-min-expand=10` doesn't solve this.
+	# For now, reduce number of parallel jobs.
+	dh $@ --max-parallel=2
+else
 	dh $@
+endif
 
 
 override_dh_autoreconf:



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/ed8e5411d94ec1c10169c8d4a9fc2e0118057fc0

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/ed8e5411d94ec1c10169c8d4a9fc2e0118057fc0
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20190831/2a480022/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list