realm-kotlin
realm-kotlin copied to clipboard
Support linuxArm64/linuxX64/mingwX64
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.
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.
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?
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.
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.