[Git][haskell-team/DHG_packages][master] lambdahack: restore maximum stack size, use -O0 on armel/armhf

Clint Adams gitlab at salsa.debian.org
Sun Apr 29 15:04:07 BST 2018


Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
949cfb14 by Clint Adams at 2018-04-29T10:03:19-04:00
lambdahack: restore maximum stack size, use -O0 on armel/armhf

- - - - -


4 changed files:

- p/haskell-lambdahack/debian/changelog
- − p/haskell-lambdahack/debian/patches/series
- − p/haskell-lambdahack/debian/patches/smaller-stack
- p/haskell-lambdahack/debian/rules


Changes:

=====================================
p/haskell-lambdahack/debian/changelog
=====================================
--- a/p/haskell-lambdahack/debian/changelog
+++ b/p/haskell-lambdahack/debian/changelog
@@ -1,3 +1,10 @@
+haskell-lambdahack (0.7.1.0-6) unstable; urgency=medium
+
+  * Restore maximum stack size (for mips64el and s390x).
+  * Use -O0 on armel/armhf.
+
+ -- Clint Adams <clint at debian.org>  Sun, 29 Apr 2018 10:01:26 -0400
+
 haskell-lambdahack (0.7.1.0-5) unstable; urgency=medium
 
   * Reduce maximum stack size.


=====================================
p/haskell-lambdahack/debian/patches/series deleted
=====================================
--- a/p/haskell-lambdahack/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-smaller-stack


=====================================
p/haskell-lambdahack/debian/patches/smaller-stack deleted
=====================================
--- a/p/haskell-lambdahack/debian/patches/smaller-stack
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/LambdaHack.cabal
-+++ b/LambdaHack.cabal
-@@ -391,8 +391,7 @@
-   } else {
-     build-depends:    zlib >= 0.5.3.1
- -- The -A options makes it slightly faster, especially with short sessions:
--    ghc-options:      "-with-rtsopts=-A99m -K1000K"
---- TODO: get back to -K1K when I can use pretty-1.1.3.4 (TH depends on an old one), that is, when I can drop GHC 8.0.2 and older
-+    ghc-options:      "-with-rtsopts=-A99m -K1K"
-   }
- 
- test-suite test
-@@ -460,6 +459,5 @@
-     ghc-options:      "-with-rtsopts=-A99m"
-   } else {
-     build-depends:    zlib >= 0.5.3.1
--    ghc-options:      "-with-rtsopts=-A99m -K1000K"
---- TODO: get back to -K1K when I can use pretty-1.1.3.4 (TH depends on an old one), that is, when I can drop GHC 8.0.2 and older
-+    ghc-options:      "-with-rtsopts=-A99m -K1K"
-   }


=====================================
p/haskell-lambdahack/debian/rules
=====================================
--- a/p/haskell-lambdahack/debian/rules
+++ b/p/haskell-lambdahack/debian/rules
@@ -6,6 +6,10 @@ DEB_CABAL_PACKAGE = lambdahack
 DEB_DEFAULT_COMPILER = ghc
 DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=vty
 
+ifneq (,$(filter $(DEB_BUILD_ARCH),armel armhf))
+    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/commit/949cfb146a976499c63897eae8da25dc14e21825

---
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/949cfb146a976499c63897eae8da25dc14e21825
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/20180429/9e18462a/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list