From 2c8732f8e7584ddf557f109142fbe2333f205c48 Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Wed, 26 Jun 2024 21:44:39 +0800 Subject: [PATCH] set DARROW_DEPENDENCY_USE_SHARED=OFF --- ep/build-velox/src/modify_velox.patch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ep/build-velox/src/modify_velox.patch b/ep/build-velox/src/modify_velox.patch index aee406c3eae08..19c9e1d2db545 100644 --- a/ep/build-velox/src/modify_velox.patch +++ b/ep/build-velox/src/modify_velox.patch @@ -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}