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).
This commit is contained in:
parent
bcd0683e5d
commit
f854f34a50
1 changed files with 12 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue