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

LPython on ARM (v7 and/or v8 arch) #2774

Open
beyonlo opened this issue Jul 11, 2024 · 6 comments
Open

LPython on ARM (v7 and/or v8 arch) #2774

beyonlo opened this issue Jul 11, 2024 · 6 comments

Comments

@beyonlo
Copy link

beyonlo commented Jul 11, 2024

Hello, this is an amazing project!

How is going on the roadmap to support LPython on ARM arch? I would like so much to use LPython on RaspberryPi 3, 4 and 5 (with Linux), that use ARM v7 and v8 processors.

In this site https://lpython.org/ shows that the ARM arch support is under development, but do not talk about the actual stage, plans/roadmap, and if the ARM (v7, or v8, or both) will be/or is supported. Would be great if anyone could explain better about that.

Thank you!

image

@Vipul-Cariappa
Copy link
Contributor

I have a RaspberryPi 3. I can try compiling and using it there.
I believe we do support the M series Mac books. So, we do support ARM to some extent. About ARM on Linux, some testing would be required.

Microsoft is also pushing Windows on ARM, and we will also need an ARM version of LPython on Windows.

@certik, any thoughts?

@Vipul-Cariappa
Copy link
Contributor

From a quick search; It looks like conda-forge does not support Windows on ARM as of now, and it might not be possible to use LPython on Windows ARM machines, until conda-forge supports Windows on ARM, as we completely depend on conda for development and build process.

Reference: https://conda-forge.org/docs/maintainer/conda_forge_yml/#provider (Hope this is the correct reference)

@certik
Copy link
Contributor

certik commented Jul 14, 2024

Right now we test Windows/x86, Linux/x86 and Apple/x86/arm. Things should work on Linux/arm as well, but we don't test it at the CI.

@beyonlo go ahead and try it, and if something fails, report a bug.

@beyonlo
Copy link
Author

beyonlo commented Jul 15, 2024

Hello @Vipul-Cariappa

I have a RaspberryPi 3. I can try compiling and using it there.

That will be nice!! Thank you

@beyonlo
Copy link
Author

beyonlo commented Jul 15, 2024

Hello @certik

Right now we test Windows/x86, Linux/x86 and Apple/x86/arm. Things should work on Linux/arm as well, but we don't test it at the CI.

Just a note. Please, correct me if I'm wrong, but it is valid in my view that it is important not just for work, but if it works good, with good performance in ARM like as in x86, I mean, maybe there are optimizations done for x86 that can be different than ARM. ARM became a very used arch, in some places more used than x86.

@beyonlo go ahead and try it, and if something fails, report a bug.

Unfortunately I have no ARM processors. My intention is only to buy one raspberry if LPython works fine on ARM, because I will use ARM just if LPython works fine on it. But if there is no other way, I will buy one to test.

Thank you so much!

@Vipul-Cariappa
Copy link
Contributor

Hi @beyonlo, looks like my raspberry pi is broken. I had not used it for a year. It is stuck on a boot loop. I tried multiple OSes (ubuntu ARM server and Raspberry Pi OS), and SD cards, but could not get it running.

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

No branches or pull requests

3 participants