summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorCheng Shao <astrohavoc@gmail.com>2022-09-06 05:51:18 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-09-12 13:29:05 -0400
commita5f9c35f5831ef5108e87813a96eac62803852ab (patch)
treecd48f5ef7853ddfa5621532cbe83f33968086e61 /.gitlab
parentee471dfb8a4a4bb5131a5baa61d1d0d22c933d5f (diff)
downloadhaskell-a5f9c35f5831ef5108e87813a96eac62803852ab.tar.gz
ci: enable parallel compression for xz
Diffstat (limited to '.gitlab')
-rwxr-xr-x.gitlab/ci.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh
index 2faddb8639..5c8abd135a 100755
--- a/.gitlab/ci.sh
+++ b/.gitlab/ci.sh
@@ -503,7 +503,7 @@ function build_hadrian() {
if [[ -n "${REINSTALL_GHC:-}" ]]; then
run_hadrian build-cabal -V
else
- run_hadrian binary-dist -V
+ XZ_OPT="${XZ_OPT:-} -T$cores" run_hadrian binary-dist -V
mv _build/bindist/ghc*.tar.xz "$BIN_DIST_NAME.tar.xz"
fi