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
@ -744,6 +744,7 @@ macro_rules! describe {
|
||||
install::RustDemangler,
|
||||
install::Clippy,
|
||||
install::Miri,
|
||||
install::LlvmTools,
|
||||
install::Analysis,
|
||||
install::Src,
|
||||
install::Rustc
|
||||
|
@ -205,6 +205,12 @@ fn run($sel, $builder: &Builder<'_>) {
|
||||
.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…
Reference in New Issue
Block a user