From 9c4f4f6cd3eaa050da31afdecbdac47e669bdb13 Mon Sep 17 00:00:00 2001 From: tytyzhu <3180105352@zju.edu.cn> Date: Tue, 20 Aug 2024 12:53:35 +0800 Subject: [PATCH] When I build lyra on Linux, I miss ERROR as "no such package '@gflags//': The repository '@gflags' could not be resolved: Repository '@gflags' is not defined and referenced by '@com_google_glog//:glog'".Check glog repo's WORKSPACE.bazel line 6 : bazel_dep(name = "gflags", version = "2.2.2"), so I fix this problem through change lyra repo's WORKSPACE.bazel line 100: name = "com_github_gflags_gflags", to name = "gflags", now it works well.(2024-08-20) --- WORKSPACE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WORKSPACE b/WORKSPACE index 388661cb..19abd13c 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -97,7 +97,7 @@ git_repository( ) # Dependency for glog git_repository( - name = "com_github_gflags_gflags", + name = "gflags", remote = "https://github.com/mchinen/gflags.git", branch = "android_linking_fix" )