This is an automated email from the ASF dual-hosted git repository. jianliangqi pushed a commit to branch clucene in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
The following commit(s) were added to refs/heads/clucene by this push: new 467b1b5a5b1 [opt](compile) optimize icu library compilation (#280) 467b1b5a5b1 is described below commit 467b1b5a5b1c736546ef77965a88f0d8948a3ded Author: zzzxl <yangs...@selectdb.com> AuthorDate: Wed Feb 5 17:56:56 2025 +0800 [opt](compile) optimize icu library compilation (#280) --- cmake/FindICU.cmake | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmake/FindICU.cmake b/cmake/FindICU.cmake index 5d92a51777b..52b35cbe4c8 100644 --- a/cmake/FindICU.cmake +++ b/cmake/FindICU.cmake @@ -5,7 +5,7 @@ if(NOT TARGET icu) set(ICU_ARCHIVE "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/release-75-1.tar.gz") set(ICU_EXTRACT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty") set(ICU_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/icu/icu4c/source") - set(ICU_INSTALL_DIR "${ICU_SOURCE_DIR}/install") + set(ICU_INSTALL_DIR "${CMAKE_BINARY_DIR}/icu-build") set(ICU_INCLUDE_DIR "${ICU_INSTALL_DIR}/include") set(ICU_LIBRARY_DIR "${ICU_INSTALL_DIR}/lib") set(ICU_UC_LIB "${ICU_LIBRARY_DIR}/libicuuc.a") @@ -87,10 +87,10 @@ if(NOT TARGET icu) --enable-static --disable-samples --disable-tests + --enable-release WORKING_DIRECTORY "${ICU_SOURCE_DIR}" RESULT_VARIABLE configure_result OUTPUT_QUIET - ERROR_QUIET ) # Check if the configuration was successful @@ -107,7 +107,6 @@ if(NOT TARGET icu) WORKING_DIRECTORY "${ICU_SOURCE_DIR}" RESULT_VARIABLE build_result OUTPUT_QUIET - ERROR_QUIET ) # Check if the build was successful @@ -124,7 +123,6 @@ if(NOT TARGET icu) WORKING_DIRECTORY "${ICU_SOURCE_DIR}" RESULT_VARIABLE install_result OUTPUT_QUIET - ERROR_QUIET ) # Check if the install was successful --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org