add gperftools dependencies

Former-commit-id: cc8e3f68f5fbe3393ac966083b607b54ccb50fe8
This commit is contained in:
quicksilver 2019-08-14 20:35:21 +08:00
parent 027ee6920c
commit 7cc6e173b1
2 changed files with 3 additions and 1 deletions

View File

@ -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} -k ${knowhere_build_dir}"
sh "./build.sh -t ${params.BUILD_TYPE} -k ${knowhere_build_dir} -j"
}
} catch (exc) {
updateGitlabCommitStatus name: 'Build Engine', state: 'failed'

View File

@ -2556,6 +2556,8 @@ macro(build_gperftools)
${GPERFTOOLS_STATIC_LIB})
endif()
ExternalProject_Add_StepDependencies(gperftools_ep build libunwind_ep)
file(MAKE_DIRECTORY "${GPERFTOOLS_INCLUDE_DIR}")
add_library(gperftools STATIC IMPORTED)