Skip to content

Commit

Permalink
set DARROW_DEPENDENCY_USE_SHARED=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Jun 26, 2024
1 parent 840f492 commit 2c8732f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ep/build-velox/src/modify_velox.patch
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,22 @@ index 5c7bf770a..9f897f577 100644
# target even when velox is built as a subproject which uses

diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
index ce4c24dbe..785a2acc6 100644
index ce4c24dbe..700e53983 100644
--- a/third_party/CMakeLists.txt
+++ b/third_party/CMakeLists.txt
@@ -26,7 +26,9 @@ if(VELOX_ENABLE_ARROW)
@@ -26,7 +26,10 @@ if(VELOX_ENABLE_ARROW)
endif()
set(ARROW_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/arrow_ep")
set(ARROW_CMAKE_ARGS
- -DARROW_PARQUET=OFF
+ -DARROW_DEPENDENCY_USE_SHARED=OFF
+ -DARROW_PARQUET=ON
+ -DARROW_FILESYSTEM=ON
+ -DARROW_PROTOBUF_USE_SHARED=OFF
-DARROW_WITH_THRIFT=ON
-DARROW_WITH_LZ4=ON
-DARROW_WITH_SNAPPY=ON
@@ -69,6 +71,8 @@ if(VELOX_ENABLE_ARROW)
@@ -69,6 +72,8 @@ if(VELOX_ENABLE_ARROW)
arrow_ep
PREFIX ${ARROW_PREFIX}
URL ${VELOX_ARROW_SOURCE_URL}
Expand Down

0 comments on commit 2c8732f

Please sign in to comment.