[Git][haskell-team/DHG_packages][master] haskell-ghc-lib-parser: reduce memory requirements for arm* platforms (Closes: #967074)

Gianfranco Costamagna (@locutusofborg) gitlab at salsa.debian.org
Tue Jun 14 09:43:42 BST 2022



Gianfranco Costamagna pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
6ca06a4e by Gianfranco Costamagna at 2022-06-14T10:41:49+02:00
haskell-ghc-lib-parser: reduce memory requirements for arm* platforms (Closes: #967074)

- - - - -


2 changed files:

- p/haskell-ghc-lib-parser/debian/changelog
- p/haskell-ghc-lib-parser/debian/rules


Changes:

=====================================
p/haskell-ghc-lib-parser/debian/changelog
=====================================
@@ -1,3 +1,13 @@
+haskell-ghc-lib-parser (8.10.2.20200808-2) unstable; urgency=medium
+
+  [ Graham Inggs ]
+  * Reduce memory requirement for arm64 and armhf builds
+
+  [ Gianfranco Costamagna ]
+  * Also reduce memory requirement for armel. (Closes: #967074) 
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Tue, 14 Jun 2022 10:40:41 +0200
+
 haskell-ghc-lib-parser (8.10.2.20200808-1) unstable; urgency=medium
 
   * New upstream release


=====================================
p/haskell-ghc-lib-parser/debian/rules
=====================================
@@ -4,5 +4,10 @@ DEB_SETUP_BIN_NAME = debian/hlibrary.setup
 DEB_CABAL_PACKAGE = ghc-lib-parser
 DEB_DEFAULT_COMPILER = ghc
 
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+ifneq (,$(filter $(DEB_BUILD_ARCH),arm64 armhf armel))
+       DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-O0 -optc--param -optcggc-min-expand=10"
+endif
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk



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

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/6ca06a4e4767f4574f98b5e1d53bccbbad4ca6c6
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/20220614/2633a27e/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list