-
Notifications
You must be signed in to change notification settings - Fork 438
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUILD] OTLP HTTP Exporter has build warnings in maintainer mode (#1943)
- Loading branch information
Showing
6 changed files
with
52 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,38 @@ | |
|
||
set -e | ||
|
||
[ -z "${PROTOBUF_VERSION}" ] && export PROTOBUF_VERSION="3.11.4" | ||
[ -z "${PROTOBUF_VERSION}" ] && export PROTOBUF_VERSION="21.12" | ||
|
||
# | ||
# Note | ||
# | ||
# protobuf uses two release number schemes, | ||
# for example 3.21.12 and 21.12, | ||
# and both tags corresponds to the same commit: | ||
# | ||
# commit f0dc78d7e6e331b8c6bb2d5283e06aa26883ca7c (HEAD -> release-3.21.12, tag: v3.21.12, tag: v21.12) | ||
# Author: Protobuf Team Bot <[email protected]> | ||
# Date: Mon Dec 12 16:03:12 2022 -0800 | ||
# | ||
# Updating version.json and repo version numbers to: 21.12 | ||
# | ||
# tag v21.12 corresponds to the 'protoc version', or repo version | ||
# tag v3.21.12 corresponds to the 'cpp version' | ||
# | ||
# protobuf-cpp-3.21.12.tar.gz: | ||
# - is provided under releases/download/v21.12 | ||
# - is no longer provided under releases/download/v3.21.12, | ||
# | ||
# Use the "repo version number" (PROTOBUF_VERSION=21.12) | ||
# when calling this script | ||
# | ||
|
||
export CPP_PROTOBUF_VERSION="3.${PROTOBUF_VERSION}" | ||
|
||
cd / | ||
wget https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protobuf-cpp-${PROTOBUF_VERSION}.tar.gz | ||
tar zxf protobuf-cpp-${PROTOBUF_VERSION}.tar.gz --no-same-owner | ||
cd protobuf-${PROTOBUF_VERSION} | ||
wget https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protobuf-cpp-${CPP_PROTOBUF_VERSION}.tar.gz | ||
tar zxf protobuf-cpp-${CPP_PROTOBUF_VERSION}.tar.gz --no-same-owner | ||
cd protobuf-${CPP_PROTOBUF_VERSION} | ||
./configure | ||
make && make install | ||
make -j $(nproc) && make install | ||
ldconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters