[Java][JNI][Windows]: Enable support for Gandiva build artifacts on Windows OS
- Langage dominant
- Java
- Étoiles
- 94
- Forks
- 152
- Merge moyen
- 3 j 16 h
- PR mergées (30 j)
- 11
Description
### 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire la compilation des artefacts Gandiva sous Windows et inspectez cmake_modules/FindLLVMAlt.cmake ainsi que src/gandiva/CMakeLists.txt, où la recherche de LLVMAlt signalée échoue. Comparez la configuration Windows avec la configuration de build existante. La tâche est terminée lorsque les artefacts de build Gandiva peuvent être produits avec succès sous Windows sans l’échec signalé dû à l’absence de LLVMAlt.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cmake, cpp, java
- Domaine
- build-system, devtools, operating-systems
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100