apache / apache/arrow-java

[Java][JNI][Windows]: Enable support for Gandiva build artifacts on Windows OS

オープン
#174 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
94
フォーク
152
平均マージ
3日 16時間
マージ済み PR(30日)
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 アーティファクトのビルドを再現し、報告されている LLVMAlt の検索が失敗する cmake_modules/FindLLVMAlt.cmake と src/gandiva/CMakeLists.txt を調査します。Windows の構成を既存のビルド設定と比較します。報告されている LLVMAlt が見つからないことによる失敗なしに、Windows 上で Gandiva のビルドアーティファクトを正常に生成できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cmake, cpp, java
領域
build-system, devtools, operating-systems
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。