git.iko.soy/typeable/pandoc
on master help sign in
Set default stack size to 16M.

This is needed for some large conversions, esp. if pandoc is compiled with 64-bit ghc.

commitb66406822125364b5fbb66007bd9401163336e7c authorJohn MacFarlane <fiddlosopher@gmail.com> dateWed 29 May 2013, 12:29 (13 years ago) parent0a6e9f0
1 file changed+2−2
pandoc.cabal+2−2
pandoc.cabal+2−2
@@ -348,14 +348,14 @@ Executable pandoc
348348 HTTP >= 4000.0.5 && < 4000.3,
349349 citeproc-hs >= 0.3.7 && < 0.4
350350 if impl(ghc >= 7.0.1)
351− Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
351+ Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
352352 else
353353 if impl(ghc >= 6.12)
354354 Ghc-Options: -Wall -fno-warn-unused-do-bind
355355 else
356356 Ghc-Options: -Wall
357357 if impl(ghc >= 7.0.1)
358− Ghc-Prof-Options: -auto-all -caf-all -rtsopts
358+ Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
359359 else
360360 Ghc-Prof-Options: -auto-all -caf-all
361361 if os(windows)