bazel: Use glog 0.5.0 in README

Also, add a sha256 for gflags to avoid a build warning.
This commit is contained in:
Rodrigo Queiro 2021-05-09 20:53:49 +02:00 committed by Rodrigo Queiro
parent 8f9ccfe770
commit d5c04eec9e
2 changed files with 4 additions and 3 deletions

View File

@ -71,9 +71,9 @@ your ``WORKSPACE`` file:
http_archive( http_archive(
name = "com_github_google_glog", name = "com_github_google_glog",
sha256 = "62efeb57ff70db9ea2129a16d0f908941e355d09d6d83c9f7b18557c0a7ab59e", sha256 = "21bc744fb7f2fa701ee8db339ded7dce4f975d0d55837a97be7d46e8382dea5a",
strip_prefix = "glog-d516278b1cd33cd148e8989aec488b6049a4ca0b", strip_prefix = "glog-0.5.0",
urls = ["https://github.com/google/glog/archive/d516278b1cd33cd148e8989aec488b6049a4ca0b.zip"], urls = ["https://github.com/google/glog/archive/v0.5.0.zip"],
) )
You can then add :bazel:`@com_github_google_glog//:glog` to the deps section You can then add :bazel:`@com_github_google_glog//:glog` to the deps section

View File

@ -2,6 +2,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive( http_archive(
name = "com_github_gflags_gflags", name = "com_github_gflags_gflags",
sha256 = "34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf",
strip_prefix = "gflags-2.2.2", strip_prefix = "gflags-2.2.2",
urls = [ urls = [
"https://mirror.bazel.build/github.com/gflags/gflags/archive/v2.2.2.tar.gz", "https://mirror.bazel.build/github.com/gflags/gflags/archive/v2.2.2.tar.gz",