From 74efc57b3da5b2227a687955cc790a75627e4596 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sat, 21 May 2022 16:57:06 +0200 Subject: [PATCH] chg: [kvrocks] update the kvrocks install script --- bin/install.sh | 13 ++++++++++--- bin/run.sh | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/bin/install.sh b/bin/install.sh index a19623a..43da87b 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -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 diff --git a/bin/run.sh b/bin/run.sh index 52ad0a2..c9071b5 100644 --- a/bin/run.sh +++ b/bin/run.sh @@ -1,2 +1,2 @@ ulimit -n 700000 -./kvrocks/src/kvrocks -c ../etc/kvrocks.conf +./kvrocks/build/kvrocks -c ../etc/kvrocks.conf