a/workunits/rados/test_envlibrados_for_rocksdb.sh: git clone --depth 1

no need to clone the whole history of rocksdb, we just need the HEAD of
master. so "--depth 1" is better and faster in this case.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-06-20 14:11:19 +08:00
parent 1b3f0bbd66
commit 5d252a27a1

View File

@ -67,7 +67,7 @@ echo "Compile rocksdb"
if [ -e rocksdb ]; then
rm -fr rocksdb
fi
git clone https://github.com/facebook/rocksdb.git
git clone https://github.com/facebook/rocksdb.git --depth 1
# compile code
cd rocksdb