diff options
author | Cheng Shao <terrorjack@type.dance> | 2023-03-30 18:38:43 +0000 |
---|---|---|
committer | Cheng Shao <terrorjack@type.dance> | 2023-03-30 18:42:56 +0000 |
commit | ef1548c499d69a156d9f0772c859e0e5cdb0892b (patch) | |
tree | 1a19b8a39950e9c6e9089093fa65d6268483dc6e | |
parent | 6d6a37a8f7dd136b067edfe0d4860a77e15e4186 (diff) | |
download | haskell-ef1548c499d69a156d9f0772c859e0e5cdb0892b.tar.gz |
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.
-rwxr-xr-x | .gitlab/ci.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |