realm-kotlin icon indicating copy to clipboard operation
realm-kotlin copied to clipboard

Support linuxArm64/linuxX64/mingwX64

Open jakobkmar opened this issue 3 years ago • 4 comments

Currently Linux ARM64 is not supported. It would be great to get support for this for at least the jvm() target, but maybe for the linuxArm64() target as well.

This would allow using this library for both server-side ARM64 Linux and desktop ARM64 Linux applications.

jakobkmar avatar Dec 22 '21 23:12 jakobkmar

Hi @jakobkmar. Thanks for the input. It is almost just (🙈) a matter of extending our CI build matrix, but we also need to restructure the build a bit to enable proper parallelization of the individual platform builds and test to avoid stalling our pipelines. This is already on our nearterm roadmap.

rorbech avatar Dec 23 '21 08:12 rorbech

When that new CI setup is put in place, will that also mean that other native targets are easily possible? so linuxArm64() but e.g. mingwX64(), linuxX64() and so on as well?

jakobkmar avatar May 26 '22 20:05 jakobkmar

Hi @jakobkmar Yes, that is correct. Nothing technically prevents us from supporting these platforms, but as you say, we do need to be able to test them before we can ship the support.

cmelchior avatar May 30 '22 09:05 cmelchior

When adding support for this we should consider using the same toolchain as Kotlin so we avoid any binary compatibility issues https://github.com/JetBrains/kotlin-native/pull/2917/files#diff-4fc3178fb05af292931b549048e0c2a3142a1953433264d65fb3e71130780694R227

It is unclear if JetBrains setup mean that some specific variants of Linux ARM64 are not supported.

cmelchior avatar Sep 20 '22 13:09 cmelchior