-
Notifications
You must be signed in to change notification settings - Fork 13.3k
build dist for x86_64-pc-solaris and sparcv9-sun-solaris #138699
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: master
Are you sure you want to change the base?
Conversation
r? @marcoieni rustbot has assigned @marcoieni. Use |
rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
This comment has been minimized.
This comment has been minimized.
3b9fbda
to
0deec39
Compare
This comment has been minimized.
This comment has been minimized.
(That being said, thank you for investigating fixes for the Solaris CI) |
☔ The latest upstream changes (presumably #139826) made this pull request unmergeable. Please resolve the merge conflicts. |
0deec39
to
f556156
Compare
Is this ready for review? 👀 |
…cola update libc This is needed for rust-lang#138699 (comment)
Rollup merge of rust-lang#139969 - psumbera:libc-rust-analyzer, r=lnicola update libc This is needed for rust-lang#138699 (comment)
update libc This is needed for rust-lang/rust#138699 (comment)
f556156
to
7152b36
Compare
update libc This is needed for rust-lang/rust#138699 (comment)
BINUTILS_URL="https://ftp.gnu.org/gnu/binutils/$BINUTILS_TAR" | ||
|
||
|
||
download_file() { |
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.
I saw this function is duplicated from illuminos-toolchain.sh
Can you move it to a shared script file or similar and source the file? so that we avoid having duplicate code.
Same is true for other parts of the scripts which are very similar
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.
I saw this function is duplicated from illuminos-toolchain.sh Can you move it to a shared script file or similar and source the file? so that we avoid having duplicate code.
I have moved it into shared.sh
.
Same is true for other parts of the scripts which are very similar
There are no other common functions. While the structure looks similiar I don't think it's good to connect these two more.
Sorry for the wait, I'm having a look now. I'm familiar with the Rust CI in general but not with solaris specifically, so please don't assume I'm familiar with the scripts you edited 👍 From what I can see you are extracting the build of x86_64-solaris and sparcv9-solaris from the The second question is: the dockerfile of Also can you explain how this PR fixes the issue you linked? |
7152b36
to
d5925a8
Compare
I have updated change to use
I was asked in #126025 to do clean up. I decided to clean it up by compleltely removing all Solaris related stuff from |
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.
A few minor comments.
@Kobzol can you have a look at this PR as well?
BINUTILS_SUM='f66390a661faa117d00fab2e79cf2dc9d097b42cc296bf3f8677d1e7b452dc3a' | ||
BINUTILS_BASE="binutils-$BINUTILS_VERSION" | ||
BINUTILS_TAR="$BINUTILS_BASE.tar.bz2" | ||
BINUTILS_URL="https://ftp.gnu.org/gnu/binutils/$BINUTILS_TAR" |
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.
for security and availability reasons, we probably prefer to download artifacts from our ci-mirrors.
Can you add this to https://github.com/rust-lang/ci-mirrors/tree/main/files ?
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 can be done after MCP is approved.
mkdir -p "$PREFIX" | ||
make install | ||
|
||
cd / |
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.
cd / | |
cd - |
Why do you cd
into root? Is going to the previous directory more correct in your opinion?
Same at line 171
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.
I have used instead just cd
.
<<: *job-linux-4c | ||
|
||
- name: dist-sparcv9-solaris | ||
<<: *job-linux-4c |
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.
can you run [at]bors try
?
Otherwise I can do it for you to test this PR 👍
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.
@bors try
To clarify, you are promoting Solaris targets from Tier 2 to Tier 2 with host tools? There should be an update to the platform support pages and a compiler MCP for the promotion (https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html#tier-2-with-host-tools). |
Yeah, just wanted to post this, this seems like it moves the Solaris target between tiers, so it should go through an MCP. |
update libc This is needed for rust-lang/rust#138699 (comment)
d5925a8
to
30e48bd
Compare
Some changes occurred in src/doc/rustc/src/platform-support cc @Noratrieb |
How can I initiate MCP? |
FIx for #126025
Note that this needs Nix with following commit:
nix-rust/nix@0f45593
Unfortunatelly there is no new release.
And for sparcv9 it needs also:
tov/libffi-rs#103
For now it therefore uses cargo patch infrastructure for these.