-
Notifications
You must be signed in to change notification settings - Fork 443
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
[GAE-Java] Pack JNI lib libgrape-jni.so
into grape-runtime.jar
#2330
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2330 +/- ##
==========================================
+ Coverage 40.03% 42.96% +2.92%
==========================================
Files 88 88
Lines 9714 9715 +1
==========================================
+ Hits 3889 4174 +285
+ Misses 5825 5541 -284
Continue to review full report at Codecov.
|
try { | ||
NativeLoader.loadLibrary("grape-jni"); | ||
} catch (IOException e) { | ||
e.printStackTrace(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if the exception got swallowed is by purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we try to load jni library, but it is ok if failed.
93e075a
to
6293d76
Compare
ce04055
to
1bc9eb6
Compare
use native loader remove dst lib name in ffi class fix format remove comment in cmakelist try to fix graphx s s f s s add giraph jar to GRAPHSCOPE_HOME/lib shade pattern fix ci add giraph to class path automatically load grape_jvm_opts in java_loader_invoker catch class version inconsistent error fix lib loading and graph template parsing to load compile user so, user system.load fix python test format giraph jar needs when test giraph app fix giraph test s fix ci fix
libgrape-jni.so
intogrape-runtime-shaded.jar
.@FFIGen("grape-jni")
, to avoid FastFFI generatingSystem.loadLibrary()
code.