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 fc70656efc0 [fix](icu) Downgrade ICU version to support lower OS versions (#282) fc70656efc0 is described below commit fc70656efc096fb29bc9e9735ceb31995d7b955c Author: zzzxl <yangs...@selectdb.com> AuthorDate: Thu Feb 13 17:01:14 2025 +0800 [fix](icu) Downgrade ICU version to support lower OS versions (#282) --- cmake/FindICU.cmake | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cmake/FindICU.cmake b/cmake/FindICU.cmake index 52b35cbe4c8..3f6cd5f8965 100644 --- a/cmake/FindICU.cmake +++ b/cmake/FindICU.cmake @@ -1,8 +1,8 @@ if(NOT TARGET icu) message(STATUS "ICU target not found, checking for local sources...") - set(ICU_ARCHIVE_URL "https://github.com/unicode-org/icu/archive/refs/tags/release-75-1.tar.gz") - set(ICU_ARCHIVE "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/release-75-1.tar.gz") + set(ICU_ARCHIVE_URL "https://github.com/unicode-org/icu/archive/refs/tags/release-69-1.tar.gz") + set(ICU_ARCHIVE "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/release-69-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 "${CMAKE_BINARY_DIR}/icu-build") @@ -51,7 +51,7 @@ if(NOT TARGET icu) endif() # Rename the extracted directory - set(ICU_EXTRACTED_DIR "${ICU_EXTRACT_DIR}/icu-release-75-1") + set(ICU_EXTRACTED_DIR "${ICU_EXTRACT_DIR}/icu-release-69-1") set(ICU_RENAMED_DIR "${ICU_EXTRACT_DIR}/icu") # Check if the target directory already exists @@ -83,11 +83,12 @@ if(NOT TARGET icu) COMMAND ./configure --prefix=${ICU_INSTALL_DIR} - --disable-shared --enable-static - --disable-samples - --disable-tests + --disable-shared --enable-release + --disable-tests + --disable-samples + --disable-fuzzer WORKING_DIRECTORY "${ICU_SOURCE_DIR}" RESULT_VARIABLE configure_result OUTPUT_QUIET --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org