GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compress the tarballs with both gzip (for backward compatibility) and
xz (to get better compression).
This is part of the preliminary work for rust-lang/rust#21724
Add generation of XZ-compressed tarballs
The compression can be performed using 7z or xz. AppVeyor provides 7z by default and I think it might be easier to install packages on Linux/Mac (i.e. the TravisCI environments) with apt install p7zip-full or brew install p7zip. Is this ok?
apt install p7zip-full
brew install p7zip
Fix testing by installing 7z
provided by the `p7zip-full` package.
Unless this PR gets merged shortly, it might make sense to integrate it in the Rust-based rust-installer rust-lang/rust#41569
Looks right to me. Thanks @ranma42. Next step is to update the submodule in rust-lang/rust, and update the CI configuration to make 7zip available everywhere.