-
Notifications
You must be signed in to change notification settings - Fork 14k
Bootstrap config: libgccjit libs dir #149354
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
base: main
Are you sure you want to change the base?
Conversation
|
This PR changes how GCC is built. Consider updating src/bootstrap/download-ci-gcc-stamp. This PR modifies If appropriate, please update |
|
|
| pub libgccjit: PathBuf, | ||
| /// Path to a built or downloaded libgccjit. | ||
| /// Is None when setting libgccjit-libs-dir. | ||
| /// FIXME: it seems wrong to make this an Option. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Kobzol: What are your thoughts about this?
| /// GCC, it's fine for us to not try to avoid doing so. | ||
| pub fn get_gcc_build_status(builder: &Builder<'_>, target: TargetSelection) -> GccBuildStatus { | ||
| if matches!(builder.config.gcc_ci_mode, crate::core::config::GccCiMode::CopyFromLibsDir) { | ||
| // TODO: check if this is OK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to myself: don't forget this.
|
@Kobzol: I'm sending this PR to gather some feedback from you or others. How can I add tests for this new bootstrap config? |
r? @Kobzol