7 Star 38 Fork 7

Gitee 极速下载/ChubaoFS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/chubaofs/chubaofs
克隆/下载
Makefile 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
# 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)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/mirrors/chubaofs.git
git@gitee.com:mirrors/chubaofs.git
mirrors
chubaofs
ChubaoFS
master

搜索帮助