apache / arrow

Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics
https://arrow.apache.org/
Apache License 2.0
14.61k stars 3.55k forks source link

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

Open davisusanibar opened 1 year ago

davisusanibar commented 1 year ago

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:

-- 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

pitrou commented 5 days ago

Is this still relevant @danepitkin @davisusanibar ?

vibhatha commented 4 days ago

@pitrou this needs to be verified, I don't think this was visited again recently. Unfortunately I don't have access to Windows.