I’m trying to package an appimage for 64 bit arm, but I can’t find the right architecture variable to get it to build. I tried arm (which packages as 32 bit) and aarch64, arm64, armv8 all of which gave an error.
Hi @squidink7. Please post the exact commands you have tried so that we can help you. I don’t know what you are doing. appimagetool should figure out the architecture entirely automatically…
I am able to use the command ARCH=aarch appimagetool <packagefile>
which builds for ARMHF but not ARM64/AARCH64. Are there any docs on this?
Hi @squidink7. Please post the exact commands you have tried (all of them - from the beginning to the end, not just how you invoke appimagetool but also how you compiled the application and put the AppDir together) so that we can help you. I don’t know what you are doing. appimagetool should figure out the architecture entirely automatically…
hey, sorry about the inactivity, been a bit busy lately. I’ve been mostly writing bash/python scripts and manually building the appdir myself. here is a link to an appdir I quickly put together, and using appimagetool on my x86_64 laptop it does not work and requests an ARCH variable to be set. I then run ARCH=x86_64 appimagetool ./appdir
and it works, as well as ARCH=arm appimagetool ./appdir
which builds for armhf, although I cannot find a valid variable which will compile for aarch64.
Did you try arm64
?
Yes, only x86_64 and arm work
OK, I managed to get it to work. After scouring the appimagekit source code I found that you need to set the ARCH variable to arm_aarch64
for it to work