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

Adding ARM64 support for Ubuntu to resolve encountered issue on actions/setup-python #230

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Joeri-Abbo
Copy link

Hey,

I have created a pull request (PR) to address an issue I encountered on Ubuntu related to the ARM64 architecture. The issue details can be found here: python/issues/678#issuecomment-1564392289.

In this PR, I have added support for ARM64 in the build step, aiming to fix the problem. However, due to the usage of the repository's registry in the test phase, I'm unable to validate the change at the moment.

I kindly request your review and consideration of this PR. I would greatly appreciate any feedback or guidance you can provide on how to validate the effectiveness of this modification.

Thank you for your time and attention. I look forward to working with you to resolve this issue and improve compatibility for Ubuntu users on ARM64.

Best regards,
Joeri

@Joeri-Abbo Joeri-Abbo requested a review from a team as a code owner May 27, 2023 11:40
@dmitry-shibanov
Copy link
Contributor

Hello @Joeri-Abbo. Thank you for your pull requests. But for now we can't approve it because we do not have hosted runners on ubuntu with arm64 architecture.

@harryzcy
Copy link

harryzcy commented Jul 6, 2023

@dmitry-shibanov Can we somehow use QEMU to build it in github actions?

@samip5
Copy link

samip5 commented Jul 28, 2023

@dmitry-shibanov Can we somehow use QEMU to build it in github actions?

Should be possible to use QEMU for it, yes.

This is currently a blocker for using self-hosted runners too, as if you try to use the action on linux arm64, you cannot.

@V0lantis
Copy link

Hello there,
this PR would be amazing for us because we would like to use action/setup-python with linux arm64 runners, and for now it is not possible. Would you be able to use the same runner as @hussein-awala to try this out (summerwind/actions-runner:v2.306.0-ubuntu-20.04)?

@ilya-lavrenov
Copy link

ilya-lavrenov commented Oct 8, 2023

it's not necessary to use arm64 hosted runners to build python interpreter - we can use cross-compilation.
For this you need additionally install target system compiler (or crossbuild-essential-arm64) and pass extra options to python configure stage:

        --host=aarch64-linux-gnu \
        --build=x86_64-linux-gnu \

@aspexdaniel
Copy link

hi, want to know the status, are we able to merge this or not?

@Maleware
Copy link

Maleware commented Jan 9, 2024

Hey, would be interested in that too. Can this be merged?

@inka
Copy link

inka commented Jan 10, 2024

Hi,

Can't you run that build on a Github provided arm runner? This is an important part of the whole Github Actions ecosystem so you should get everything what you need to bring this to life.

Can you please explain again what holds you of merging this and start to support Linux/arm64 based runners?

I'm happy to help with whatever is needed.

Thanks for your work!

@atwoodjw
Copy link

Same. Would love to use BuildJet as hosted ARM runner, but thwarted by this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
10 participants