opentelemetry-cpp: add opentelemtry recipe
PATCH 1/1 opentelemetry-cpp: add opentelemtry recipe
An Observability framework to create and manage telemetry data such as traces, metrics, and logs
--- .../opentelemetry/opentelemetry-cpp_1.15.0.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb
meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "Open Telemetry Library" +DESCRIPTION = "An Observability framework to create and manage telemetry data \ +such as traces, metrics, and logs." +HOMEPAGE = "https://github.com/open-telemetry/opentelemetry-cpp" +SECTION = "libs" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +DEPENDS = "nlohmann-json" + +SRC_URI = "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v${PV}.tar.gz" +SRC_URI[sha256sum] = "69b0fef380658e15be9d817bfcb32e3f5de96da652bcdce77b4e750ed8beddee" + +S = "${WORKDIR}/opentelemetry-cpp-${PV}" + +inherit cmake pkgconfig lib_package +EXTRA_OECMAKE = "-DOPENTELEMETRY_INSTALL=ON -DBUILD_PACKAGE=OFF -DWITH_OTLP_API=ON -DWITH_OTLP_GRPC=OFF -DWITH_OTLP_HTTP=OFF -DWITH_PROMETHEUS=OFF -DWITH_BENCHMARK=OFF -DBUILD_TESTING=OFF"
Signature · 1 line
2.40.1
Quoted 4 lines · Abhilash Raju via lists.openembedded.org
An Observability framework to create and manage telemetry data such as traces, metrics, and logs
Thanks for your patch, I have a few comments below.
Quoted 13 lines
Signed-off-by Abhilash Raju <[email protected]>--- .../opentelemetry/opentelemetry-cpp_1.15.0.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bbmeta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb new file +1
-0@@ -0,0 +1,17 @@ +SUMMARY = "Open Telemetry Library"
meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb line 11
Quoted 10 lines
meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb new file +10
-0+DESCRIPTION = "An Observability framework to create and manage telemetry data \ +such as traces, metrics, and logs." +HOMEPAGE = "https://github.com/open-telemetry/opentelemetry-cpp" +SECTION = "libs" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +DEPENDS = "nlohmann-json" + +SRC_URI = "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v${PV}.tar.gz"
github archives can be regenerated and hence we do not use them unless the release archives are created explicitly. So please convert it into a git fetcher based SRC_URI pointing SRCREV at 1.15.0 SHA
meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb line 17
Quoted 6 lines
meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb new file +6
-0+SRC_URI[sha256sum] = "69b0fef380658e15be9d817bfcb32e3f5de96da652bcdce77b4e750ed8beddee" + +S = "${WORKDIR}/opentelemetry-cpp-${PV}" + +inherit cmake pkgconfig lib_package +EXTRA_OECMAKE = "-DOPENTELEMETRY_INSTALL=ON -DBUILD_PACKAGE=OFF -DWITH_OTLP_API=ON -DWITH_OTLP_GRPC=OFF -DWITH_OTLP_HTTP=OFF -DWITH_PROMETHEUS=OFF -DWITH_BENCHMARK=OFF -DBUILD_TESTING=OFF"
All these look good candidates for PACKAGECONFIG elements, so please convert them
Quoted 12 lines
--
2.40.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110401): https://lists.openembedded.org/g/openembedded-devel/message/110401
Mute This Topic: https://lists.openembedded.org/mt/106109161/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 29 lines · Abhilash Raju
An Observability framework to create and manage telemetry data such as
traces, metrics, and logsSigned-off-by Abhilash Raju <[email protected]>---
.../opentelemetry/opentelemetry-cpp_1.15.0.bb | 17
+++++++++++++++++1 file changed, 17 insertions(+)create mode 100644 meta-oe/recipes-
support/opentelemetry/opentelemetry-cpp_1.15.0.bb(quoted diff) +0
-0cpp_1.15.0.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry- cpp_1.15.0.bb
new file mode 100644
index 000000000..85df5be82meta-oe/recipes-support/opentelemetry/opentelemetry- new file +0
-0cpp_1.15.0.bb
meta-oe/recipes-support/opentelemetry/opentelemetry- new file +2
-0@@ -0,0 +1,17 @@ +SUMMARY = "Open Telemetry Library" +DESCRIPTION = "An Observability framework to create and managetelemetry data \
meta-oe/recipes-support/opentelemetry/opentelemetry- new file +5
-0+such as traces, metrics, and logs." +HOMEPAGE = "https://github.com/open-telemetry/opentelemetry-cpp" +SECTION = "libs" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM =
Quoted 1 line
"file://${S}/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
${S} shouldn't be needed here.
meta-oe/recipes-support/opentelemetry/opentelemetry-
Quoted 10 lines
meta-oe/recipes-support/opentelemetry/opentelemetry- new file +4
-0+ +DEPENDS = "nlohmann-json" + +SRC_URI ="https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tag s/v${PV}.tar.gz"
+SRC_URI[sha256sum] = "69b0fef380658e15be9d817bfcb32e3f5de96da652bcdce77b4e750ed8beddee"meta-oe/recipes-support/opentelemetry/opentelemetry- new file +2
-0+ +S = "${WORKDIR}/opentelemetry-cpp-${PV}"
This is default so shouldn't be needed.
https://git.yoctoproject.org/poky/tree/meta/conf/bitbake.conf#n411
Done.
Quoted 49 lines · Anuj
Quoted 29 lines · Abhilash Raju
An Observability framework to create and manage telemetry data such as
traces, metrics, and logsSigned-off-by Abhilash Raju <[email protected]>--- .../opentelemetry/opentelemetry-cpp_1.15.0.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb
(quoted diff) +0
-0cpp_1.15.0.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry- cpp_1.15.0.bb
new file mode 100644
index 000000000..85df5be82meta-oe/recipes-support/opentelemetry/opentelemetry- new file +0
-0cpp_1.15.0.bb
meta-oe/recipes-support/opentelemetry/opentelemetry- new file +2
-0@@ -0,0 +1,17 @@ +SUMMARY = "Open Telemetry Library" +DESCRIPTION = "An Observability framework to create and managetelemetry data \
meta-oe/recipes-support/opentelemetry/opentelemetry- new file +5
-0+such as traces, metrics, and logs." +HOMEPAGE = "https://github.com/open-telemetry/opentelemetry-cpp" +SECTION = "libs" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM =Quoted 1 line
"file://${S}/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
${S} shouldn't be needed here.
meta-oe/recipes-support/opentelemetry/opentelemetry-
Quoted 10 lines
meta-oe/recipes-support/opentelemetry/opentelemetry- new file +4
-0+ +DEPENDS = "nlohmann-json" + +SRC_URI ="https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tag s/v${PV}.tar.gz"
+SRC_URI[sha256sum] = "69b0fef380658e15be9d817bfcb32e3f5de96da652bcdce77b4e750ed8beddee"meta-oe/recipes-support/opentelemetry/opentelemetry- new file +2
-0+ +S = "${WORKDIR}/opentelemetry-cpp-${PV}"This is default so shouldn't be needed.
https://git.yoctoproject.org/poky/tree/meta/conf/bitbake.conf#n411