mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-03 01:12:25 +08:00
Merge branch 'branch-0.4.0' into 'branch-0.4.0'
for jenkins build See merge request megasearch/milvus!352 Former-commit-id: ca0991de9f8f827d771d97cb7a815d0c6d2da59d
This commit is contained in:
commit
9fcfe4fe58
1
cpp/.gitignore
vendored
1
cpp/.gitignore
vendored
@ -2,7 +2,6 @@ milvus/
|
||||
conf/server_config.yaml
|
||||
conf/log_config.conf
|
||||
version.h
|
||||
megasearch/
|
||||
lcov_out/
|
||||
base.info
|
||||
output.info
|
||||
|
||||
15
cpp/build.sh
15
cpp/build.sh
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user