This is an archive of the discontinued LLVM Phabricator instance.

Use maximum compression when packaging release tarballs.
ClosedPublic

Authored by dim on Mar 15 2020, 4:25 AM.

Details

Summary

Since a full run of test-release.sh takes many hours (at least on my
poor systems), we might as well spend some extra time compressing the
tarball, in return for a quite a bit of gains for uploading and
downloading it.

As an example, the 10.0.0-rc4 .tar.xz tarball shrinks from 465MiB to
306MiB, about 52% smaller.

Diff Detail

Event Timeline

dim created this revision.Mar 15 2020, 4:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 15 2020, 4:25 AM
hans accepted this revision.Mar 16 2020, 1:31 AM

This seems reasonable, but can we wait until after the release? I would prefer to not change these things right now.

Also, can you make the same change to llvm/utils/release/export.sh?

This revision is now accepted and ready to land.Mar 16 2020, 1:31 AM
dim added a comment.Mar 16 2020, 3:09 AM

This seems reasonable, but can we wait until after the release? I would prefer to not change these things right now.

Of course, there is no hurry. I just accumulated a few of these small changes during earlier release cycles, and kept forgetting about submitting them. So I'll commit this after the release is shipped.

Also, can you make the same change to llvm/utils/release/export.sh?

Sure.

This revision was automatically updated to reflect the committed changes.