Re: [oe] [PATCH] opentelemetry-cpp: add opentelemtry recipe
Done. On Wed, May 15, 2024 at 1:34 PM Mittal, Anuj wrote: > On Wed, 2024-05-15 at 00:20 -0500, Abhilash Raju wrote: > > An Observability framework to create and manage telemetry data such > > as > > traces, metrics, and logs > > > > Signed-off-by: Abhilash Raju > > --- > > .../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 > > > > diff --git a/meta-oe/recipes-support/opentelemetry/opentelemetry- > > cpp_1.15.0.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry- > > cpp_1.15.0.bb > > new file mode 100644 > > index 0..85df5be82 > > --- /dev/null > > +++ b/meta-oe/recipes-support/opentelemetry/opentelemetry- > > cpp_1.15.0.bb > > @@ -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" > > ${S} shouldn't be needed here. > > > + > > +DEPENDS = "nlohmann-json" > > + > > +SRC_URI = > > "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tag > > s/v${PV}.tar.gz" > > +SRC_URI[sha256sum] = > > "69b0fef380658e15be9d817bfcb32e3f5de96da652bcdce77b4e750ed8beddee" > > + > > +S = "${WORKDIR}/opentelemetry-cpp-${PV}" > > This is default so shouldn't be needed. > > https://git.yoctoproject.org/poky/tree/meta/conf/bitbake.conf#n411 > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#110610): https://lists.openembedded.org/g/openembedded-devel/message/110610 Mute This Topic: https://lists.openembedded.org/mt/106109161/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH v3
An Observability framework to create and manage telemetry data such as traces, metrics, and logs Signed-off-by: Abhilash Raju --- .../opentelemetry/opentelemetry-cpp_1.15.0.bb | 26 +++ 1 file changed, 26 insertions(+) create mode 100644 meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb diff --git a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb new file mode 100644 index 0..88033e58c --- /dev/null +++ b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb @@ -0,0 +1,26 @@ +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://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +DEPENDS = "nlohmann-json" + +SRC_URI = "git://github.com/open-telemetry/opentelemetry-cpp.git;protocol=https;branch=main;" +SRCREV = "054b0dc207c1f58e290d78cdaac5f314bc328b31" + +S = "${WORKDIR}/git" +inherit cmake pkgconfig lib_package + +PACKAGECONFIG ?= "opentelemety_install otlp_api" + +PACKAGECONFIG[opentelemety_install]="-DOPENTELEMETRY_INSTALL=ON,-DOPENTELEMETRY_INSTALL=OFF" +PACKAGECONFIG[build_package]="-DBUILD_PACKAGE=ON,-DBUILD_PACKAGE=OFF" +PACKAGECONFIG[otlp_api]="-DWITH_OTLP_API=ON,-DWITH_OTLP_API=OFF" +PACKAGECONFIG[otlp_grpc]="-DWITH_OTLP_GRPC=ON,-DWITH_OTLP_GRPC=OFF" +PACKAGECONFIG[otlp_http]="-DWITH_OTLP_HTTP=ON,-DWITH_OTLP_HTTP=OFF" +PACKAGECONFIG[otlp_prometheus]="-DWITH_PROMETHEUS=ON,-DWITH_PROMETHEUS=OFF" +PACKAGECONFIG[benchmark]="-DWITH_BENCHMARK=ON,-DWITH_BENCHMARK=OFF" +PACKAGECONFIG[testing]="-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF" -- 2.40.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#110418): https://lists.openembedded.org/g/openembedded-devel/message/110418 Mute This Topic: https://lists.openembedded.org/mt/106148537/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [[meta-oe][PATCH v2]] opentelemetry-cpp: add opentelemtry recipe
An Observability framework to create and manage telemetry data such as traces, metrics, and logs Signed-off-by: Abhilash Raju --- .../opentelemetry/opentelemetry-cpp_1.15.0.bb | 26 +++ 1 file changed, 26 insertions(+) create mode 100644 meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb diff --git a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb new file mode 100644 index 0..bb2b09e5a --- /dev/null +++ b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb @@ -0,0 +1,26 @@ +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://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +DEPENDS = "nlohmann-json" + +SRC_URI = "git://github.com/open-telemetry/opentelemetry-cpp.git;protocol=https;branch=main;" +SRCREV = "054b0dc207c1f58e290d78cdaac5f314bc328b31" +SRC_URI[sha256sum] = "69b0fef380658e15be9d817bfcb32e3f5de96da652bcdce77b4e750ed8beddee" +S = "${WORKDIR}/git" +inherit cmake pkgconfig lib_package + +PACKAGECONFIG ?= "opentelemety_install otlp_api" + +PACKAGECONFIG[opentelemety_install]="-DOPENTELEMETRY_INSTALL=ON,-DOPENTELEMETRY_INSTALL=OFF" +PACKAGECONFIG[build_package]="-DBUILD_PACKAGE=ON,-DBUILD_PACKAGE=OFF" +PACKAGECONFIG[otlp_api]="-DWITH_OTLP_API=ON,-DWITH_OTLP_API=OFF" +PACKAGECONFIG[otlp_grpc]="-DWITH_OTLP_GRPC=ON,-DWITH_OTLP_GRPC=OFF" +PACKAGECONFIG[otlp_http]="-DWITH_OTLP_HTTP=ON,-DWITH_OTLP_HTTP=OFF" +PACKAGECONFIG[otlp_prometheus]="-DWITH_PROMETHEUS=ON,-DWITH_PROMETHEUS=OFF" +PACKAGECONFIG[benchmark]="-DWITH_BENCHMARK=ON,-DWITH_BENCHMARK=OFF" +PACKAGECONFIG[testing]="-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF" -- 2.40.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#110410): https://lists.openembedded.org/g/openembedded-devel/message/110410 Mute This Topic: https://lists.openembedded.org/mt/106129767/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [PATCH] opentelemetry-cpp: add opentelemtry recipe
An Observability framework to create and manage telemetry data such as traces, metrics, and logs Signed-off-by: Abhilash Raju --- .../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 diff --git a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb new file mode 100644 index 0..85df5be82 --- /dev/null +++ b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb @@ -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" -- 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/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-