third_party/sentencepiece: add missing protobuf_lite dependency and bump version.

This commit is contained in:
Tarry Singh 2024-10-22 16:41:52 +00:00
parent 4ef81b89ea
commit 048d7eb38e
2 changed files with 4 additions and 3 deletions

View File

@ -1,9 +1,9 @@
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository") load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
def repo(): def repo():
new_git_repository( git_repository(
name = "com_google_sentencepiece", name = "com_google_sentencepiece",
remote = "https://github.com/google/sentencepiece.git", remote = "https://github.com/google/sentencepiece.git",
commit = "d8f741853847553169444afc12c00f4bbff3e9ce", commit = "273449044caa593c2fd7eb7550cb3ab2cff93f1a",
build_file = "//third_party/com_google_sentencepiece:sentencepiece.bazel", build_file = "//third_party/com_google_sentencepiece:sentencepiece.bazel",
) )

View File

@ -90,6 +90,7 @@ cc_library(
":darts_clone", ":darts_clone",
":sentencepiece_cc_proto", ":sentencepiece_cc_proto",
":sentencepiece_model_cc_proto", ":sentencepiece_model_cc_proto",
"@protobuf//:protobuf_lite",
"@zml//third_party/com_google_sentencepiece:absl", "@zml//third_party/com_google_sentencepiece:absl",
], ],
) )