oasis
oasis copied to clipboard
aarch64 support
so Apple M1/M2 users can run it in QEMU without x86_64 emulation
this will allow to use oasis in the pinephone
It would be nice to be able to run this on Raspberry Pi 4 as well.
It would help if you would share what problems are you running into building for aarch64. Most packages should work (including all essential ones).
I've run oasis on a pinephone before. I haven't tried a Raspberry Pi 4, but I don't see why it wouldn't work.
I had oasis running on an RPI 1B (32-bit arm) at one point with changes to only a few packages. RPI4 shouldn't be much harder to get working.
I built for aarch64 on the same ARM system I was targeting. I had to grab the musl package aarch64-linux-musl-native
, but the binary bin/aarch64-linux-musl-ar
does not exist in the -native musl package, only in the -cross package...so I got errors trying to build oasis. I symlinked the ar
binary, and that worked fine. Renaming it would have worked fine too. Not sure if there is a better way to handle that, but that's what worked for me.
And of course, the config.lua needs to be updated with the correct target platform (aarch64-linux-musl
) prior to running setup.lua
All went fine after some fiddling