Commit c894d9de authored by Connor's avatar Connor Committed by pingcap-github-bot

add update rocksdb/titan script (#386)

parent 81881c17
......@@ -14,3 +14,22 @@ clean:
@cargo clean
@cd librocksdb_sys && cargo clean
update_titan:
@if [ -n "${TITAN_REPO}" ]; then \
git config --file=.gitmodules submodule.titan.url https://github.com/${TITAN_REPO}/titan.git; \
fi
@if [ -n "${TITAN_BRANCH}" ]; then \
git config --file=.gitmodules submodule.titan.branch ${TITAN_BRANCH}; \
fi
@git submodule sync
@git submodule update --init --remote librocksdb_sys/libtitan_sys/titan
update_rocksdb:
@if [ -n "${ROCKSDB_REPO}" ]; then \
git config --file=.gitmodules submodule.rocksdb.url https://github.com/${ROCKSDB_REPO}/rocksdb.git; \
fi
@if [ -n "${ROCKSDB_BRANCH}" ]; then \
git config --file=.gitmodules submodule.rocksdb.branch ${ROCKSDB_BRANCH}; \
fi
@git submodule sync
@git submodule update --init --remote librocksdb_sys/rocksdb
\ No newline at end of file
Subproject commit 43225d44f7b25bbdd6b7e66236decc4549b0d394
Subproject commit 552cebf57603445aec57b51055ea25935d1c3a7b
Subproject commit d21d976a19de19e83c329704eb62598ed2a030db
Subproject commit f6f91c1fa2a404ae0167759aa3f7c92965ebc7ae
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment