代码拉取完成,页面将自动刷新
# Cubefs Makefile
#
threads?=0
RM := $(shell [ -x /bin/rm ] && echo "/bin/rm" || echo "/usr/bin/rm" )
GOMOD=on
default: all
phony := all
all: build
phony += build server authtool client cli libsdkpre libsdk fsck fdstore preload bcache blobstore deploy
build: server authtool client cli libsdk fsck fdstore preload bcache blobstore deploy
server:
@build/build.sh server $(GOMOD) --threads=$(threads)
deploy:
@build/build.sh deploy $(GOMOD) --threads=$(threads)
blobstore:
@build/build.sh blobstore $(GOMOD) --threads=$(threads)
client:
@build/build.sh client $(GOMOD) --threads=$(threads)
authtool:
@build/build.sh authtool $(GOMOD) --threads=$(threads)
cli:
@build/build.sh cli $(GOMOD) --threads=$(threads)
fsck:
@build/build.sh fsck $(GOMOD) --threads=$(threads)
libsdkpre:
@build/build.sh libsdkpre $(GOMOD) --threads=$(threads)
libsdk:
@build/build.sh libsdk $(GOMOD) --threads=$(threads)
fdstore:
@build/build.sh fdstore $(GOMOD) --threads=$(threads)
preload:
@build/build.sh preload $(GOMOD) --threads=$(threads)
bcache:
@build/build.sh bcache $(GOMOD) --threads=$(threads)
phony += clean
clean:
@$(RM) -rf build/bin
phony += dist-clean
dist-clean:
@build/build.sh dist_clean --threads=$(threads)
phony += test
test:
@build/build.sh test $(GOMOD) --threads=$(threads)
phony += testcover
testcover:
@build/build.sh testcover $(GOMOD) --threads=$(threads)
phony += mock
mock:
rm -rf metanode/mocktest
mockgen -source=raftstore/partition.go -package=raftstoremock -destination=metanode/mocktest/raftstore/partition.go
phony += docker
docker:
@docker/run_docker.sh --build
@docker/run_docker.sh --clean
.PHONY: $(phony)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。