-
Notifications
You must be signed in to change notification settings - Fork 430
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
Fix GAE-Bug: Cannot compile GAE app if java not installed #2060
Conversation
b193ff0
to
87cd338
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2060 +/- ##
=======================================
Coverage 44.06% 44.06%
=======================================
Files 89 89
Lines 9845 9845
=======================================
Hits 4338 4338
Misses 5507 5507 Continue to review full report at Codecov.
|
find_package(JNI REQUIRED) | ||
include_directories(SYSTEM ${JAVA_INCLUDE_PATH}) | ||
include_directories(SYSTEM ${JAVA_INCLUDE_PATH2}) | ||
endif() |
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.
Those two block seems duplicate.
coordinator/gscoordinator/utils.py
Outdated
_java_executable, os.X_OK | ||
): | ||
return False | ||
return True |
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.
We already have such utility: https://github.com/alibaba/GraphScope/blob/main/python/graphscope/framework/utils.py#L189-L197
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.
This method should be deleted.
f1cd4cc
to
7a5caef
Compare
endif() | ||
|
||
# include jni------------------------------------------------------------------ | ||
if(ENABLE_JAVA_SDK) |
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.
Seems these two if(ENABLE_JAVA_SDK)
branches could be merged?
859c3ed
to
3e32be1
Compare
f fix try to fix f format format f remove method f
3e32be1
to
c6d4f4d
Compare
What do these changes do?
Related issue number
#2053