Skip to content

Commit

Permalink
Use deflate for intermediate
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Oct 20, 2023
1 parent 8366f3e commit 9725e5d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ci/build-tarballs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ fi
mktarball() {
dir=$1
if [ "$fmt" = "tar" ]; then
# this is a bit wonky, but the goal is to use `xz` with threaded compression
# to ideally get better performance with the `-T0` flag.
tar -cvf - -C tmp $dir | xz -9 -T0 > dist/$dir.tar.xz
tar -czvf dist/$dir.tar.gz -C tmp $dir
else
# Note that this runs on Windows, and it looks like GitHub Actions doesn't
# have a `zip` tool there, so we use something else
Expand Down

0 comments on commit 9725e5d

Please sign in to comment.