Skip to content
Merged
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}`

## 20240529

- Added: azure-core 1.10.3

## 20240325

- Modified: arrow 13.0.0 -> 15.0.2
Expand Down
20 changes: 20 additions & 0 deletions thirdparty/build-thirdparty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1778,6 +1778,25 @@ build_base64() {
"${BUILD_SYSTEM}" install
}

# azure blob storage
build_azure() {
check_if_source_exist "${AZURE_SOURCE}"
cd "${TP_SOURCE_DIR}/${AZURE_SOURCE}"
azure_dir=$(pwd)

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

# We need use openssl 1.1.1n, which is already carried in vcpkg-custom-ports
AZURE_PORTS="vcpkg-custom-ports"
AZURE_MANIFEST_DIR="."

"${CMAKE_CMD}" -G "${GENERATOR}" -DVCPKG_MANIFEST_MODE=ON -DVCPKG_OVERLAY_PORTS="${azure_dir}/${AZURE_PORTS}" -DVCPKG_MANIFEST_DIR="${azure_dir}/${AZURE_MANIFEST_DIR}" -DWARNINGS_AS_ERRORS=FALSE -DCMAKE_INSTALL_PREFIX="${TP_INSTALL_DIR}" -DCMAKE_BUILD_TYPE=Release ..
"${BUILD_SYSTEM}" -j "${PARALLEL}"
"${BUILD_SYSTEM}" install
}

if [[ "${#packages[@]}" -eq 0 ]]; then
packages=(
libunixodbc
Expand Down Expand Up @@ -1844,6 +1863,7 @@ if [[ "${#packages[@]}" -eq 0 ]]; then
streamvbyte
ali_sdk
base64
azure
)
if [[ "$(uname -s)" == 'Darwin' ]]; then
read -r -a packages <<<"binutils gettext ${packages[*]}"
Expand Down
7 changes: 7 additions & 0 deletions thirdparty/vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,12 @@ BASE64_NAME="v0.5.2.tar.gz"
BASE64_SOURCE="base64-0.5.2"
BASE64_MD5SUM="49e5a6c98bd0192aedd16c16eec39974"

# azure blob
AZURE_DOWNLOAD="https://github.com/Azure/azure-sdk-for-cpp/archive/azure-core_1.10.3.tar.gz"
AZURE_NAME="azure-core_1.10.3.tar.gz"
AZURE_SOURCE="azure-sdk-for-cpp-azure-core_1.10.3"
AZURE_MD5SUM="aa470cfdba93dd69a6f3112a6958c13c"

# all thirdparties which need to be downloaded is set in array TP_ARCHIVES
export TP_ARCHIVES=(
'LIBEVENT'
Expand Down Expand Up @@ -583,6 +589,7 @@ export TP_ARCHIVES=(
'LIBUUID'
'ALI_SDK'
'BASE64'
'AZURE'
)

if [[ "$(uname -s)" == 'Darwin' ]]; then
Expand Down