new engine

Former-commit-id: 8f84ec8cbe26733b730528b49ae76c9ea158d359
This commit is contained in:
starlord 2019-07-07 20:20:30 +08:00
parent 606ef0b548
commit 8edaff9517
3 changed files with 34 additions and 4 deletions

View File

@ -161,6 +161,17 @@ set(server_libs
metrics
)
set(knowhere_libs
knowhere
SPTAGLibStatic
arrow
jemalloc_pic
faiss
openblas
lapack
tbb
)
add_executable(milvus_server
${config_files}
${server_files}
@ -170,9 +181,17 @@ add_executable(milvus_server
)
if (ENABLE_LICENSE STREQUAL "ON")
target_link_libraries(milvus_server ${server_libs} license_check ${third_party_libs})
target_link_libraries(milvus_server
${server_libs}
license_check
${third_party_libs}
${knowhere_libs})
else ()
target_link_libraries(milvus_server ${server_libs} ${third_party_libs})
target_link_libraries(milvus_server
${server_libs}
${third_party_libs}
${knowhere_libs}
)
endif()
if (ENABLE_LICENSE STREQUAL "ON")

View File

@ -51,7 +51,7 @@ main(int argc, char *argv[]) {
}
ClientTest test;
test.Test(address, port);
test.Test("", port);
printf("Client stop...\n");
return 0;

View File

@ -49,6 +49,17 @@ set(db_libs
mysqlpp
)
target_link_libraries(db_test ${db_libs} ${unittest_libs})
set(knowhere_libs
knowhere
SPTAGLibStatic
arrow
jemalloc_pic
faiss
openblas
lapack
tbb
)
target_link_libraries(db_test ${db_libs} ${unittest_libs} ${knowhere_libs})
install(TARGETS db_test DESTINATION bin)