aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-11-27 18:49:44 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-27 18:49:44 -0800
commit97387f8fac86a2ae7e248bd1a169a3bc94b35d2a (patch)
treee240d9be476bdb14e0280b54c8e7a3e4e28bbdf4
parent8a42ca41cf5fbb4d812a7774d10be1d07cbe0b39 (diff)
downloadpandoc-97387f8fac86a2ae7e248bd1a169a3bc94b35d2a.tar.gz
Increase GC allocation space for compilation in cabal.project.
-rw-r--r--Makefile2
-rw-r--r--cabal.project4
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