Skip to content

Commit 97a9150

Browse files
committed
update install protobuf
1 parent eb8c650 commit 97a9150

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/ci_build/github/linux/docker/scripts/install_protobuf.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ function GetFile {
3434
return $?
3535
}
3636

37-
GetFile https://github.com/protocolbuffers/protobuf/archive/v3.18.1.tar.gz /tmp/src/v3.18.1.tar.gz
38-
tar -xf /tmp/src/v3.18.1.tar.gz -C /tmp/src
39-
cd /tmp/src/protobuf-3.18.1
37+
GetFile https://github.com/protocolbuffers/protobuf/archive/v3.20.2.tar.gz /tmp/src/v3.20.2.tar.gz
38+
tar -xf /tmp/src/v3.20.2.tar.gz -C /tmp/src
39+
cd /tmp/src/protobuf-3.20.2
4040
cmake ./cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Relwithdebinfo
4141
make -j$(getconf _NPROCESSORS_ONLN)
4242
make install

0 commit comments

Comments
 (0)