[Git][haskell-team/DHG_packages][master] 2 commits: juicypixels: Compile with --ghc-options="-O0"

Ilias Tsitsimpis gitlab at salsa.debian.org
Wed Nov 7 12:30:24 GMT 2018


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


Commits:
24599335 by Ilias Tsitsimpis at 2018-11-07T09:54:15Z
juicypixels: Compile with --ghc-options="-O0"

- - - - -
e0e0ecbd by Ilias Tsitsimpis at 2018-11-07T10:04:16Z
gloss: Compile with --ghc-options="-O0"

- - - - -


4 changed files:

- p/haskell-gloss/debian/changelog
- p/haskell-gloss/debian/rules
- p/haskell-juicypixels/debian/changelog
- p/haskell-juicypixels/debian/rules


Changes:

=====================================
p/haskell-gloss/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-gloss (1.13.0.1-2) unstable; urgency=medium
+
+  * Compile with --ghc-options="-O0" on unregisterised 64-bit arches
+    to work-around a GHC bug.
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Wed, 07 Nov 2018 12:04:10 +0200
+
 haskell-gloss (1.13.0.1-1) unstable; urgency=medium
 
   * Bump debhelper compat level to 10


=====================================
p/haskell-gloss/debian/rules
=====================================
@@ -1,4 +1,11 @@
 #!/usr/bin/make -f
 
+# Work-around a bug in GHC where it fails to compile gloss
+# on 64-bit unregisterised arches.
+# https://ghc.haskell.org/trac/ghc/ticket/15853
+ifneq (,$(filter $(DEB_BUILD_ARCH),mips64el s390x alpha ia64 riscv64  sparc64))
+	DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-O0"
+endif
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk


=====================================
p/haskell-juicypixels/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-juicypixels (3.2.9.5-4) unstable; urgency=medium
+
+  * Compile with --ghc-options="-O0" on unregisterised 64-bit arches
+    to work-around a GHC bug.
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Wed, 07 Nov 2018 11:36:59 +0200
+
 haskell-juicypixels (3.2.9.5-3) unstable; urgency=medium
 
   * Remove build dependency on libghc-mtl-dev (provided by ghc-8.4.3)


=====================================
p/haskell-juicypixels/debian/rules
=====================================
@@ -2,5 +2,12 @@
 
 # DEB_ENABLE_TESTS = yes
 
+# Work-around a bug in GHC where it fails to compile juicypixels
+# on 64-bit unregisterised arches.
+# https://ghc.haskell.org/trac/ghc/ticket/15853
+ifneq (,$(filter $(DEB_BUILD_ARCH),mips64el s390x alpha ia64 riscv64  sparc64))
+	DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-O0"
+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/compare/dc908bc2e287284e83932c41b953051869ff3d0f...e0e0ecbdfd024dce647b197020ac888a20398ff4

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/compare/dc908bc2e287284e83932c41b953051869ff3d0f...e0e0ecbdfd024dce647b197020ac888a20398ff4
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/20181107/5e35b937/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list