chg: [kvrocks] update the kvrocks install script

This commit is contained in:
Alexandre Dulaunoy 2022-05-21 16:57:06 +02:00
parent 439dd83fbf
commit 74efc57b3d
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD
2 changed files with 11 additions and 4 deletions

View file

@ -1,6 +1,13 @@
#!/bin/sh
git clone --recursive https://github.com/KvrocksLabs/kvrocks.git
if [[ ! ./kvrocks ]]
then
git clone --recursive https://github.com/apache/incubator-kvrocks.git kvrocks
fi
cd kvrocks
git checkout 2.0.1
make -j4
git pull
git submodule update
#git checkout 2.0.1
#make -j4
mkdir build
./build.sh ./build

View file

@ -1,2 +1,2 @@
ulimit -n 700000
./kvrocks/src/kvrocks -c ../etc/kvrocks.conf
./kvrocks/build/kvrocks -c ../etc/kvrocks.conf