From f9246d6cbf6e70ae5e7afa4a2317c1237380576d Mon Sep 17 00:00:00 2001 From: lxy264173 Date: Thu, 13 Aug 2026 16:13:47 +0800 Subject: [PATCH 1/2] build(lucene): use official Boost source archive --- cmake_modules/ThirdpartyToolchain.cmake | 5 ++--- third_party/versions.txt | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cmake_modules/ThirdpartyToolchain.cmake b/cmake_modules/ThirdpartyToolchain.cmake index bd3ed2a05..dc1edabc8 100644 --- a/cmake_modules/ThirdpartyToolchain.cmake +++ b/cmake_modules/ThirdpartyToolchain.cmake @@ -324,7 +324,7 @@ elseif(EXISTS "${THIRDPARTY_DIR}/${PAIMON_BOOST_PKG_NAME}") set_urls(BOOST_SOURCE_URL "${THIRDPARTY_DIR}/${PAIMON_BOOST_PKG_NAME}") else() set_urls(BOOST_SOURCE_URL - "https://paimon-cpp.oss-cn-beijing.aliyuncs.com/thirdparty/boost/${PAIMON_BOOST_PKG_NAME}" + "https://archives.boost.io/release/1.66.0/source/${PAIMON_BOOST_PKG_NAME}" ) endif() @@ -1021,8 +1021,7 @@ macro(build_boost) --user-config=${BOOST_USER_CONFIG} toolset=${BOOST_TOOLSET} cxxflags=${EP_CXX_FLAGS} linkflags=${EP_CXX_FLAGS} install - INSTALL_COMMAND bash -c - "mkdir -p ${BOOST_INSTALL}/include/boost && cp -r ${BOOST_PREFIX}/src/boost_ep/libs/*/include/boost/* ${BOOST_INSTALL}/include/boost && cp -r ${BOOST_PREFIX}/src/boost_ep/libs/*/*/include/boost/* ${BOOST_INSTALL}/include/boost" + INSTALL_COMMAND "" DEPENDS zlib BUILD_BYPRODUCTS ${BOOST_BYPRODUCTS} LOG_DOWNLOAD ON diff --git a/third_party/versions.txt b/third_party/versions.txt index 263a3a21f..2e20dc72f 100644 --- a/third_party/versions.txt +++ b/third_party/versions.txt @@ -144,7 +144,7 @@ PAIMON_JIEBA_BUILD_SHA256_CHECKSUM=e6e517b778e0f4a99cbed1ee3eaa041616b74bc685e03 PAIMON_JIEBA_PKG_NAME=jieba-${PAIMON_JIEBA_BUILD_VERSION}.tar.gz PAIMON_BOOST_BUILD_VERSION=1_66_0 -PAIMON_BOOST_BUILD_SHA256_CHECKSUM=28e9200637800fbfd1292b2c6876189dba7e8e1c5282c71fac6515e96f7af2b0 +PAIMON_BOOST_BUILD_SHA256_CHECKSUM=bd0df411efd9a585e5a2212275f8762079fed8842264954675a4fddc46cfcf60 PAIMON_BOOST_PKG_NAME=boost_${PAIMON_BOOST_BUILD_VERSION}.tar.gz # The first field is the name of the environment variable expected by cmake. @@ -184,5 +184,5 @@ DEPENDENCIES=( "PAIMON_LUCENE_URL ${PAIMON_LUCENE_PKG_NAME} ${THIRDPARTY_MIRROR_URL}https://github.com/luceneplusplus/LucenePlusPlus/archive/refs/tags/rel_${PAIMON_LUCENE_BUILD_VERSION}.tar.gz" "PAIMON_LIMONP_URL ${PAIMON_LIMONP_PKG_NAME} ${THIRDPARTY_MIRROR_URL}https://github.com/yanyiwu/limonp/archive/refs/tags/v${PAIMON_LIMONP_BUILD_VERSION}.tar.gz" "PAIMON_JIEBA_URL ${PAIMON_JIEBA_PKG_NAME} ${THIRDPARTY_MIRROR_URL}https://github.com/yanyiwu/cppjieba/archive/refs/tags/${PAIMON_JIEBA_BUILD_VERSION}.tar.gz" - "PAIMON_BOOST_URL ${PAIMON_BOOST_PKG_NAME} https://paimon-cpp.oss-cn-beijing.aliyuncs.com/thirdparty/boost/${PAIMON_BOOST_PKG_NAME}" + "PAIMON_BOOST_URL ${PAIMON_BOOST_PKG_NAME} https://archives.boost.io/release/1.66.0/source/${PAIMON_BOOST_PKG_NAME}" ) From ed1da5f3d5b73637fa6995cfd82013a217071e2c Mon Sep 17 00:00:00 2001 From: lxy264173 Date: Thu, 13 Aug 2026 17:15:26 +0800 Subject: [PATCH 2/2] fix pre-commit --- cmake_modules/ThirdpartyToolchain.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake_modules/ThirdpartyToolchain.cmake b/cmake_modules/ThirdpartyToolchain.cmake index dc1edabc8..776519104 100644 --- a/cmake_modules/ThirdpartyToolchain.cmake +++ b/cmake_modules/ThirdpartyToolchain.cmake @@ -324,8 +324,7 @@ elseif(EXISTS "${THIRDPARTY_DIR}/${PAIMON_BOOST_PKG_NAME}") set_urls(BOOST_SOURCE_URL "${THIRDPARTY_DIR}/${PAIMON_BOOST_PKG_NAME}") else() set_urls(BOOST_SOURCE_URL - "https://archives.boost.io/release/1.66.0/source/${PAIMON_BOOST_PKG_NAME}" - ) + "https://archives.boost.io/release/1.66.0/source/${PAIMON_BOOST_PKG_NAME}") endif() if(APPLE)