Skip to content

Commit e7fa03b

Browse files
Remove gcc changes for dist build
1 parent 6917514 commit e7fa03b

File tree

1 file changed

+0
-12
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+0
-12
lines changed

src/bootstrap/src/core/build_steps/dist.rs

-12
Original file line numberDiff line numberDiff line change
@@ -2273,9 +2273,6 @@ impl Step for RustDev {
22732273
tarball.permit_symlinks(true);
22742274

22752275
builder.ensure(crate::core::build_steps::llvm::Llvm { target });
2276-
if target.contains("linux") && target.contains("x86_64") {
2277-
builder.ensure(crate::core::build_steps::gcc::Gcc { target });
2278-
}
22792276

22802277
let src_bindir = builder.llvm_out(target).join("bin");
22812278
// If updating this, you likely want to change
@@ -2311,15 +2308,6 @@ impl Step for RustDev {
23112308
// just broadly useful to be able to link against the bundled LLVM.
23122309
tarball.add_dir(builder.llvm_out(target).join("include"), "include");
23132310

2314-
let libgccjit_path = builder.gcc_out(target).join("install/lib/libgccjit.so");
2315-
if libgccjit_path.exists() {
2316-
tarball.add_dir(libgccjit_path, "libgccjit.so");
2317-
tarball.add_dir(
2318-
builder.gcc_out(target).join("install/lib/libgccjit.so.0"),
2319-
"libgccjit.so.0",
2320-
);
2321-
}
2322-
23232311
// Copy libLLVM.so to the target lib dir as well, so the RPATH like
23242312
// `$ORIGIN/../lib` can find it. It may also be used as a dependency
23252313
// of `rustc-dev` to support the inherited `-lLLVM` when using the

0 commit comments

Comments
 (0)