-
Notifications
You must be signed in to change notification settings - Fork 84
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
Release artifacts on github don't include arm so file #153
Comments
Thanks for the issue @costinm! Valid on both fronts.
|
Related, the iOS |
It appears that building from source does create the right jni. BTW - it would be great to copy an updated "run_envoy_docker.sh" from envoy to envoy-mobile, it seems the most reliable and frustration-free way to build. I used:
The arm binary is also smaller (67M x86 vs 57M arm unstripped). Seems to go down to 42M stripped. |
I did a fresh build - and it appears the arm no long shows in in the .ear file. |
It seems worse - on a second machine, where I previously built the arm binaries, using the exact same command I get build errors. I'm starting to suspect the android SDK or NDK are different, and somehow
|
I verified that on both machines the ndk is identical. I'm running the builds in a docker, confirmed that git is at same SHA. The joy of using bazel for 'reproducible builds'... |
Never mind - found the change, it seems the bazel target changed to 'device' instead of android. |
@costinm Thanks for the update here. I'm glad that you were able to figure out what the issue is :) |
Both linux and mac variants under https://github.com/lyft/envoy-mobile/releases include
jni/x86/libenvoy_jni.so - which likely works under x86 devices and emulator. It would be great if the armeabi library would also be included so it can be run on phone.
Also the JNI is not stripped - would be nice to also have a stripped (rel) variant, seems the size goes from 68 to 54M.
The text was updated successfully, but these errors were encountered: