-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Even though this repository is already archived, there are still many consumers which fall back to module extensions. Uploading this to allow at least using a module dependency until consumers are migrated. Using the latest commit as it contains several unreleased fixes (for example adding compatibility for newer abseil-cpp versions).
- Loading branch information
Showing
5 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
modules/opencensus-cpp/0.0.0-20230502-50eb5de/MODULE.bazel
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,26 @@ | ||
module( | ||
name = "opencensus-cpp", | ||
version = "0.0.0-20230502-50eb5de", | ||
repo_name = "io_opencensus_cpp", | ||
) | ||
|
||
bazel_dep(name = "abseil-cpp", version = "20240722.0", repo_name = "com_google_absl") | ||
bazel_dep(name = "bazel_skylib", version = "1.7.1") | ||
bazel_dep(name = "boringssl", version = "0.20240913.0") # Bump transitive dependency for copmatibility with newer compilers | ||
bazel_dep(name = "civetweb", version = "1.16", dev_dependency = True) | ||
bazel_dep(name = "curl", version = "8.7.1", repo_name = "com_github_curl") | ||
bazel_dep(name = "google_benchmark", version = "1.8.4", repo_name = "com_github_google_benchmark") | ||
bazel_dep(name = "googleapis", version = "0.0.0-20240819-fe8ba054a", repo_name = "com_google_googleapis") | ||
bazel_dep(name = "googletest", version = "1.15.2", repo_name = "com_google_googletest") | ||
bazel_dep(name = "grpc", version = "1.66.0.bcr.3", repo_name = "com_github_grpc_grpc") | ||
bazel_dep(name = "opencensus-proto", version = "0.4.1", repo_name = "opencensus_proto") | ||
bazel_dep(name = "prometheus-cpp", version = "1.3.0", repo_name = "com_github_jupp0r_prometheus_cpp") | ||
bazel_dep(name = "protobuf", version = "29.0", repo_name = "com_google_protobuf") | ||
bazel_dep(name = "rapidjson", version = "1.1.0.bcr.20241007", repo_name = "com_github_tencent_rapidjson") | ||
bazel_dep(name = "zlib", version = "1.3.1.bcr.3") | ||
|
||
switched_rules = use_extension("@com_google_googleapis//:extensions.bzl", "switched_rules") | ||
switched_rules.use_languages( | ||
cc = True, | ||
grpc = True, | ||
) |
32 changes: 32 additions & 0 deletions
32
modules/opencensus-cpp/0.0.0-20230502-50eb5de/patches/module_dot_bazel.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,32 @@ | ||
diff --git a/MODULE.bazel b/MODULE.bazel | ||
new file mode 100644 | ||
index 0000000..839aaef | ||
--- /dev/null | ||
+++ b/MODULE.bazel | ||
@@ -0,0 +1,26 @@ | ||
+module( | ||
+ name = "opencensus-cpp", | ||
+ version = "0.0.0-20230502-50eb5de", | ||
+ repo_name = "io_opencensus_cpp", | ||
+) | ||
+ | ||
+bazel_dep(name = "abseil-cpp", version = "20240722.0", repo_name = "com_google_absl") | ||
+bazel_dep(name = "bazel_skylib", version = "1.7.1") | ||
+bazel_dep(name = "boringssl", version = "0.20240913.0") # Bump transitive dependency for copmatibility with newer compilers | ||
+bazel_dep(name = "civetweb", version = "1.16", dev_dependency = True) | ||
+bazel_dep(name = "curl", version = "8.7.1", repo_name = "com_github_curl") | ||
+bazel_dep(name = "google_benchmark", version = "1.8.4", repo_name = "com_github_google_benchmark") | ||
+bazel_dep(name = "googleapis", version = "0.0.0-20240819-fe8ba054a", repo_name = "com_google_googleapis") | ||
+bazel_dep(name = "googletest", version = "1.15.2", repo_name = "com_google_googletest") | ||
+bazel_dep(name = "grpc", version = "1.66.0.bcr.3", repo_name = "com_github_grpc_grpc") | ||
+bazel_dep(name = "opencensus-proto", version = "0.4.1", repo_name = "opencensus_proto") | ||
+bazel_dep(name = "prometheus-cpp", version = "1.3.0", repo_name = "com_github_jupp0r_prometheus_cpp") | ||
+bazel_dep(name = "protobuf", version = "29.0", repo_name = "com_google_protobuf") | ||
+bazel_dep(name = "rapidjson", version = "1.1.0.bcr.20241007", repo_name = "com_github_tencent_rapidjson") | ||
+bazel_dep(name = "zlib", version = "1.3.1.bcr.3") | ||
+ | ||
+switched_rules = use_extension("@com_google_googleapis//:extensions.bzl", "switched_rules") | ||
+switched_rules.use_languages( | ||
+ cc = True, | ||
+ grpc = True, | ||
+) |
20 changes: 20 additions & 0 deletions
20
modules/opencensus-cpp/0.0.0-20230502-50eb5de/presubmit.yml
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,20 @@ | ||
matrix: | ||
platform: | ||
- debian10 | ||
- ubuntu2004 | ||
- macos | ||
- macos_arm64 | ||
bazel: | ||
- 7.x | ||
- 8.x | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
build_flags: | ||
- '--cxxopt=-std=c++17' | ||
- '--host_cxxopt=-std=c++17' | ||
build_targets: | ||
- '@opencensus-cpp//opencensus/...' | ||
- '-@opencensus-cpp//opencensus/exporters/...' |
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 @@ | ||
{ | ||
"url": "https://github.com/census-instrumentation/opencensus-cpp/archive/50eb5de762e5f87e206c011a4f930adb1a1775b1.tar.gz", | ||
"integrity": "sha256-44V+EmfLYymnsjIJzoohCLjyZOSt8zZ3YyP7Fj+iP5o=", | ||
"strip_prefix": "opencensus-cpp-50eb5de762e5f87e206c011a4f930adb1a1775b1", | ||
"patches": { | ||
"module_dot_bazel.patch": "sha256-ug60b3gk0eF5aDTi+UkGkRA/iZuKTVc3+veOtaT5GB4=" | ||
}, | ||
"patch_strip": 1 | ||
} |
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 @@ | ||
{ | ||
"homepage": "https://github.com/census-instrumentation/opencensus-cpp", | ||
"maintainers": [ | ||
{ | ||
"email": "[email protected]", | ||
"name": "No Maintainer Specified" | ||
} | ||
], | ||
"repository": [ | ||
"github:census-instrumentation/opencensus-cpp" | ||
], | ||
"versions": [ | ||
"0.0.0-20230502-50eb5de" | ||
], | ||
"yanked_versions": {} | ||
} |