Page MenuHomePhabricator

No OneTemporary

diff --git a/scripts/install_protobuf.sh b/scripts/install_protobuf.sh
index 3ad5364d0..96483592f 100755
--- a/scripts/install_protobuf.sh
+++ b/scripts/install_protobuf.sh
@@ -1,24 +1,24 @@
#!/usr/bin/env bash
set -euo pipefail
git clone \
--recurse-submodules \
--single-branch \
-b v3.15.8 \
https://github.com/protocolbuffers/protobuf
pushd protobuf || exit
mkdir build
pushd build || exit
cmake ../cmake \
-Dprotobuf_BUILD_SHARED_LIBS=ON \
-Dprotobuf_ABSL_PROVIDER=package \
- -DBUILD_TESTING=OFF
+ -Dprotobuf_BUILD_TESTS=OFF
make install -j "$(nproc)" -l "$(nproc)"
popd || exit # build
popd || exit # protobuf

File Metadata

Mime Type
text/x-diff
Expires
Mon, Dec 23, 12:13 AM (2 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2689971
Default Alt Text
(661 B)

Event Timeline