Skip to content

[bootstrap] Add support for building gcc and libgccjit #125419

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 21 commits into from
Sep 14, 2024
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9028177
Add GCC submodule
GuillaumeGomez May 22, 2024
30feef6
Add libgccjit dist generation
GuillaumeGomez May 22, 2024
71fe248
Ignore gcc submodule for tidy checks
GuillaumeGomez May 23, 2024
eda4287
Add missing licenses for GCC
GuillaumeGomez May 23, 2024
1fd148d
Rename `LICENSES/GPL-2.0.txt` into `LICENSES/GPL-2.0-only.txt`
GuillaumeGomez Jul 16, 2024
3ba7992
Correctly generate stamp for gcc
GuillaumeGomez Jul 16, 2024
ca52d30
Remove `src/gcc` from `rustfmt` checks
GuillaumeGomez Jul 16, 2024
c53c397
Update GCC version
GuillaumeGomez Jul 22, 2024
f5abc42
Update code comments to mention GCC and not LLVM
GuillaumeGomez Jul 22, 2024
6db83ef
Update to new bootstrap API
GuillaumeGomez Aug 8, 2024
2c4aa29
Move HashStamp to helpers
GuillaumeGomez Aug 12, 2024
9c16548
Clean code and move check for GCC backend build in `dist.rs` directly
GuillaumeGomez Aug 12, 2024
cbef544
Add `gcc` to the `build` commands list
GuillaumeGomez Aug 14, 2024
b10a38b
Update declared licenses in `REUSE.toml`
GuillaumeGomez Aug 14, 2024
42d6f57
Make gcc submodule shallow
GuillaumeGomez Aug 14, 2024
1b39b43
Make gcc `root` absolute
GuillaumeGomez Aug 14, 2024
4e7808a
Update to new `Builder` API
GuillaumeGomez Sep 4, 2024
2a2422c
Fix licensing information in REUSE.toml
Kobzol Sep 4, 2024
103e040
Check if the `libgccjit.so.0` file exists before creating a symlink t…
GuillaumeGomez Sep 5, 2024
6917514
Run `download_prerequisites` before running gcc `configure`
GuillaumeGomez Sep 5, 2024
e7fa03b
Remove gcc changes for dist build
GuillaumeGomez Sep 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update declared licenses in REUSE.toml
  • Loading branch information
GuillaumeGomez committed Sep 6, 2024
commit b10a38b9d12ba7a2d362c19de909bfcc89abcebc
34 changes: 34 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,37 @@ SPDX-FileCopyrightText = [
"2003-2019 University of Illinois at Urbana-Champaign.",
]
SPDX-License-Identifier = "NCSA AND Apache-2.0 WITH LLVM-exception"

[[annotations]]
path = "src/gcc/gcc/testsuite/c-c++-common/analyzer/*.c"
precedence = "override"
SPDX-FileCopyrightText = [
"Copyright (c) 2007-2011 Atheros Communications Inc.",
"Copyright (c) 2011-2012,2017 Qualcomm Atheros, Inc.",
"Copyright (c) 2016-2017 Erik Stromdahl <erik.stromdahl@gmail.com>",
]
SPDX-License-Identifier = "ISC"

[[annotations]]
path = "src/gcc/libstdc++-v3/config/os/aix/os_defines.h"
precedence = "override"
SPDX-FileCopyrightText = [
"Copyright (C) 2000-2024 Free Software Foundation, Inc.",
]
SPDX-License-Identifier = "GCC-exception-3.1"

[[annotations]]
path = "src/gcc/testsuite/**"
precedence = "override"
SPDX-FileCopyrightText = [
"Copyright (C) 2000-2024 Free Software Foundation, Inc.",
]
SPDX-License-Identifier = "GPL-2.0-only"

[[annotations]]
path = "src/gcc/**"
precedence = "override"
SPDX-FileCopyrightText = [
"Copyright (C) 1997-2024 Free Software Foundation, Inc.",
]
SPDX-License-Identifier = "GPL-3.0-or-later"