Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32159553
install_protobuf.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
472 B
Referenced Files
None
Subscribers
None
install_protobuf.sh
View Options
#!/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
cmake-build
pushd
cmake-build
||
exit
cmake
../cmake
\
-Dprotobuf_BUILD_SHARED_LIBS
=
ON
\
-Dprotobuf_ABSL_PROVIDER
=
package
\
-Dprotobuf_BUILD_TESTS
=
OFF
make
install
-j
"
$(
nproc
||
sysctl
-n
hw.physicalcpu
)
"
popd
||
exit
# cmake-build
popd
||
exit
# protobuf
rm
-rf
protobuf
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sun, Dec 7, 4:33 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5389190
Default Alt Text
install_protobuf.sh (472 B)
Attached To
Mode
rCOMM Comm
Attached
Detach File
Event Timeline
Log In to Comment