]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/ci/install_protobuf.sh
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / ci / install_protobuf.sh
1 #!/bin/bash
2
3 # Copyright The OpenTelemetry Authors
4 # SPDX-License-Identifier: Apache-2.0
5
6 set -e
7
8 [ -z "${PROTOBUF_VERSION}" ] && export PROTOBUF_VERSION="3.11.4"
9
10 cd /
11 wget https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/protobuf-cpp-${PROTOBUF_VERSION}.tar.gz
12 tar zxf protobuf-cpp-${PROTOBUF_VERSION}.tar.gz --no-same-owner
13 cd protobuf-${PROTOBUF_VERSION}
14 ./configure
15 make && make install
16 ldconfig