[Git][haskell-team/DHG_packages][master] haskell-src-exts: Use `-O0`, `-optcggc-min-expand=10` and `-optc-O3` on powerpc
John Paul Adrian Glaubitz (@glaubitz)
gitlab at salsa.debian.org
Wed Apr 2 09:59:54 BST 2025
John Paul Adrian Glaubitz pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
b76f5341 by John Paul Adrian Glaubitz at 2025-04-02T10:57:16+02:00
haskell-src-exts: Use `-O0`, `-optcggc-min-expand=10` and `-optc-O3` on powerpc
- - - - -
2 changed files:
- p/haskell-src-exts/debian/changelog
- p/haskell-src-exts/debian/rules
Changes:
=====================================
p/haskell-src-exts/debian/changelog
=====================================
@@ -2,6 +2,7 @@ haskell-src-exts (1.23.1-6) UNRELEASED; urgency=medium
[ John Paul Adrian Glaubitz ]
* Use `-O0` and `-optcggc-min-expand=10` on alpha
+ * Use `-O0`, `-optcggc-min-expand=10` and `-optc-O3` on powerpc
-- John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de> Sun, 30 Mar 2025 15:29:04 +0200
=====================================
p/haskell-src-exts/debian/rules
=====================================
@@ -18,7 +18,7 @@ DEB_SETUP_GHC_CONFIGURE_ARGS = --ghc-options="+RTS -V0 -RTS"
# -- Dejan Latinovic <Dejan.Latinovic at imgtec.com>
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
-ifneq (,$(filter $(DEB_BUILD_ARCH),armhf alpha mips mipsel hppa m68k))
+ifneq (,$(filter $(DEB_BUILD_ARCH),armhf alpha mips mipsel hppa m68k powerpc))
DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-O0 -optc--param -optcggc-min-expand=10"
endif
@@ -26,5 +26,9 @@ ifneq (,$(filter $(DEB_BUILD_ARCH),mips64el))
DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc-mxgot"
endif
+ifneq (,$(filter $(DEB_BUILD_ARCH),powerpc))
+ DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc-O3"
+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/b76f534149bbb112543a644b55e240a82856a49f
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/b76f534149bbb112543a644b55e240a82856a49f
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/20250402/411ae7c3/attachment-0001.htm>
More information about the Pkg-haskell-commits
mailing list