aarch64, ppc64le, Profiles for secondary archs, Linux and Linux with Android NDK installed by Karm · Pull Request #9 · lmdbjava/native
Thanks @Karm for this PR. Please accept my apologies for the delay in reviewing it (and its predecessor #7).
At present we use GitHub Actions to compile or cross-compile the LMDB native library for all architectures defined in the LmdbJava Native Parent POM. Maintaining automatic, reproducible builds with public build logs is a priority given it significantly simplifies long-term maintenance of the LmdbJava project while also offering everyone reassurance as to the test suite verification and binary contents of JARs automatically deployed to Maven Central.
Given the benefits of using GitHub Actions to build and compile the native libraries, I wonder whether you might be able to comment on the viability of a cross-compilation option? I did a quick search and found several GitHub Actions YAML files which are using various cross-compilation approaches for aarch64 and ppc64le. There is also a GitHub Action called run-on-arch-action which is currently targeting five platforms including aarch64 and ppc64le.
If you could offer some comments on this I would appreciate it.