PsiCodes / ktxpy

Python Compiler/ide For Android with Material3
GNU General Public License v3.0
65 stars 9 forks source link

Support for armv7? #7

Closed Sohil876 closed 1 year ago

Sohil876 commented 1 year ago

This is arm64 only atm? Is armv7 support planned? Would love to use this on my old device.

PsiCodes commented 1 year ago

As of now , armeabi-v7 isn't supported, as I don't have armv7 device for testing.

Sohil876 commented 1 year ago

As of now , armeabi-v7 isn't supported, as I don't have armv7 device for testing.

Users can test it i can too so maybe give it a go? You can also keep that on a new branch untill its stable, I tried building for armv7 but it crashes due to something can you take a look if its something unrelated to armv7 or my build? Here's log: https://pastebin.com/REAJvT3V

Also checkout this issue on un7zip maybe thats what happening? Then the other opened issue atm is probably because of this too.

PsiCodes commented 1 year ago

I think you are right crash is due to un7zip. Additionally, be sure to cross-compile the Python executable if you are building for Armv7. If possible, I would try to provide Armv7 support as soon as possible.

Sohil876 commented 1 year ago

I think you are right crash is due to un7zip. Additionally, be sure to cross-compile the Python executable if you are building for Armv7. If possible, I would try to provide Armv7 support as soon as possible.

I have, tho i dont get pip in usr/bin/ even when i built it using --with-ensurepip flag. Also i can confirm the crash is due to un7zip, i replaced build.7z with a dummy one 1MB file and it didnt crash.

Screenshot_20230703-151301_KtxPy

PsiCodes commented 1 year ago

@Sohil876 If you have cross-compiled python yourself, you can use this python file for getting pip. maybe I should replace un7zip with some other library or try to optimise it,thanks for confirming the issue.

PsiCodes commented 1 year ago

@Sohil876 If you want, you can help me with testing. It will be really helpful.

Sohil876 commented 1 year ago

@Sohil876 If you want, you can help me with testing. It will be really helpful.

Sure.

PsiCodes commented 1 year ago

@Sohil876 If you are comfortable with Telegram, you can contact me on Telegram (username: @PsiCodes).

PsiCodes commented 1 year ago

arm32 support is added