提交 9fcfe4fe 编写于 作者: J Jeff

Merge branch 'branch-0.4.0' into 'branch-0.4.0'

for jenkins build

See merge request megasearch/milvus!352

Former-commit-id: ca0991de9f8f827d771d97cb7a815d0c6d2da59d
......@@ -2,7 +2,6 @@ milvus/
conf/server_config.yaml
conf/log_config.conf
version.h
megasearch/
lcov_out/
base.info
output.info
......
......@@ -11,8 +11,9 @@ PROFILING="OFF"
BUILD_FAISS_WITH_MKL="OFF"
USE_JFROG_CACHE="OFF"
KNOWHERE_OPTS=""
KNOWHERE_BUILD_DIR="`pwd`/thirdparty/knowhere/knowhere"
while getopts "p:d:t:uhlrcgmj" arg
while getopts "p:d:t:k:uhlrcgmj" arg
do
case $arg in
t)
......@@ -44,6 +45,9 @@ do
g)
PROFILING="ON"
;;
k)
KNOWHERE_BUILD_DIR=$OPTARG
;;
m)
BUILD_FAISS_WITH_MKL="ON"
;;
......@@ -63,11 +67,12 @@ parameter:
-r: remove previous build directory(default: OFF)
-c: code coverage(default: OFF)
-g: profiling(default: OFF)
-k: specify knowhere header/binary path
-m: build faiss with MKL(default: OFF)
-j: use jfrog cache build directory
usage:
./build.sh -t \${BUILD_TYPE} [-u] [-h] [-g] [-r] [-c] [-m] [-j]
./build.sh -t \${BUILD_TYPE} [-u] [-h] [-g] [-r] [-c] [-k] [-m] [-j]
"
exit 0
;;
......@@ -83,12 +88,6 @@ if [[ ! -d cmake_build ]]; then
MAKE_CLEAN="ON"
fi
# Knowhere build output path
KNOWHERE_BUILD_DIR="`pwd`/thirdparty/knowhere/knowhere"
pushd `pwd`/thirdparty/knowhere
./build.sh -t ${BUILD_TYPE} -p ${KNOWHERE_BUILD_DIR} ${KNOWHERE_OPTS}
popd
cd cmake_build
CUDA_COMPILER=/usr/local/cuda/bin/nvcc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册