Skip to content

Rollup of 5 pull requests #135769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jan 20, 2025
Merged
Prev Previous commit
Next Next commit
Do not include GCC source code in source tarballs
The licensing story is unclear, it makes the archive much larger, and we should not need it for building anything in the tarballs (yet).
  • Loading branch information
Kobzol committed Jan 17, 2025
commit f854f34a502c358b0f6826ea3ebf40fb7f146de1
13 changes: 12 additions & 1 deletion src/bootstrap/src/core/build_steps/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,18 @@ impl Step for PlainSourceTarball {
];
let src_dirs = ["src", "compiler", "library", "tests", "LICENSES"];

copy_src_dirs(builder, &builder.src, &src_dirs, &[], plain_dst_src);
copy_src_dirs(
builder,
&builder.src,
&src_dirs,
&[
// We don't currently use the GCC source code for building any official components,
// it is very big, and has unclear licensing implications due to being GPL licensed.
// We thus exclude it from the source tarball from now.
"src/gcc",
],
plain_dst_src,
);

// Copy the files normally
for item in &src_files {
Expand Down
Loading