aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-03-18 14:59:50 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-03-18 14:59:50 -0700
commit87eb8dfda4914dd8738c9ae0d9b591e65d8bf7e2 (patch)
tree936fbaeedb8cf24a13ab0506ae0e536beecdefa5
parent4c51fa1d55c31784311159447454b64e77283242 (diff)
downloadpandoc-87eb8dfda4914dd8738c9ae0d9b591e65d8bf7e2.tar.gz
Revert the -j related changes in make_artifacts.sh.
This led to very slow build times.
-rw-r--r--linux/make_artifacts.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh
index b5625be1f..4395b3c6b 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 '+RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread' pandoc
-cabal v2-build -j
-cabal v2-test -j
+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 -j4
+cabal v2-test -j4
for f in $(find dist-newstyle -name 'pandoc' -type f -perm /400); do cp $f /artifacts/; done
# make deb