diff options
| author | John MacFarlane <[email protected]> | 2022-11-07 11:36:29 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-11-07 11:36:29 -0800 |
| commit | bf941efb2899c4098d605d7119d306fd2b34602a (patch) | |
| tree | 99df13e72ae5524560048d6a329830032d50132b | |
| parent | be7d4bd0923b41bc0cf4d91220e95e371a37b9cb (diff) | |
Fix make_artifacts.sh.
| -rw-r--r-- | linux/make_artifacts.sh | 7 |
1 files changed, 4 insertions, 3 deletions
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 |
