oasis icon indicating copy to clipboard operation
oasis copied to clipboard

aarch64 support

Open brandonros opened this issue 1 year ago • 6 comments

so Apple M1/M2 users can run it in QEMU without x86_64 emulation

brandonros avatar Aug 14 '22 20:08 brandonros

this will allow to use oasis in the pinephone

Eloitor avatar Aug 15 '22 09:08 Eloitor

It would be nice to be able to run this on Raspberry Pi 4 as well.

Silent-Hunter avatar Aug 17 '22 07:08 Silent-Hunter

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.

michaelforney avatar Aug 17 '22 15:08 michaelforney

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.

noocsharp avatar Aug 20 '22 16:08 noocsharp

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

ghost avatar Feb 21 '23 21:02 ghost