diff --git a/ci/jenkins/step/build.groovy b/ci/jenkins/step/build.groovy index 46db152006..6bf5052400 100644 --- a/ci/jenkins/step/build.groovy +++ b/ci/jenkins/step/build.groovy @@ -2,7 +2,7 @@ timeout(time: 60, unit: 'MINUTES') { dir ("ci/scripts") { withCredentials([usernamePassword(credentialsId: "${params.JFROG_CREDENTIALS_ID}", usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { def checkResult = sh(script: "./check_ccache.sh -l ${params.JFROG_ARTFACTORY_URL}/ccache", returnStatus: true) - + if ("${BINRARY_VERSION}" == "gpu") { sh "/bin/bash --login -c \". ./before-install.sh && ./build.sh -t ${params.BUILD_TYPE} -o ${env.MILVUS_INSTALL_PREFIX} -l -g -u -c\"" } else { diff --git a/ci/scripts/build.sh b/ci/scripts/build.sh index b36e927214..b440edff02 100755 --- a/ci/scripts/build.sh +++ b/ci/scripts/build.sh @@ -17,6 +17,7 @@ BUILD_UNITTEST="OFF" INSTALL_PREFIX="/var/lib/milvus" FAISS_ROOT="" PRIVILEGES="OFF" +CUSTOMIZATION="OFF" # default use origin faiss BUILD_COVERAGE="OFF" USE_JFROG_CACHE="OFF" RUN_CPPLINT="OFF"