Merge branch 'feature-coverage' into 'branch-0.3.0'

MS-102 Fix build coverage judge

See merge request megasearch/vecwise_engine!110

Former-commit-id: 816d588f870a5c0113515a1891d3ca5066228113
This commit is contained in:
jinhai 2019-06-21 17:09:38 +08:00
commit f8417c86d7
3 changed files with 6 additions and 3 deletions

View File

@ -5,6 +5,7 @@ Please mark all change in change log and use the ticket from JIRA.
# Milvus 0.3.0 (TBD)
## Bug
- MS-102 - Fix build script file condition error
- MS-80 - Fix server hang issue
- MS-89 - Fix compile failed, libgpufaiss.a link missing
- MS-90 - Fix arch match incorrect on ARM

View File

@ -64,7 +64,7 @@ cd cmake_build
CUDA_COMPILER=/usr/local/cuda/bin/nvcc
if [[ ${MAKE_CLEAN} = "ON" ]]; then
if [[ ${MAKE_CLEAN} == "ON" ]]; then
CMAKE_CMD="cmake -DBUILD_UNIT_TEST=${BUILD_UNITTEST} \
-DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX}
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
@ -84,8 +84,10 @@ if [[ ${BUILD_TYPE} != "Debug" ]]; then
strip src/milvus_server
fi
if [[ ${BUILD_COVERAGE} = "ON" ]]; then
bash coverage.sh
if [[ ${BUILD_COVERAGE} == "ON" ]]; then
cd -
bash `pwd`/coverage.sh
cd -
fi
make install

0
cpp/coverage.sh Normal file → Executable file
View File