Skip to content

Commit

Permalink
Use VELOX_HOME instead of GLUTEN_HOME while setting ARROW_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
Surbhi-Vijay committed Nov 6, 2023
1 parent 9ca9118 commit f0603e3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@ option(ENABLE_ORC "Enable ORC" OFF)
set(root_directory ${PROJECT_BINARY_DIR})
get_filename_component(GLUTEN_HOME ${CMAKE_SOURCE_DIR} DIRECTORY)

if (NOT DEFINED ARROW_HOME)
if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
set(ARROW_HOME ${GLUTEN_HOME}/ep/build-velox/build/velox_ep/_build/debug/third_party/arrow_ep)
else()
set(ARROW_HOME ${GLUTEN_HOME}/ep/build-velox/build/velox_ep/_build/release/third_party/arrow_ep)
endif()
if (${CMAKE_BUILD_TYPE} STREQUAL "Debug")
set(ARROW_HOME ${VELOX_HOME}/_build/debug/third_party/arrow_ep)
else()
set(ARROW_HOME ${VELOX_HOME}/_build/release/third_party/arrow_ep)
endif()

#
Expand Down

0 comments on commit f0603e3

Please sign in to comment.