Skip to content

Commit 64dbe8e

Browse files
committed
Upgrade abseil and gflags
1 parent 4e0d50e commit 64dbe8e

3 files changed

Lines changed: 18 additions & 6 deletions

File tree

envpool/workspace0.bzl

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,23 @@ def workspace():
6666
maybe(
6767
http_archive,
6868
name = "com_google_absl",
69-
sha256 = "497ebdc3a4885d9209b9bd416e8c3f71e7a1fb8af249f6c2a80b7cbeefcd7e21",
70-
strip_prefix = "abseil-cpp-20230802.1",
69+
sha256 = "05597c3c532197690a31ebad50a7c9c3fb682d3c5a681b20eb03655ffb4e9483",
70+
strip_prefix = "abseil-cpp-20260107.1",
7171
urls = [
72-
"https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.zip",
72+
"https://github.com/abseil/abseil-cpp/archive/refs/tags/20260107.1.zip",
7373
],
7474
)
7575

7676
maybe(
7777
http_archive,
7878
name = "com_github_gflags_gflags",
79-
sha256 = "34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf",
80-
strip_prefix = "gflags-2.2.2",
79+
sha256 = "f619a51371f41c0ad6837b2a98af9d4643b3371015d873887f7e8d3237320b2f",
80+
strip_prefix = "gflags-2.3.0",
8181
urls = [
82-
"https://github.com/gflags/gflags/archive/v2.2.2.tar.gz",
82+
"https://github.com/gflags/gflags/archive/v2.3.0.tar.gz",
83+
],
84+
patches = [
85+
"//third_party/gflags:rules_cc_defs.patch",
8386
],
8487
)
8588

third_party/gflags/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
exports_files(["rules_cc_defs.patch"])
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
--- bazel/gflags.bzl
2+
+++ bazel/gflags.bzl
3+
@@ -1,4 +1,4 @@
4+
-load("@rules_cc//cc:cc_library.bzl", "cc_library")
5+
+load("@rules_cc//cc:defs.bzl", "cc_library")
6+
load("//bazel/expanded_template:expanded_template.bzl", "expanded_template")
7+
8+
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)