You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/22 23:35:00 UTC

[jira] [Updated] (ARROW-3589) [Gandiva] Make it possible to compile gandiva without JNI

     [ https://issues.apache.org/jira/browse/ARROW-3589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-3589:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Priority: Major
>              Labels: pull-request-available
>
> 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)