This is an automated email from the ASF dual-hosted git repository. hello-stephen pushed a commit to branch agent/branch41-arm-clang20-unused-function in repository https://gitbox.apache.org/repos/asf/doris.git
commit c49370c9943b5668a98b2475567822e92878a91a Author: lidongyang <[email protected]> AuthorDate: Wed Sep 2 06:49:05 2026 +0800 fix(thirdparty): declare Arrow LZO dependency --- thirdparty/patches/apache-arrow-24.0.0-lzo.patch | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/thirdparty/patches/apache-arrow-24.0.0-lzo.patch b/thirdparty/patches/apache-arrow-24.0.0-lzo.patch index d7076509756..3ddb33c7cab 100644 --- a/thirdparty/patches/apache-arrow-24.0.0-lzo.patch +++ b/thirdparty/patches/apache-arrow-24.0.0-lzo.patch @@ -1,3 +1,28 @@ +--- a/cpp/src/parquet/CMakeLists.txt ++++ b/cpp/src/parquet/CMakeLists.txt +@@ -116,6 +116,12 @@ endfunction() + # Link libraries setup + + # TODO(wesm): Handling of ABI/SO version ++find_path(LZO_INCLUDE_DIR NAMES lzo/lzo1x.h REQUIRED) ++find_library(LZO_LIBRARY NAMES lzo2 lzo REQUIRED) ++# The LZO page reader is a Doris patch. It is not an upstream Arrow ++# compression dependency, so declare its include and link requirements here. ++include_directories(SYSTEM "${LZO_INCLUDE_DIR}") ++link_libraries("${LZO_LIBRARY}") + + if(ARROW_BUILD_STATIC) + set(PARQUET_STATIC_LINK_LIBS arrow_static) +--- a/cpp/vcpkg.json ++++ b/cpp/vcpkg.json +@@ -43,6 +43,7 @@ + "grpc", + "gtest", + "lz4", ++ "lzo", + "openssl", + "orc", + "protobuf", --- a/cpp/src/parquet/column_reader.cc +++ b/cpp/src/parquet/column_reader.cc @@ -29,6 +29,8 @@ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
