Commit 628cf63c authored by Pablo Toharia's avatar Pablo Toharia

Added protobuf.

parent 8669185f
cd $HOME/opt/src
git clone
cd protobuf
git checkout v3.1.0
mkdir -p Release
cd Release
cmake ../cmake/ -DCMAKE_BUILD_TYPE=Release -Dprotobuf_BUILD_TESTS=OFF \
make install -j4
echo "module load protobuf-3.1.0" >> $HOME/.bashrc
source $HOME/.bashrc
## protobuf 3.1.0
set version 3.1.0
set home $::env(HOME)
set prefix $home/opt/protobuf-3.1.0
prepend-path PATH $prefix/bin
prepend-path LD_LIBRARY_PATH $prefix/lib
prepend-path CMAKE_PREFIX_PATH $prefix
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment