Skip to content

Commit 5832c48

Browse files
committed
module.bazel
1 parent 8c9b2ce commit 5832c48

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

modules/opentelemetry-cpp/1.14.2/MODULE.bazel

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
module(
2-
name = "io_opentelemetry_cpp",
2+
name = "opentelemetry-cpp",
33
version = "1.14.2",
44
compatibility_level = 0,
5+
repo_name = "io_opentelemetry_cpp",
56
)
67

78
bazel_dep(name = "abseil-cpp", version = "20230802.0.bcr.1", repo_name = "com_google_absl")

modules/opentelemetry-cpp/1.14.2/patches/0001-Add-MODULE.bazel.patch

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
diff --git a/MODULE.bazel b/MODULE.bazel
2+
new file mode 100644
3+
index 00000000..749eaab9
14
--- /dev/null
25
+++ b/MODULE.bazel
3-
@@ -0,0 +1,32 @@
6+
@@ -0,0 +1,33 @@
47
+module(
5-
+ name = "io_opentelemetry_cpp",
8+
+ name = "opentelemetry-cpp",
69
+ version = "1.14.2",
710
+ compatibility_level = 0,
11+
+ repo_name = "io_opentelemetry_cpp",
812
+)
913
+
1014
+bazel_dep(name = "abseil-cpp", version = "20230802.0.bcr.1", repo_name = "com_google_absl")
@@ -33,7 +37,9 @@
3337
+ "com_github_opentelemetry_proto",
3438
+ "curl",
3539
+)
36-
40+
diff --git a/bazel/non_module_deps.bzl b/bazel/non_module_deps.bzl
41+
new file mode 100644
42+
index 00000000..e70d82d3
3743
--- /dev/null
3844
+++ b/bazel/non_module_deps.bzl
3945
@@ -0,0 +1,27 @@

modules/opentelemetry-cpp/1.14.2/presubmit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ tasks:
1010
- '--host_cxxopt=-std=c++14'
1111
- '--@//api:with_abseil=true'
1212
build_targets:
13-
- '@opentelemetry-cpp//...'
13+
- '@io_opentelemetry_cpp//...'

modules/opentelemetry-cpp/1.14.2/source.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"url": "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.14.2.tar.gz",
55
"patch_strip": 1,
66
"patches": {
7-
"0001-Add-MODULE.bazel.patch": "sha256-7dyR8DS8Om+OAnr/RsUx5txLhzhtciG/8C+h9XjwTmE="
7+
"0001-Add-MODULE.bazel.patch": "sha256-d/1VjVoP5o4qty3iB5kIdP52QkPquFtUoIB9UJQHu2o="
88
}
99
}

0 commit comments

Comments
 (0)