From 495d2776258a01a78b62d9ba54ddbd4a8c1e7323 Mon Sep 17 00:00:00 2001 From: quicksilver Date: Wed, 14 Aug 2019 19:17:03 +0800 Subject: [PATCH] update build.sh Former-commit-id: ea56727083529fcc8f6aefa6dd1ff0a5ebdd423b --- ci/jenkinsfile/milvus_build.groovy | 2 +- ci/jenkinsfile/milvus_build_no_ut.groovy | 2 +- cpp/build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/jenkinsfile/milvus_build.groovy b/ci/jenkinsfile/milvus_build.groovy index 43f4d11b..db5a0fea 100644 --- a/ci/jenkinsfile/milvus_build.groovy +++ b/ci/jenkinsfile/milvus_build.groovy @@ -14,7 +14,7 @@ container('milvus-build-env') { dir ("cpp") { sh "git config --global user.email \"test@zilliz.com\"" sh "git config --global user.name \"test\"" - sh "./build.sh -t ${params.BUILD_TYPE} -j -u -c" + sh "./build.sh -t ${params.BUILD_TYPE} -k ${knowhere_build_dir} -j -u -c" } } catch (exc) { updateGitlabCommitStatus name: 'Build Engine', state: 'failed' diff --git a/ci/jenkinsfile/milvus_build_no_ut.groovy b/ci/jenkinsfile/milvus_build_no_ut.groovy index c6073658..1fc56076 100644 --- a/ci/jenkinsfile/milvus_build_no_ut.groovy +++ b/ci/jenkinsfile/milvus_build_no_ut.groovy @@ -15,7 +15,7 @@ container('milvus-build-env') { dir ("cpp") { sh "git config --global user.email \"test@zilliz.com\"" sh "git config --global user.name \"test\"" - sh "./build.sh -t ${params.BUILD_TYPE}" + sh "./build.sh -t ${params.BUILD_TYPE} -k ${knowhere_build_dir}" } } catch (exc) { updateGitlabCommitStatus name: 'Build Engine', state: 'failed' diff --git a/cpp/build.sh b/cpp/build.sh index 450e0815..7216296c 100755 --- a/cpp/build.sh +++ b/cpp/build.sh @@ -101,7 +101,7 @@ if [[ ${MAKE_CLEAN} == "ON" ]]; then -DBUILD_FAISS_WITH_MKL=${BUILD_FAISS_WITH_MKL} \ -DKNOWHERE_BUILD_DIR=${KNOWHERE_BUILD_DIR} \ -DUSE_JFROG_CACHE=${USE_JFROG_CACHE} \ - $@ ../" + ../" echo ${CMAKE_CMD} ${CMAKE_CMD} -- GitLab