diff --git a/MODULE.bazel b/MODULE.bazel index 350dbd3..f8f3e41 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -39,11 +39,20 @@ bazel_dep(name = "boost.signals2", version = "1.87.0") bazel_dep(name = "boost.tuple", version = "1.87.0") # thirdparty -bazel_dep(name = "abseil-cpp", version = "20240116.2", repo_name = "com_google_absl") +bazel_dep(name = "abseil-cpp", version = "20250127.1", repo_name = "com_google_absl") +single_version_override( + module_name = "abseil-cpp", + # locked at 20250127.1 to be compatible with protobuf + # In newer versions, the target `if_constexpr` in `absl/utility/BUILD.bazel` + # that protobuf depends on has been removed or migrated. + version = "20250127.1", +) + bazel_dep(name = "cpplint", version = "2.0.2") bazel_dep(name = "eigen", version = "4.0.0-20241125.bcr.2") bazel_dep(name = "nlohmann_json", version = "3.12.0", repo_name = "com_github_nlohmann_json") bazel_dep(name = "gflags", version = "2.2.2", repo_name = "com_github_gflags_gflags") + # Note: build gflags as a shared library and make the third-party(pre-compiled # library such as paddleinference) link to it to keep only one copy of gflags # in one process