diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2020-12-14 15:53:07 +0100 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2020-12-29 11:56:25 +0100 |
| commit | 0a2034dca46f72d24d94c04b47c48d30149693bd (patch) | |
| tree | d9479aa6360014dd005c5b898496db143b25feaf /src/bootstrap/configure.py | |
| parent | c482ffd1a3300989cca6b741e32b75f7c3059104 (diff) | |
| download | rust-0a2034dca46f72d24d94c04b47c48d30149693bd.tar.gz rust-0a2034dca46f72d24d94c04b47c48d30149693bd.zip | |
bootstrap: add the dist.compression-formats option
The option allows to add or remove compression formats used while producing dist tarballs.
Diffstat (limited to 'src/bootstrap/configure.py')
| -rwxr-xr-x | src/bootstrap/configure.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py index 42f00ce9621..2cabaee68ea 100755 --- a/src/bootstrap/configure.py +++ b/src/bootstrap/configure.py @@ -147,6 +147,8 @@ v("experimental-targets", "llvm.experimental-targets", "experimental LLVM targets to build") v("release-channel", "rust.channel", "the name of the release channel to build") v("release-description", "rust.description", "optional descriptive string for version output") +v("dist-compression-formats", None, + "comma-separated list of compression formats to use") # Used on systems where "cc" is unavailable v("default-linker", "rust.default-linker", "the default linker") @@ -349,6 +351,8 @@ for key in known_args: elif option.name == 'option-checking': # this was handled above pass + elif option.name == 'dist-compression-formats': + set('dist.compression-formats', value.split(',')) else: raise RuntimeError("unhandled option {}".format(option.name)) |
