mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 09:19:00 +08:00
[opentelemetry-cpp] Fix OTLP build (#39823)
This commit is contained in:
parent
3d72d8c930
commit
5312e9f976
@ -29,11 +29,11 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
||||
# opentelemetry-proto is a third party submodule and opentelemetry-cpp release did not pack it.
|
||||
if(WITH_OTLP_GRPC OR WITH_OTLP_HTTP)
|
||||
set(OTEL_PROTO_VERSION "1.1.0")
|
||||
set(OTEL_PROTO_VERSION "1.3.1")
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://github.com/open-telemetry/opentelemetry-proto/archive/v${OTEL_PROTO_VERSION}.tar.gz"
|
||||
FILENAME "opentelemetry-proto-${OTEL_PROTO_VERSION}.tar.gz"
|
||||
SHA512 cd20991efb2d7f1bc8650fd0e124be707922b0717e429b6212390cd2c0d0afdb403c9aece196f07ae81ebed948863f4ec75c08ffbb3968795a0010d5cb34dc1b
|
||||
SHA512 8c75e4ff79c4b5b251e0ec8ece92ec901d70ec601644505ffdd137fb728daac91fd9203e1f448500124906737d91d80f10b694977688c655418b94f61c828d06
|
||||
)
|
||||
|
||||
vcpkg_extract_source_archive(src ARCHIVE "${ARCHIVE}")
|
||||
|
@ -2,6 +2,7 @@
|
||||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
||||
"name": "opentelemetry-cpp",
|
||||
"version-semver": "1.16.0",
|
||||
"port-version": 1,
|
||||
"description": [
|
||||
"OpenTelemetry is a collection of tools, APIs, and SDKs.",
|
||||
"You use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior."
|
||||
|
@ -6602,7 +6602,7 @@
|
||||
},
|
||||
"opentelemetry-cpp": {
|
||||
"baseline": "1.16.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"opentracing": {
|
||||
"baseline": "1.6.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "24f0a022ab07e290283011657cac26e32a6dd648",
|
||||
"version-semver": "1.16.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "463e6bcd28686e4433ddd353b8f0cfd82e7c577b",
|
||||
"version-semver": "1.16.0",
|
||||
|
Loading…
Reference in New Issue
Block a user