build dist for x86_64-pc-solaris and sparcv9-sun-solaris#138699
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? 👀 |
f556156 to
7152b36
Compare
| BINUTILS_URL="https://ftp.gnu.org/gnu/binutils/$BINUTILS_TAR" | ||
|
|
||
|
|
||
| download_file() { |
There was a problem hiding this comment.
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.
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 |
|
@bors2 try |
|
This looks good. I'm trying the other jobs edited by this pr to make sure nothing broke and if the try jobs work I'll approve. @bors2 try |
|
@bors r+ |
|
Seems that only |
|
@psumbera Missing changes to build-manifest: https://github.com/rust-lang/rust/blob/master/src/tools/build-manifest/src/main.rs |
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:
libffi-rs/libffi-rs#103
For now it therefore uses cargo patch infrastructure for these.
try-job: dist-sparcv9-solaris
try-job: dist-x86_64-solaris
try-job: dist-various-2
try-job: dist-x86_64-illumos