Skip to content

Commit bc3dbc6

Browse files
committed
Package more llvm-* tools in the rust-dev component, for run-make-fulldeps tests
Fixes #78110
1 parent 4d247ad commit bc3dbc6

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/bootstrap/dist.rs

+9-2
Original file line numberDiff line numberDiff line change
@@ -2538,8 +2538,15 @@ impl Step for RustDev {
25382538
let dst_bindir = image.join("bin");
25392539
t!(fs::create_dir_all(&dst_bindir));
25402540

2541-
let exe = builder.llvm_out(target).join("bin").join(exe("llvm-config", target));
2542-
builder.install(&exe, &dst_bindir, 0o755);
2541+
let src_bindir = builder.llvm_out(target).join("bin");
2542+
let install_bin =
2543+
|name| builder.install(&src_bindir.join(exe(name, target)), &dst_bindir, 0o755);
2544+
install_bin("llvm-config");
2545+
install_bin("llvm-ar");
2546+
install_bin("llvm-objdump");
2547+
install_bin("llvm-profdata");
2548+
install_bin("llvm-bcanalyzer");
2549+
install_bin("llvm-cov");
25432550
builder.install(&builder.llvm_filecheck(target), &dst_bindir, 0o755);
25442551

25452552
// Copy the include directory as well; needed mostly to build

0 commit comments

Comments
 (0)