From 4cd09377a5f5fdeec11f4ba526dda32ff3f146ef Mon Sep 17 00:00:00 2001 From: Jin Shang Date: Fri, 20 Jan 2023 15:56:03 +0000 Subject: [PATCH] GH-20272: [C++] Bump version of bundled AWS SDK --- cpp/cmake_modules/ThirdpartyToolchain.cmake | 6 ++++-- cpp/thirdparty/versions.txt | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 39044f956aad8..bcd5c809b75b9 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -4612,6 +4612,7 @@ endif() macro(build_awssdk) message(STATUS "Building AWS C++ SDK from source") set(AWSSDK_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/awssdk_ep-install") + set(AWSSDK_SOURCE "${CMAKE_CURRENT_BINARY_DIR}/awssdk_ep-prefix/src/awssdk_ep") set(AWSSDK_INCLUDE_DIR "${AWSSDK_PREFIX}/include") if(WIN32) @@ -4643,7 +4644,7 @@ macro(build_awssdk) set(AWSSDK_CMAKE_ARGS ${AWSSDK_COMMON_CMAKE_ARGS} -DOPENSSL_ROOT_DIR=${OPENSSL_ROOT_HINT} - -DBUILD_DEPS=OFF + -DBUILD_DEPS=ON # We need to build aws-crt-cpp from source -DBUILD_ONLY=config\\$s3\\$transfer\\$identity-management\\$sts -DMINIMIZE_SIZE=ON) @@ -4728,8 +4729,9 @@ macro(build_awssdk) "10") # Workaround for https://github.com/aws/aws-sdk-cpp/issues/1750 set(AWSSDK_PATCH_COMMAND "sed" "-i.bak" "-e" "s/\"-Werror\"//g" - "/cmake/compiler_settings.cmake") + "/cmake/compiler_settings.cmake" "&&") endif() + list(APPEND AWSSDK_PATCH_COMMAND "${AWSSDK_SOURCE}/prefetch_crt_dependency.sh") externalproject_add(awssdk_ep ${EP_COMMON_OPTIONS} diff --git a/cpp/thirdparty/versions.txt b/cpp/thirdparty/versions.txt index 2611944cf260e..8b083f48c3e6b 100644 --- a/cpp/thirdparty/versions.txt +++ b/cpp/thirdparty/versions.txt @@ -25,12 +25,12 @@ ARROW_ABSL_BUILD_VERSION=20211102.0 ARROW_ABSL_BUILD_SHA256_CHECKSUM=dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4 -ARROW_AWSSDK_BUILD_VERSION=1.8.133 -ARROW_AWSSDK_BUILD_SHA256_CHECKSUM=d6c495bc06be5e21dac716571305d77437e7cfd62a2226b8fe48d9ab5785a8d6 +ARROW_AWSSDK_BUILD_VERSION=1.10.55 +ARROW_AWSSDK_BUILD_SHA256_CHECKSUM=2d552fb1a84bef4a9b65e34aa7031851ed2aef5319e02cc6e4cb735c48aa30de ARROW_AWS_CHECKSUMS_BUILD_VERSION=v0.1.12 ARROW_AWS_CHECKSUMS_BUILD_SHA256_CHECKSUM=394723034b81cc7cd528401775bc7aca2b12c7471c92350c80a0e2fb9d2909fe -ARROW_AWS_C_COMMON_BUILD_VERSION=v0.6.9 -ARROW_AWS_C_COMMON_BUILD_SHA256_CHECKSUM=928a3e36f24d1ee46f9eec360ec5cebfe8b9b8994fe39d4fa74ff51aebb12717 +ARROW_AWS_C_COMMON_BUILD_VERSION=v0.8.9 +ARROW_AWS_C_COMMON_BUILD_SHA256_CHECKSUM=2f3fbaf7c38eae5a00e2a816d09b81177f93529ae8ba1b82dc8f31407565327a ARROW_AWS_C_EVENT_STREAM_BUILD_VERSION=v0.1.5 ARROW_AWS_C_EVENT_STREAM_BUILD_SHA256_CHECKSUM=f1b423a487b5d6dca118bfc0d0c6cc596dc476b282258a3228e73a8f730422d4 ARROW_BOOST_BUILD_VERSION=1.75.0