From 685240e897e8c1d5fcd341343dbcf793b255e5b0 Mon Sep 17 00:00:00 2001 From: Alessandro Molina Date: Thu, 4 Jul 2024 11:25:41 +0200 Subject: [PATCH 1/3] Update ABSEIL --- cpp/thirdparty/versions.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/thirdparty/versions.txt b/cpp/thirdparty/versions.txt index ab988badec145..9fa9f4a3df611 100644 --- a/cpp/thirdparty/versions.txt +++ b/cpp/thirdparty/versions.txt @@ -23,8 +23,8 @@ # `DEPENDENCIES` array (see the comment on top of the declaration for the # format). -ARROW_ABSL_BUILD_VERSION=20211102.0 -ARROW_ABSL_BUILD_SHA256_CHECKSUM=dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4 +ARROW_ABSL_BUILD_VERSION=20220623.2 +ARROW_ABSL_BUILD_SHA256_CHECKSUM=773652c0fc276bcd5c461668dc112d0e3b6cde499600bfe3499c5fdda4ed4a5b ARROW_AWS_C_AUTH_BUILD_VERSION=v0.6.22 ARROW_AWS_C_AUTH_BUILD_SHA256_CHECKSUM=691a6b4418afcd3dc141351b6ad33fccd8e3ff84df0e9e045b42295d284ee14c ARROW_AWS_C_CAL_BUILD_VERSION=v0.5.20 From 8f40afb843932bb57cb8edea27c7687bf31c498b Mon Sep 17 00:00:00 2001 From: Alessandro Molina Date: Thu, 4 Jul 2024 12:25:18 +0200 Subject: [PATCH 2/3] Propagate to Absail the C++ version used by Arrow --- cpp/cmake_modules/ThirdpartyToolchain.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 5b89a831ff7fe..d9a35d37b27f1 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -2881,7 +2881,7 @@ macro(build_absl) set(ABSL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/absl_ep-install") set(ABSL_INCLUDE_DIR "${ABSL_PREFIX}/include") set(ABSL_CMAKE_ARGS "${EP_COMMON_CMAKE_ARGS}" -DABSL_RUN_TESTS=OFF - "-DCMAKE_INSTALL_PREFIX=${ABSL_PREFIX}") + "-DCMAKE_INSTALL_PREFIX=${ABSL_PREFIX}" -DABSL_PROPAGATE_CXX_STD=ON) set(ABSL_BUILD_BYPRODUCTS) set(ABSL_LIBRARIES) From a4ece1bea402d537e930e428a68da5b586d03286 Mon Sep 17 00:00:00 2001 From: Alessandro Molina Date: Thu, 4 Jul 2024 16:02:40 +0200 Subject: [PATCH 3/3] Add absl::strerror linking --- cpp/cmake_modules/ThirdpartyToolchain.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index d9a35d37b27f1..d2a2812983fdc 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -3690,6 +3690,7 @@ macro(build_absl) absl::strings absl::cord absl::str_format + absl::strerror absl::optional) set_property(TARGET absl::statusor PROPERTY INTERFACE_LINK_LIBRARIES