You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Philipp Moritz (JIRA)" <ji...@apache.org> on 2018/10/22 22:57:00 UTC
[jira] [Created] (ARROW-3589) [Gandiva] Make it possible to compile
gandiva without JNI
Philipp Moritz created ARROW-3589:
-------------------------------------
Summary: [Gandiva] Make it possible to compile gandiva without JNI
Key: ARROW-3589
URL: https://issues.apache.org/jira/browse/ARROW-3589
Project: Apache Arrow
Issue Type: Improvement
Reporter: Philipp Moritz
When trying to compile arrow with
{code:java}
cmake -DARROW_PYTHON=on -DARROW_GANDIVA=on -DARROW_PLASMA=on ..{code}
I'm seeing the following error right now:
{code:java}
CMake Error at /home/ubuntu/anaconda3/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY
JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
Call Stack (most recent call first):
/home/ubuntu/anaconda3/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/home/ubuntu/anaconda3/share/cmake-3.12/Modules/FindJNI.cmake:356 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/gandiva/jni/CMakeLists.txt:21 (find_package)
-- Configuring incomplete, errors occurred{code}
It should be possible to compile the C++ gandiva code without JNI bindings, how about we introduce a new flag "-DARROW_GANDIVA_JAVA=off" (which could be on by default if desired).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)