1 Star 0 Fork 0

丁剑飞/milvus-sdk-cpp

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
Ji Bin 提交于 2023-06-26 09:42 +08:00 . refactory: add install (#240)
# Licensed to the LF AI & Data foundation under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
PWD := $(shell pwd)
all-debug: build-sdk-debug
all-release: build-sdk-release
all: all-debug
# Code lint
lint:
@(env bash ${PWD}/scripts/build.sh -l)
# Build sdk
build-sdk-debug:
@echo "Building Milvus SDK debug version ..."
@(env bash $(PWD)/scripts/build.sh -t Debug)
build-sdk-release:
@echo "Building Milvus SDK release version ..."
@(env bash $(PWD)/scripts/build.sh -t Release)
install: install-release
install-release:
@echo "Installing Milvus SDK release version ..."
@(env bash $(PWD)/scripts/build.sh -i -t Release)
install-debug:
@echo "Installing Milvus SDK debug version ..."
@(env bash $(PWD)/scripts/build.sh -i -t Debug)
test:
@echo "Testing with Milvus SDK"
@(env bash $(PWD)/scripts/build.sh -u)
st:
@echo "System Testing with Milvus SDK"
@(env bash $(PWD)/scripts/build.sh -s)
coverage:
@echo "Run code coverage ..."
@(env bash $(PWD)/scripts/build.sh -u -s -c)
@(env bash $(PWD)/scripts/coverage.sh)
documentation:
@echo "Generating Milvus SDK documentation ..."
rm -rf ./doc/html ./doc/latex
doxygen ./doc/Doxyfile
clean:
@echo "Cleaning"
rm -fr cmake_build/
.PHONY: test clean package
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/dingjianfei/milvus-sdk-cpp.git
git@gitee.com:dingjianfei/milvus-sdk-cpp.git
dingjianfei
milvus-sdk-cpp
milvus-sdk-cpp
master

搜索帮助