mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-02 00:45:30 +08:00
1. Add Submodule knowhere and specify branch 2. Integrate Knowhere, update many cmakelist 3. dev knowhere-wrapper 4. dev knowhere-wrapper unittest Former-commit-id: 783a85562b2b5db3b89920b0c68de133a577f245
23 lines
549 B
CMake
23 lines
549 B
CMake
include_directories("${CUDA_TOOLKIT_ROOT_DIR}/include")
|
|
link_directories("${CUDA_TOOLKIT_ROOT_DIR}/lib64")
|
|
|
|
aux_source_directory(${MILVUS_ENGINE_SRC}/wrapper/knowhere knowhere_src)
|
|
|
|
set(helper
|
|
utils.cpp)
|
|
|
|
set(knowhere_libs
|
|
knowhere
|
|
SPTAGLibStatic
|
|
arrow
|
|
jemalloc_pic
|
|
faiss
|
|
openblas
|
|
lapack
|
|
tbb
|
|
cudart
|
|
cublas
|
|
)
|
|
|
|
add_executable(knowhere_test knowhere_test.cpp ${knowhere_src} ${helper})
|
|
target_link_libraries(knowhere_test ${knowhere_libs} ${unittest_libs}) |