Commit 949cfb14 authored by Clint Adams's avatar Clint Adams
Browse files

lambdahack: restore maximum stack size, use -O0 on armel/armhf

parent 6c6fe316
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
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@debian.org>  Sun, 29 Apr 2018 10:01:26 -0400

haskell-lambdahack (0.7.1.0-5) unstable; urgency=medium

  * Reduce maximum stack size.
+0 −1
Original line number Diff line number Diff line
smaller-stack
+0 −20
Original line number Diff line number Diff line
--- 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"
   }
+4 −0
Original line number Diff line number Diff line
@@ -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