From 97387f8fac86a2ae7e248bd1a169a3bc94b35d2a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 27 Nov 2019 18:49:44 -0800 Subject: [PATCH] Increase GC allocation space for compilation in cabal.project. --- Makefile | 2 +- cabal.project | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bbb4c494b..2214436c5 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ GHCOPTS=-fdiagnostics-color=always WEBSITE=../../web/pandoc.org quick: - stack install --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4 --hide-successes $(TESTARGS)' + stack install --ghc-options='$(GHCOPTS)' --install-ghc --flag 'pandoc:embed_data_files' --fast --test --ghc-options='-j +RTS -A64m -RTS' --test-arguments='-j4 --hide-successes $(TESTARGS)' quick-cabal: cabal new-configure . --ghc-options '$(GHCOPTS)' --disable-optimization --enable-tests diff --git a/cabal.project b/cabal.project index 7248521ff..35c11c90c 100644 --- a/cabal.project +++ b/cabal.project @@ -2,11 +2,11 @@ packages: pandoc.cabal package pandoc flags: +embed_data_files -trypandoc - ghc-options: -j +RTS -A32M -RTS + ghc-options: -j +RTS -A64m -RTS package pandoc-citeproc flags: +embed_data_files +bibutils -unicode_collation -test_citeproc -debug - ghc-options: -j +RTS -A32M -RTS + ghc-options: -j +RTS -A64m -RTS source-repository-package type: git