diff options
| author | bors <bors@rust-lang.org> | 2020-12-31 00:23:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-12-31 00:23:13 +0000 |
| commit | f0073a59cffebcf4f31e2bfa690a18f4f1dfd608 (patch) | |
| tree | c4cb00158f45bda84f3baa0eece0df4c04086ac5 /src/bootstrap/test.rs | |
| parent | 9775ffef2a4c3a36cadb58b72ea60cefb92c86ae (diff) | |
| parent | 5526d902508178293b98b4d8b7b39802107dc395 (diff) | |
| download | rust-f0073a59cffebcf4f31e2bfa690a18f4f1dfd608.tar.gz rust-f0073a59cffebcf4f31e2bfa690a18f4f1dfd608.zip | |
Auto merge of #80435 - pietroalbini:compression-formats, r=Mark-Simulacrum
Only produce .xz tarballs on CI This PR adds a `./configure` option to choose which tarball compression formats to produce, and changes our CI configuration to only produce `.xz` tarballs. The release process will then recompress everything into `.gz` when producing a release. This will drastically reduce our storage costs for CI artifacts, as we'd stop storing the same data twice. **Stable, beta and nightly releases will not be affected by this at all.** Before landing this we'll need to increase the VM size of our release process, to recompress everything in a reasonable amount of time. r? `@Mark-Simulacrum`
Diffstat (limited to 'src/bootstrap/test.rs')
| -rw-r--r-- | src/bootstrap/test.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 859236804d3..1f209f328a2 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -1962,7 +1962,7 @@ impl Step for Distcheck { builder.ensure(dist::Src); let mut cmd = Command::new("tar"); - cmd.arg("-xzf") + cmd.arg("-xf") .arg(builder.ensure(dist::PlainSourceTarball)) .arg("--strip-components=1") .current_dir(&dir); @@ -1986,10 +1986,7 @@ impl Step for Distcheck { t!(fs::create_dir_all(&dir)); let mut cmd = Command::new("tar"); - cmd.arg("-xzf") - .arg(builder.ensure(dist::Src)) - .arg("--strip-components=1") - .current_dir(&dir); + cmd.arg("-xf").arg(builder.ensure(dist::Src)).arg("--strip-components=1").current_dir(&dir); builder.run(&mut cmd); let toml = dir.join("rust-src/lib/rustlib/src/rust/library/std/Cargo.toml"); |
