-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
build dist for x86_64-unknown-illumos #71272
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Note that I am not super familiar with the CI/infra stuff at play here, and have mostly just tried to make everything look as much like it does for FreeBSD as possible, on the basis that it is a similarly cross-compiled target. If there is anybody in the infra team to whom I should speak about this as part of getting review, please let me know! Thanks. I have tested the Docker CI image a bunch of times locally, and @pfmooney and I are using illumos toolchain bits built this way as we work on platform support in various ecosystem crates. Things have been going well thus far! |
A further note: this makes use of an archive of core OS artefacts from an illumos system, which is described in some more detail over at: https://github.com/illumos/sysroot |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
e7dac73
to
092af47
Compare
Thanks for the PR! Unfortunately we don't have the CI capacity for an extra builder right now: could you add this target to the |
6825d95
to
320b996
Compare
Hi, @pietroalbini! As requested, I have moved the build into the existing |
Pushed a temporary commit to test the builder in a try build. @bors try |
⌛ Trying commit d3c0912c8090af3a2bbf4dd1ab12a8aba4c0aadd with merge c18e4bc243f34aa6702a147a3d961974ed2434c8... |
Why was some Solaris code changed as part of this PR? Also, cc @rust-lang/compiler, this PR practically adds x86_64-unknown-illumos as a Tier 2 target (building a full host compiler). Do you have some requirements on your end for that? |
This is to disambiguate illumos and Solaris. Both require a Solaris-y toolchain, but given the divergence in the platforms (see also: #71145 in the effort to split them), they require separate compilers using their respective sysroots.
We're interested in making |
💥 Test timed out |
Looking into the failure at https://github.com/rust-lang-ci/rust/runs/605427771 it seems like the I'll investigate what's happening in some more detail, but I think the right thing to do is drop the flag here, because I don't think we need |
Something we've been discussing a lot is that, when we add a new target, we ought to have a list of folks that we can ping for advice, or people that we can request to review PRs that are proposing changes specific to that tier. Another common thing is to have someone who can reproduce and help to diagnose problems specific to that target. I also think it would make sense to file a Major Change Proposal -- that process is still "underway" but it mostly just means creating an issue with this template. @jclulow, would you be willing to file a MCP as described above, and include in there the names of any folks who would be willing to help review and maintain the target? |
Definitely! @pfmooney and myself in particular are keen to get this across the line in a sustainable way for illumos, and to stick around to assist with maintenance in the future. I'm still working on technical issues with this PR (e.g., #71457), but in the meantime I will write up an MCP! Thanks for pointing us in the right direction. |
☔ The latest upstream changes (presumably #71434) made this pull request unmergeable. Please resolve the merge conflicts. |
@jclulow can you rebase? thanks |
Definitely! What should I do with the extra commit that was added on top that seems to make it possible to try this out? Just leave it in place? |
@bors retry yield |
⌛ Testing commit 8368a35 with merge 1a3f4791a589d554233d4baf7d94226252d4d15e... |
@bors retry yield |
@bors treeclosed- (will close the tree again if issue persists) |
⌛ Testing commit 8368a35 with merge 6cc06ce7c6e05afdeb1d3cd3d531547d714adc27... |
@bors retry |
⌛ Testing commit 8368a35 with merge 89111c88a3537c25d577fa304fbebbc23237fd1e... |
⌛ Testing commit 8368a35 with merge 66fb914346eb33a90b2945d2dbfbbed978b6c4b3... |
💥 Test timed out |
@bors retry |
☀️ Test successful - checks-actions, checks-azure |
Thank you all, I've just installed Rust on my OpenIndiana OS, and it runs pretty well. |
@liulitchi Note that as of |
This change creates a new Docker image, "dist-x86_64-illumos", and sets
things up to build the full set of "dist" packages for illumos hosts, so
that illumos users can use "rustup" to install packages. It also
adjusts the manifest builder to expect complete toolchains for this
platform.