Skip to content

aarch64, ppc64le, Profiles for secondary archs, Linux and Linux with Android NDK installed#9

Closed
Karm wants to merge 1 commit intolmdbjava:masterfrom
Karm:secondaryArches
Closed

aarch64, ppc64le, Profiles for secondary archs, Linux and Linux with Android NDK installed#9
Karm wants to merge 1 commit intolmdbjava:masterfrom
Karm:secondaryArches

Conversation

@Karm
Copy link

@Karm Karm commented Sep 25, 2020

This PR surpasses and completes #7 , which can be closed.

@Karm
Copy link
Author

Karm commented Oct 23, 2020

?

@bp-alex
Copy link
Member

bp-alex commented Oct 24, 2020

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.

@bp-alex
Copy link
Member

bp-alex commented Mar 13, 2021

I added an extra operating system (Arch Linux) to several run-on-arch-action platforms and started using it in another project. I believe run-on-arch-action is the preferred way to add additional platform / OS combinations. I will take a closer look at this when I get some free cycles.

@bp-alex
Copy link
Member

bp-alex commented Apr 24, 2023

Closing this ticket as lmdbjava/lmdbjava#217 has provided a Zig-based cross-compilation in the Java module product. This in turn means the LmdbJava Native project is no longer required and will be archived.

I welcome contributions in the LmdbJava project if you wish to revisit this based on the new Zig-based cross-compiled builds (which include ARM targets).

@bp-alex bp-alex closed this Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants