Skip to content

Commit

Permalink
Install zstdAlt for Gandiva
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 11, 2023
1 parent 7035e7d commit 7a2640f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/src/gandiva/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ add_dependencies(gandiva-all gandiva gandiva-tests gandiva-benchmarks)

find_package(LLVMAlt REQUIRED)
provide_find_module(LLVMAlt "Gandiva")
if(ARROW_WITH_ZSTD)
provide_find_module(zstdAlt "Gandiva")
endif()

add_definitions(-DGANDIVA_LLVM_VERSION=${LLVM_VERSION_MAJOR})

Expand Down
3 changes: 3 additions & 0 deletions cpp/src/gandiva/GandivaConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ set(ARROW_LLVM_VERSIONS "@ARROW_LLVM_VERSIONS@")

include(CMakeFindDependencyMacro)
find_dependency(Arrow)
if(ARROW_WITH_ZSTD)
find_dependency(zstdAlt)
endif()
if(DEFINED CMAKE_MODULE_PATH)
set(GANDIVA_CMAKE_MODULE_PATH_OLD ${CMAKE_MODULE_PATH})
else()
Expand Down

0 comments on commit 7a2640f

Please sign in to comment.