HumbleUI/Skija

Add a linux arm64 build

Closed this issue · 6 comments

I'm targeting an embedded Linux installation on an ARM device

PR?

I did take a brief look before filing the issue to see if I could, but the intricacies of the bespoke python, cmake, and of skia itself are beyond my capabilities. After all, it's why I need the wrapper in the first place!

Glavo commented

I will try to complete it in the next few months - but I can't guarantee it.

Glavo commented

One good news: It's easy to make it work. You just need to compile Skia and Skija yourself.

image

But there are still some things stopping us.

First of all, some examples will cause crashes, and the reasons need to be investigated. I have no experience in debugging JNI, so it is difficult for me to find the real reason.

Secondly, there is a more important problem, that is GitHub Action does not currently provide CI servers on Linux ARM64 platform (actions/runner-images#5631).

Maybe we can wait for GitHub to provide it, but it will take us several months or even years.

Another solution is cross-compilation, but it takes me more time to solve various problems, and it is more difficult. I will try to do it, but I can't provide any guarantee.

Glavo commented

@JakeWharton

I have completed cross-compilation adaptation. I think you can get Linux ARM64 build in the next version.

But there are still some bugs that need to be solved. I don't necessarily have time to do it. Maybe it needs the help of others.

tonsky commented

Thanks to @Glavo, Skija 0.109.2 has linux arm64 version. Let’s open separate issues if there are any issues with it