Skip to content
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

Add support for running containers with foreign architectures #87

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

justinmichaud
Copy link
Contributor

This adds a -arch option for building and running the container image.

This was tested with qemu, building an armv7 image for intel. The goal however is to use it for armv7 on arm64.

When building for armv7, rustup was not found. This installs it in the containerfile as a workaround, although I am not sure how this ever worked. It would be nice to provide pre-built armv7 (and perhaps riscv) images.

@justinmichaud
Copy link
Contributor Author

Update: the Containerfile changes may not be needed? Although jhbuild doesn't seem to work on armv7 at the moment.

@TingPing
Copy link
Member

It would be nice to provide pre-built armv7 (and perhaps riscv) images.

My plan was to do this as soon as Github had arm runners, but now we host our own runners.

So we can probably add a job for this now and see how it performs.

@TingPing TingPing merged commit c6dafd9 into Igalia:main Jan 20, 2025
1 check passed
@TingPing
Copy link
Member

Although jhbuild doesn't seem to work on armv7 at the moment.

Rather, libadwaita had a build issue. Did you ever get logs for that?

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.

2 participants