代码拉取完成,页面将自动刷新
同步操作将从 ideawu/ssdb 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
PREFIX=/usr/local/ssdb
$(shell sh build.sh 1>&2)
include build_config.mk
all:
mkdir -p var var_slave
chmod u+x "${LEVELDB_PATH}/build_detect_platform"
chmod u+x deps/cpy/cpy
chmod u+x tools/ssdb-cli
cd "${LEVELDB_PATH}"; ${MAKE}
cd src/util; ${MAKE}
cd src/net; ${MAKE}
cd src/client; ${MAKE}
cd src/ssdb; ${MAKE}
cd src; ${MAKE}
cd tools; ${MAKE}
.PHONY: ios
ios:
cd "${LEVELDB_PATH}"; make clean; CXXFLAGS=-stdlib=libc++ ${MAKE} PLATFORM=IOS
cd "${SNAPPY_PATH}"; make clean; make -f Makefile-ios
mkdir -p ios
mv ${LEVELDB_PATH}/libleveldb-ios.a ${SNAPPY_PATH}/libsnappy-ios.a ios/
cd src/util; make clean; ${MAKE} -f Makefile-ios
cd src/ssdb; make clean; ${MAKE} -f Makefile-ios
install:
mkdir -p ${PREFIX}
mkdir -p ${PREFIX}/_cpy_
mkdir -p ${PREFIX}/deps
mkdir -p ${PREFIX}/var
mkdir -p ${PREFIX}/var_slave
cp -f ssdb-server ssdb.conf ssdb_slave.conf ${PREFIX}
cp -rf api ${PREFIX}
cp -rf \
tools/ssdb-bench \
tools/ssdb-cli tools/ssdb_cli \
tools/ssdb-cli.cpy tools/ssdb-dump \
tools/ssdb-repair \
${PREFIX}
cp -rf deps/cpy ${PREFIX}/deps
chmod 755 ${PREFIX}
chmod -R ugo+rw ${PREFIX}/*
rm -f ${PREFIX}/Makefile
clean:
rm -f *.exe.stackdump
rm -rf api/cpy/_cpy_
rm -f api/python/SSDB.pyc
rm -rf db_test
cd deps/cpy; ${MAKE} clean
cd src/util; ${MAKE} clean
cd src/ssdb; ${MAKE} clean
cd src/net; ${MAKE} clean
cd src; ${MAKE} clean
cd tools; ${MAKE} clean
clean_all: clean
cd "${LEVELDB_PATH}"; ${MAKE} clean
rm -f ${JEMALLOC_PATH}/Makefile
cd "${SNAPPY_PATH}"; ${MAKE} clean
rm -f ${SNAPPY_PATH}/Makefile
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。