From ef1548c499d69a156d9f0772c859e0e5cdb0892b Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Thu, 30 Mar 2023 18:38:43 +0000 Subject: ci: ensure that all non-i386 pipelines do parallel xz compression We can safely enable parallel xz compression for non-i386 pipelines. However, previously we didn't export XZ_OPT, so the xz process won't see it if XZ_OPT hasn't already been set in the current job. --- .gitlab/ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab') diff --git a/.gitlab/ci.sh b/.gitlab/ci.sh index 79fb8e5290..8e5a4236a5 100755 --- a/.gitlab/ci.sh +++ b/.gitlab/ci.sh @@ -514,7 +514,7 @@ function build_hadrian() { # hadrian calls tar/xz to produce bindist, there's no other build # work taking place. if [[ "${CI_JOB_NAME:-}" != *"i386"* ]]; then - XZ_OPT="${XZ_OPT:-} -T$cores" + export XZ_OPT="${XZ_OPT:-} -T$cores" fi if [[ -n "${REINSTALL_GHC:-}" ]]; then -- cgit v1.2.1