Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions thirdparty/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This file contains version of the third-party dependency libraries in the build-env image. The docker build-env image is apache/doris, and the tag is `build-env-${version}`

## 20251127

- Added: crc32c-1.1.2

## 20251031

- Modified: librdkafka 1.9.2 -> 2.11.0
Expand Down
16 changes: 16 additions & 0 deletions thirdparty/build-thirdparty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,21 @@ build_lz4() {
make -j "${PARALLEL}" install PREFIX="${TP_INSTALL_DIR}" BUILD_SHARED=no INCLUDEDIR="${TP_INCLUDE_DIR}/lz4"
}

# crc32c
build_crc32c() {
check_if_source_exist "${CRC32C_SOURCE}"
cd "${TP_SOURCE_DIR}/${CRC32C_SOURCE}"

mkdir -p "${BUILD_DIR}"
cd "${BUILD_DIR}"

"${CMAKE_CMD}" -G "${GENERATOR}" -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCRC32C_BUILD_TESTS=0 -DCRC32C_BUILD_BENCHMARKS=0 -DCRC32C_USE_GLOG=OFF \
-DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX="${TP_INSTALL_DIR}" ..

"${BUILD_SYSTEM}" -j "${PARALLEL}" all install
}

# zstd
build_zstd() {
check_if_source_exist "${ZSTD_SOURCE}"
Expand Down Expand Up @@ -1959,6 +1974,7 @@ if [[ "${#packages[@]}" -eq 0 ]]; then
openssl
libevent
zlib
crc32c
lz4
bzip
lzo2
Expand Down
7 changes: 7 additions & 0 deletions thirdparty/vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ ZLIB_NAME=zlib-1.3.1.tar.gz
ZLIB_SOURCE=zlib-1.3.1
ZLIB_MD5SUM="9855b6d802d7fe5b7bd5b196a2271655"

# crc32c
CRC32C_DOWNLOAD="https://github.com/google/crc32c/archive/refs/tags/1.1.2.tar.gz"
CRC32C_NAME=crc32c-1.1.2.tar.gz
CRC32C_SOURCE=crc32c-1.1.2
CRC32C_MD5SUM="cc0338e6a60c38cab04a70a2c36cd9f2"

# lz4
LZ4_DOWNLOAD="https://github.com/lz4/lz4/archive/v1.9.4.tar.gz"
LZ4_NAME=lz4-1.9.4.tar.gz
Expand Down Expand Up @@ -559,6 +565,7 @@ export TP_ARCHIVES=(
'SNAPPY'
'GPERFTOOLS'
'ZLIB'
'CRC32C'
'LZ4'
'BZIP'
'LZO2'
Expand Down
Loading