aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-03-16 13:16:19 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-03-16 13:16:29 -0700
commit94c917c13feed49c2d5ad278849456a488673347 (patch)
tree6503128bcd1d44e6d2663f90e90bbb5f6fa05084 /linux
parent2e6561fe911dde9f62f71beea6d1b79a7e69a13d (diff)
downloadpandoc-94c917c13feed49c2d5ad278849456a488673347.tar.gz
Use -j4 for linux release build.
Diffstat (limited to 'linux')
-rw-r--r--linux/make_artifacts.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh
index 043b3f9f2..cb7bf4c8c 100644
--- a/linux/make_artifacts.sh
+++ b/linux/make_artifacts.sh
@@ -26,9 +26,9 @@ ghc --version
cabal v2-update
cabal v2-clean
-cabal v2-configure --enable-tests -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-split-sections -optc-Os -optl=-pthread' pandoc
+cabal v2-configure --enable-tests -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-j4 +RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread' pandoc
cabal v2-build
-cabal v2-test -j1
+cabal v2-test -j4
for f in $(find dist-newstyle -name 'pandoc' -type f -perm /400); do cp $f /artifacts/; done
# make deb