mirror of https://github.com/milvus-io/milvus.git
Add static linking
Former-commit-id: 95e2ccc0112a0cff1f1520c7ec8caee07be442d6pull/191/head
parent
59cdb21331
commit
9bf75e809a
|
@ -32,10 +32,14 @@ cuda_add_library(vecwise_engine STATIC ${vecwise_engine_src})
|
|||
|
||||
set(engine_libs
|
||||
pthread
|
||||
faiss
|
||||
libfaiss.a
|
||||
libgomp.a
|
||||
libopenblas.a
|
||||
libgfortran.a
|
||||
libquadmath.a
|
||||
cudart
|
||||
cublas
|
||||
sqlite3
|
||||
libsqlite3.a
|
||||
)
|
||||
|
||||
target_link_libraries(vecwise_engine ${engine_libs} ${cuda_library})
|
||||
|
@ -50,17 +54,17 @@ add_executable(vecwise_server
|
|||
|
||||
set(server_libs
|
||||
vecwise_engine
|
||||
rocksdb
|
||||
thrift
|
||||
librocksdb.a
|
||||
libthrift.a
|
||||
pthread
|
||||
yaml-cpp
|
||||
boost_system
|
||||
boost_filesystem
|
||||
libyaml-cpp.a
|
||||
libboost_system.a
|
||||
libboost_filesystem.a
|
||||
pthread
|
||||
snappy
|
||||
bz2
|
||||
z
|
||||
zstd
|
||||
libsnappy.a
|
||||
libbz2.a
|
||||
libz.a
|
||||
libzstd.a
|
||||
)
|
||||
|
||||
target_link_libraries(vecwise_server ${server_libs})
|
||||
|
|
Loading…
Reference in New Issue