mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-04 18:02:08 +08:00
new engine
Former-commit-id: 8f84ec8cbe26733b730528b49ae76c9ea158d359
This commit is contained in:
parent
606ef0b548
commit
8edaff9517
@ -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")
|
||||
|
||||
@ -51,7 +51,7 @@ main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
ClientTest test;
|
||||
test.Test(address, port);
|
||||
test.Test("", port);
|
||||
|
||||
printf("Client stop...\n");
|
||||
return 0;
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user