install.sh script for yroots

git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@605 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
sears 2010-02-21 17:04:30 +00:00
parent 6bc4bc1f82
commit a0a9d726fd

15
install.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
mkdir -p ~/stuff/lib/
mkdir -p ~/stuff/include/
cp build/liblogstore_client.so ~/stuff/lib/
cp network.h datatuple.h tcpclient.h ~/stuff/include/
cp sherpa/LSMPersistentStoreImpl.cc sherpa/LSMPersistentStoreImpl.h ~/stuff/sherpa_logstore/
echo ' in the yroot, do this: '
echo ' pushd /usr/local/include ; sudo ln -s /home/sears/stuff/include/*.h . ; popd '
echo ' pushd /usr/local/lib ; sudo ln -s /home/sears/stuff/lib/*.so . ; popd '
echo ' pushd ~/svndev/trunk/dht/storage/handler/src/ ; ln -s ~/stuff/sherpa_logstore/* . ; popd '