Skip to content

rust: Support for rust enable builds#7

Merged
mpe merged 1 commit intolinuxppc:masterfrom
mkchauras:rust-support
Mar 23, 2026
Merged

rust: Support for rust enable builds#7
mpe merged 1 commit intolinuxppc:masterfrom
mkchauras:rust-support

Conversation

@mkchauras
Copy link

Enabling ppc64le rust build support.

Enabling ppc64le rust build support.

Signed-off-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@gmail.com>
@mpe mpe merged commit 59ebcc3 into linuxppc:master Mar 23, 2026
@mpe
Copy link
Member

mpe commented Mar 23, 2026

This is deploying here https://github.com/linuxppc/ci-scripts/actions/runs/23417882226

Once that completes the docker images will be available to pull.

@mpe-tt
Copy link

mpe-tt commented Mar 24, 2026

OK that went badly 😊

The changes to the Dockerfile don't work on the old Ubuntu versions.

There's existing logic in build/ubuntu/packages.sh for selecting different packages based on the Ubuntu version, you should be able to use that to make the Rust packages only install on newer versions.

But you'll also need to make the rust install steps conditional.

I think the best solution is to create a new script, install-rust.sh in ubuntu and have it only run the curl/rustup/cargo commands on 24.04 or later. It should be OK to leave the Rust related ENV settings in the Dockerfile even if Rust is not installed.

@mkchauras
Copy link
Author

Ohooo
Letme fix these and then i'll resend the whole pull request again.
I'll create a new script install-rust.sh via rustup. No package manager this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants