Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm32 / armv7l binary releases? #111

Open
itdaniher opened this issue Nov 5, 2020 · 1 comment
Open

arm32 / armv7l binary releases? #111

itdaniher opened this issue Nov 5, 2020 · 1 comment

Comments

@itdaniher
Copy link

Recently found a need for using this software on an older Raspberry Pi.

I was able to compile the bindings, including patching leveldb, but it would be convenient to not have to maintain this process myself.

Here's the dockerfile and testcase I used, in case others run into this issue. Should work with trivial modifications for aarch64, as well. You'll need qemu-user setup on the host to run this on x86. https://gist.github.com/itdaniher/8a1af03ba85b5f6a6eaeb7d0816579c6

@ajsutton
Copy link

This was very helpful thanks for sharing. I used this as a starting point for getting an automated build setup for the native component: https://github.com/ConsenSys/leveldbjni-native
I've found that compiling on aarch64 didn't work with the old version of leveldb required (no AtomicPointer support I don't think).

I haven't tried arm32 support and to build in CircleCI it would have to cross-compile but I'd be happy to accept PRs to add it if that would help give it a more permanent home for you. I'm also hoping to get it updated to the latest leveldb at some point. We're using this with an ongoing project so keen to get leveldbjni back on a better supported footing.

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

No branches or pull requests

2 participants