[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