[Java][JNI][Windows]: Enable support for Gandiva build artifacts on Windows OS
- 主要语言
- Java
- 星标
- 94
- 派生
- 152
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 11
描述
### Describe the enhancement requested
Enable support for Gandiva build artifacts on Windows OS.
This is the current error message if we try to build Gandiva artifacts on Windows OS environment:
```java
-- Creating bundled static library target arrow_bundled_dependencies at C:/Users/dsusanibar/IdeaProjects/fork/arrow/cpp-jni/release/arrow_bundled_dependencies.lib
-- Looking for backtrace
-- Looking for backtrace - not found
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find LLVM (missing: LLVM_DIR)
CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find LLVMAlt (missing: LLVM_PACKAGE_VERSION CLANG_EXECUTABLE
LLVM_FOUND LLVM_LINK_EXECUTABLE)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindLLVMAlt.cmake:118 (find_package_handle_standard_args)
src/gandiva/CMakeLists.txt:28 (find_package)
```
### Component(s)
Developer Tools, Java
贡献指南
调研方向
首先复现 Windows 上的 Gandiva 构建产物构建,并检查 cmake_modules/FindLLVMAlt.cmake 和 src/gandiva/CMakeLists.txt,报告的 LLVMAlt 查找失败发生在这里。将 Windows 配置与现有构建设置进行比较。当能够在 Windows 上成功生成 Gandiva 构建产物,且不再出现报告的缺少 LLVMAlt 的失败时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cmake, cpp, java
- 领域
- build-system, devtools, operating-systems
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100