Rollup merge of #105559 - mkroening:install-llvm-tools, r=Mark-Simulacrum
bootstrap: Allow installing `llvm-tools` This PR allows installing the `llvm-tools` dist tarball using `./x.py install`.
This commit is contained in:
commit
c6be9a705f
2 changed files with 7 additions and 0 deletions
|
@ -744,6 +744,7 @@ impl<'a> Builder<'a> {
|
|||
install::RustDemangler,
|
||||
install::Clippy,
|
||||
install::Miri,
|
||||
install::LlvmTools,
|
||||
install::Analysis,
|
||||
install::Src,
|
||||
install::Rustc
|
||||
|
|
|
@ -205,6 +205,12 @@ install!((self, builder, _config),
|
|||
.expect("missing miri");
|
||||
install_sh(builder, "miri", self.compiler.stage, Some(self.target), &tarball);
|
||||
};
|
||||
LlvmTools, alias = "llvm-tools", Self::should_build(_config), only_hosts: true, {
|
||||
let tarball = builder
|
||||
.ensure(dist::LlvmTools { target: self.target })
|
||||
.expect("missing llvm-tools");
|
||||
install_sh(builder, "llvm-tools", self.compiler.stage, Some(self.target), &tarball);
|
||||
};
|
||||
Rustfmt, alias = "rustfmt", Self::should_build(_config), only_hosts: true, {
|
||||
if let Some(tarball) = builder.ensure(dist::Rustfmt {
|
||||
compiler: self.compiler,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue