This is an automated email from the ASF dual-hosted git repository.
hongze pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 0697ed43e [VL] Try to find arrow libs from Velox bundled path firstly
0697ed43e is described below
commit 0697ed43ea6a263077f87c2c858721bff0b5de97
Author: PHILO-HE <[email protected]>
AuthorDate: Fri Jul 12 08:39:25 2024 +0800
[VL] Try to find arrow libs from Velox bundled path firstly
---
cpp/CMake/ConfigArrow.cmake | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/cpp/CMake/ConfigArrow.cmake b/cpp/CMake/ConfigArrow.cmake
index e27a3414d..ed1b0f2fd 100644
--- a/cpp/CMake/ConfigArrow.cmake
+++ b/cpp/CMake/ConfigArrow.cmake
@@ -36,7 +36,11 @@ function(FIND_ARROW_LIB LIB_NAME)
find_library(
ARROW_LIB_${LIB_NAME}
NAMES ${ARROW_LIB_FULL_NAME}
- PATHS ${ARROW_LIB_DIR} ${ARROW_LIB64_DIR})
+ PATHS ${ARROW_LIB_DIR} ${ARROW_LIB64_DIR}
+ NO_DEFAULT_PATH)
+ if(NOT ARROW_LIB_${LIB_NAME})
+ find_library(ARROW_LIB_${LIB_NAME} NAMES ${ARROW_LIB_FULL_NAME})
+ endif()
if(NOT ARROW_LIB_${LIB_NAME})
message(FATAL_ERROR "Arrow library Not Found: ${ARROW_LIB_FULL_NAME}")
endif()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]