From bf941efb2899c4098d605d7119d306fd2b34602a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 7 Nov 2022 11:36:29 -0800 Subject: Fix make_artifacts.sh. --- linux/make_artifacts.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'linux/make_artifacts.sh') diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh index 8a80cd064..3b0507a8a 100644 --- a/linux/make_artifacts.sh +++ b/linux/make_artifacts.sh @@ -1,6 +1,7 @@ set -e -CABALOPTS="-f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-j4 +RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread' -j4" +CABALOPTS=-f-export-dynamic -fembed_data_files --enable-executable-static -j4 +GHCOPTS=-j4 +RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread MACHINE=$(uname -m) case "$MACHINE" in @@ -29,8 +30,8 @@ ghc --version cabal update cabal clean -cabal build $CABALOPTS all -cabal test $CABALOPTS all +cabal build $CABALOPTS --ghc-options="$GHCOPTS" all +cabal test $CABALOPTS --ghc-options="$GHCOPTS" all for f in $(find dist-newstyle -name 'pandoc' -type f -perm /400); do cp $f $ARTIFACTS/; done # Confirm that we have static builds -- cgit v1.2.3