Skip to content

Commit

Permalink
Upgrade Abseil to latest LTS branch (lts_2023_08_0).
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 577965860
  • Loading branch information
tensorflower-gardener authored and copybara-github committed Oct 30, 2023
1 parent 2aa4e5d commit 3c5472b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 73 deletions.
65 changes: 0 additions & 65 deletions third_party/absl/absl_designated_initializers.patch

This file was deleted.

7 changes: 2 additions & 5 deletions third_party/absl/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def repo():

# Attention: tools parse and update these lines.
# LINT.IfChange
ABSL_COMMIT = "b971ac5250ea8de900eae9f95e06548d14cd95fe"
ABSL_SHA256 = "8eeec9382fc0338ef5c60053f3a4b0e0708361375fe51c9e65d0ce46ccfe55a7"
ABSL_COMMIT = "fb3621f4f897824c0dbe0615fa94543df6192f30"
ABSL_SHA256 = "0320586856674d16b0b7a4d4afb22151bdc798490bb7f295eddd8f6a62b46fea"
# LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/abseil-cpp.cmake)

SYS_DIRS = [
Expand Down Expand Up @@ -42,9 +42,6 @@ def repo():
build_file = "//third_party/absl:com_google_absl.BUILD",
system_build_file = "//third_party/absl:system.BUILD",
system_link_files = SYS_LINKS,
# This patch pulls in a fix for designated initializers that MSVC
# complains about. It shouldn't be necessary at the next LTS release.
patch_file = ["//third_party/absl:absl_designated_initializers.patch"],
strip_prefix = "abseil-cpp-{commit}".format(commit = ABSL_COMMIT),
urls = tf_mirror_urls("https://github.com/abseil/abseil-cpp/archive/{commit}.tar.gz".format(commit = ABSL_COMMIT)),
)
6 changes: 3 additions & 3 deletions tools/def_file_filter/def_file_filter.py.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ def main():
def_fp.write("\t ??_7ConfigProto@tensorflow@@6B@\n") # for _pywrap_tfe
def_fp.write("\t ??_7CoordinatedTask@tensorflow@@6B@\n") # for _pywrap_tfe
def_fp.write("\t ?InternalSwap@CoordinatedTask@tensorflow@@AEAAXPEAV12@@Z\n") # for _pywrap_tfe
def_fp.write("\t ?kSeed@MixingHashState@hash_internal@lts_20230125@absl@@0QEBXEB\n") # for _pywrap_tfcompile
def_fp.write("\t ?kEmptyGroup@container_internal@lts_20230125@absl@@3QBW4ctrl_t@123@B\n") # for _pywrap_tfcompile
def_fp.write("\t ?kSeed@MixingHashState@hash_internal@lts_20230802@absl@@0QEBXEB\n") # for _pywrap_tfcompile
def_fp.write("\t ?kEmptyGroup@container_internal@lts_20230802@absl@@3QBW4ctrl_t@123@B\n") # for _pywrap_tfcompile
def_fp.write("\t ??_7GraphDef@tensorflow@@6B@\n")
def_fp.write("\t ??_7DeviceProperties@tensorflow@@6B@\n")
def_fp.write("\t ??_7MetaGraphDef@tensorflow@@6B@\n")
Expand All @@ -310,7 +310,7 @@ def main():
def_fp.write("\t ??1CoordinatedTask@tensorflow@@UEAA@XZ\n") # for _pywrap_tfe
def_fp.write("\t ?CopyFrom@CoordinatedTask@tensorflow@@QEAAXAEBV12@@Z\n") # for _pywrap_tfe
def_fp.write("\t ??0CoordinatedTask@tensorflow@@IEAA@PEAVArena@protobuf@google@@_N@Z\n") # for _pywrap_tfe
def_fp.write("\t ?MaybeTrackCordImpl@CordzInfo@cord_internal@lts_20230125@absl@@CAXAEAVInlineData@234@AEBV5234@W4MethodIdentifier@CordzUpdateTracker@234@@Z\n") # for tensorflow::Status usage of absl::Cord
def_fp.write("\t ?MaybeTrackCordImpl@CordzInfo@cord_internal@lts_20230802@absl@@CAXAEAVInlineData@234@AEBV5234@W4MethodIdentifier@CordzUpdateTracker@234@@Z\n") # for tensorflow::Status usage of absl::Cord


# Each symbols returned by undname matches the same position in candidates.
Expand Down

0 comments on commit 3c5472b

Please sign in to comment.