mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 16:47:13 +00:00
fc78d37ff0
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
31 lines
1.5 KiB
BlitzBasic
31 lines
1.5 KiB
BlitzBasic
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 = "gitsm://github.com/open-telemetry/opentelemetry-cpp.git;protocol=https;branch=main;tag=v${PV}"
|
|
SRCREV = "6175aa0b213eea053247e43b4f35b8d201fa356e"
|
|
|
|
inherit cmake pkgconfig lib_package
|
|
|
|
LDFLAGS:append:riscv32 = " -latomic"
|
|
|
|
EXTRA_OECMAKE:append = " -DPROTOBUF_PROTOC_EXECUTABLE=${RECIPE_SYSROOT_NATIVE}${bindir}/protoc \
|
|
-DOTELCPP_VERSIONED_LIBS=ON \
|
|
-DBUILD_SHARED_LIBS=ON "
|
|
|
|
PACKAGECONFIG ?= "opentelemetry_install otlp_api"
|
|
|
|
PACKAGECONFIG[opentelemetry_install] = "-DOPENTELEMETRY_INSTALL=ON, -DOPENTELEMETRY_INSTALL=OFF"
|
|
PACKAGECONFIG[otlp_api] = "-DWITH_OTLP_API=ON, -DWITH_OTLP_API=OFF"
|
|
PACKAGECONFIG[otlp_grpc] = "-DWITH_OTLP_GRPC=ON -DWITH_ABSEIL=ON, -DWITH_OTLP_GRPC=OFF, grpc grpc-native protobuf-native"
|
|
PACKAGECONFIG[otlp_http] = "-DWITH_OTLP_HTTP=ON -DWITH_ABSEIL=ON, -DWITH_OTLP_HTTP=OFF, protobuf protobuf-native curl"
|
|
PACKAGECONFIG[otlp_prometheus] = "-DWITH_PROMETHEUS=ON -DUSE_THIRDPARTY_LIBRARIES=OFF, \
|
|
-DWITH_PROMETHEUS=OFF, civetweb curl"
|
|
PACKAGECONFIG[benchmark] = "-DWITH_BENCHMARK=ON, -DWITH_BENCHMARK=OFF"
|
|
PACKAGECONFIG[testing] = "-DBUILD_TESTING=ON, -DBUILD_TESTING=OFF, gtest"
|