Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14b5e13
commit c415999
Showing
6 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module( | ||
name = "glog", | ||
version = "0.6.0", | ||
compatibility_level = 1, | ||
) | ||
bazel_dep(name = "gflags", version = "2.2.2", repo_name = "com_github_gflags_gflags") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- a/MODULE.bazel | ||
+++ a/MODULE.bazel | ||
@@ -0,0 +1,6 @@ | ||
+module( | ||
+ name = "glog", | ||
+ version = "0.6.0", | ||
+ compatibility_level = 1, | ||
+) | ||
+bazel_dep(name = "gflags", version = "2.2.2", repo_name = "com_github_gflags_gflags") |
13 changes: 13 additions & 0 deletions
13
modules/glog/0.6.0/patches/remove_only_the_first_leading_at.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/bazel/glog.bzl b/bazel/glog.bzl | ||
index 40833b4..bcbdc8a 100644 | ||
--- a/bazel/glog.bzl | ||
+++ b/bazel/glog.bzl | ||
@@ -33,7 +33,7 @@ def dict_union(x, y): | ||
|
||
def glog_library(namespace = "google", with_gflags = 1, **kwargs): | ||
if native.repository_name() != "@": | ||
- repo_name = native.repository_name().lstrip("@") | ||
+ repo_name = native.repository_name()[1:] # Strip the first leading @ | ||
gendir = "$(GENDIR)/external/" + repo_name | ||
src_windows = "external/%s/src/windows" % repo_name | ||
else: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
platforms: | ||
centos7: | ||
build_targets: | ||
- '@glog//:glog' | ||
debian10: | ||
build_targets: | ||
- '@glog//:glog' | ||
macos: | ||
build_targets: | ||
- '@glog//:glog' | ||
ubuntu2004: | ||
build_targets: | ||
- '@glog//:glog' | ||
windows: | ||
build_targets: | ||
- '@glog//:glog' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"integrity": "sha256-ioO/mC83u3CCXfcalwn6kOqfREf7PAmeHXIKQ52IutY=", | ||
"patch_strip": 1, | ||
"patches": { | ||
"remove_only_the_first_leading_at.patch": "sha256-ieceuBwB5MiGzs1ES3FKKLTCuHwxxERo2clZn5h8S3g=", | ||
"module_dot_bazel.patch": "sha256-lk2dSaMpmon+fNEP5KJeeXqkbsXYvRAcePQGwVMt2wg=" | ||
}, | ||
"strip_prefix": "glog-0.6.0", | ||
"url": "https://github.com/google/glog/archive/refs/tags/v0.6.0.tar.gz" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ | |
"github:google/glog" | ||
], | ||
"versions": [ | ||
"0.5.0" | ||
"0.5.0", | ||
"0.6.0" | ||
], | ||
"yanked_versions": {} | ||
} |