apache / apache/arrow-java

[Java][JNI] Improve current cmake java libraries dependencies that needs Protobuf_ROOT and Protobuf_USE_STATIC_LIBS variables

未关闭
#175 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
94
派生
152
平均合并
3 天 16 小时
30 天内合并 PR
11

描述

### Describe the enhancement requested

The current Java JNI build needs to declare these CMAKE variables in order to build correctly:

- -DProtobuf_USE_STATIC_LIBS=ON
- -DProtobuf_ROOT=${project.basedir}/../cpp-jni/protobuf_ep-install

It may be possible to add support for installing bundled protocols.

### Component(s)

Documentation, Java

贡献指南

打开贡献指南

调研方向

首先定位 Java JNI 的 CMake 依赖配置和当前的 Protobuf 设置。检查构建期间如何传递 Protobuf_USE_STATIC_LIBS 和 Protobuf_ROOT,然后验证在没有未记录的手动配置的情况下进行构建;另外确定捆绑协议的安装是否属于范围之内。

由索引模型根据 Issue 内容生成。

评估

技术栈
cmake, java
领域
build-system
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。