branch-2.1: [feat](thirdparty) Add aws dentity-management and sts library for be and ry #49565 (#49684)

Cherry-picked from #49565

Co-authored-by: Lei Zhang <zhanglei@selectdb.com>
This commit is contained in:
github-actions[bot]
2025-04-06 21:22:52 +08:00
committed by GitHub
parent 0ea87fba6f
commit 08fc9eea0d

View File

@ -1345,7 +1345,7 @@ build_aws_sdk() {
"${CMAKE_CMD}" -G "${GENERATOR}" -B"${BUILD_DIR}" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX="${TP_INSTALL_DIR}" \
-DCMAKE_PREFIX_PATH="${TP_INSTALL_DIR}" -DBUILD_SHARED_LIBS=OFF -DENABLE_TESTING=OFF \
-DCURL_LIBRARY_RELEASE="${TP_INSTALL_DIR}/lib/libcurl.a" -DZLIB_LIBRARY_RELEASE="${TP_INSTALL_DIR}/lib/libz.a" \
-DBUILD_ONLY="core;s3;s3-crt;transfer" \
-DBUILD_ONLY="core;s3;s3-crt;transfer;identity-management;sts" \
-DCMAKE_CXX_FLAGS="-Wno-nonnull -Wno-deprecated-declarations ${warning_dangling_reference}" -DCPP_STANDARD=17
cd "${BUILD_DIR}"
@ -1368,6 +1368,8 @@ build_aws_sdk() {
strip_lib libaws-cpp-sdk-transfer.a
strip_lib libaws-checksums.a
strip_lib libaws-c-compression.a
strip_lib libaws-cpp-sdk-identity-management.a
strip_lib libaws-cpp-sdk-sts.a
}
# lzma