Skip to content

Commit fabd8cc

Browse files
authored
[CI] Upgrade to abseil 20240116.1 (CMake only) (#2599)
1 parent 3adcc79 commit fabd8cc

File tree

5 files changed

+18
-5
lines changed

5 files changed

+18
-5
lines changed

api/CMakeLists.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,14 @@ if(WITH_ABSEIL)
4040
target_link_libraries(
4141
opentelemetry_api INTERFACE absl::bad_variant_access absl::any absl::base
4242
absl::bits absl::city)
43-
list(APPEND TARGET_DEPS "absl_bad_variant_access" "absl_any absl_base"
44-
"absl_bits" "absl_city")
43+
list(
44+
APPEND
45+
TARGET_DEPS
46+
"absl_bad_variant_access"
47+
"absl_any"
48+
"absl_base"
49+
"absl_bits"
50+
"absl_city")
4551
endif()
4652

4753
if(WITH_STL STREQUAL "OFF")

bazel/repository.bzl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ def opentelemetry_cpp_deps():
5555

5656
# Load abseil dependency(optional)
5757
maybe(
58+
#
59+
# Important note:
60+
#
61+
# The bazel build still uses abseil-cpp-20220623.1 here.
62+
#
63+
# Upgrading to abseil-cpp-20240116.1 breaks the OTLP build, reason unknown.
64+
#
5865
http_archive,
5966
name = "com_google_absl",
6067
sha256 = "91ac87d30cc6d79f9ab974c51874a704de9c2647c40f6932597329a282217ba8",

ci/do_ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ elif [[ "$1" == "code.coverage" ]]; then
529529
exit 0
530530
elif [[ "$1" == "third_party.tags" ]]; then
531531
echo "gRPC=v1.49.2" > third_party_release
532-
echo "abseil=20220623.1" >> third_party_release
532+
echo "abseil=20240116.1" >> third_party_release
533533
git submodule foreach --quiet 'echo "$name=$(git describe --tags HEAD)"' | sed 's:.*/::' >> third_party_release
534534
exit 0
535535
fi

ci/install_abseil.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
set -ex
77
export DEBIAN_FRONTEND=noninteractive
8-
[ -z "${ABSEIL_CPP_VERSION}" ] && export ABSEIL_CPP_VERSION="20220623.1"
8+
[ -z "${ABSEIL_CPP_VERSION}" ] && export ABSEIL_CPP_VERSION="20240116.1"
99

1010
BUILD_DIR=/tmp/
1111
INSTALL_DIR=/usr/local/

third_party_release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515

1616
gRPC=v1.49.2
17-
abseil=20220623.1
17+
abseil=20240116.1
1818
benchmark=v1.8.3
1919
googletest=1.14.0
2020
ms-gsl=v3.1.0-67-g6f45293

0 commit comments

Comments
 (0)