-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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?
Bootstrap config: libgccjit libs dir #149354
Conversation
|
This PR changes how GCC is built. Consider updating src/bootstrap/download-ci-gcc-stamp. This PR modifies If appropriate, please update |
|
|
|
@Kobzol: I'm sending this PR to gather some feedback from you or others. How can I add tests for this new bootstrap config? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #149348) made this pull request unmergeable. Please resolve the merge conflicts. |
1bf3007 to
2125647
Compare
|
I will focus on #149426 first, as I think that we should first deal with the compiler/cg_gcc side of things, before we go modify bootstrap. |
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.
This makes sense, although the implementation needs some changes. I'd be happy to play with this if you don't want to deal with doing these bootstrap changes.
|
☔ The latest upstream changes (presumably #149426) made this pull request unmergeable. Please resolve the merge conflicts. |
3368381 to
3541668
Compare
7eb0416 to
dc178b5
Compare
|
I refactored the code a bit to more explicitly model that we have multiple target libgccjit dylibs per host, and also to enable both downloading from CI and using prebuilt libgccjit.so files (so that people don't also have to build their x64 libgccjit.so from scratch). Please let me know if it makes sense to you. |
This comment has been minimized.
This comment has been minimized.
This commit makes sense to me. |
If you already have it prepared, yeah, you could try it. Although CI failed, so maybe there's something else wrong. |
Good. I try that right away. |
The command finished running and the issue with the m68k |
…rustlib directory
This will allow users to provide pre-built cross-compiled dylibs, while still downloading common (e.g. x64) dylibs from the CI.
7c4361d to
cd6b1ea
Compare
|
Some changes occurred in compiler/rustc_codegen_gcc The rustc-dev-guide subtree was changed. If this PR only touches the dev guide consider submitting a PR directly to rust-lang/rustc-dev-guide otherwise thank you for updating the dev guide with your changes. cc @BoxyUwU, @jieyouxu, @Kobzol, @tshepang This PR modifies If appropriate, please update |
|
I added the error. Now this is ready for review. I guess we should squash the commits since I made many back and forth since I didn't know how to implement this in the beginning. |
r? @Kobzol