Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mslacken:ml
milvus
additional-libraries.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File additional-libraries.patch of Package milvus
From e75f69231e0492af507007bd8f13ee8c4f942d7e Mon Sep 17 00:00:00 2001 From: Christian Goll <cgoll@suse.com> Date: Thu, 8 Aug 2024 15:29:21 +0200 Subject: [PATCH] additional libraries Signed-off-by: Christian Goll <cgoll@suse.com> --- internal/core/src/common/CMakeLists.txt | 16 +++++++++++++++- internal/core/src/index/CMakeLists.txt | 4 +++- internal/core/src/storage/CMakeLists.txt | 12 ++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/internal/core/src/common/CMakeLists.txt b/internal/core/src/common/CMakeLists.txt index 4330b43f8..62fee3f0d 100644 --- a/internal/core/src/common/CMakeLists.txt +++ b/internal/core/src/common/CMakeLists.txt @@ -28,6 +28,12 @@ set(COMMON_SRC add_library(milvus_common SHARED ${COMMON_SRC}) +find_package(Protobuf REQUIRED) +find_package(absl REQUIRED) +find_package(Arrow REQUIRED) +find_package(opentelemetry-cpp REQUIRED) +find_package(nlohmann_json REQUIRED) + target_link_libraries(milvus_common milvus_bitset milvus_config @@ -37,7 +43,15 @@ target_link_libraries(milvus_common boost_bitset_ext simdjson ${CONAN_LIBS} - re2 + protobuf::libprotobuf + absl::log_internal_log_impl + Arrow::arrow_shared + opentelemetry-cpp::trace + opentelemetry-cpp::jaeger_trace_exporter + opentelemetry-cpp::ostream_span_exporter + opentelemetry-cpp::ostream_metrics_exporter + opentelemetry-cpp::otlp_http_exporter + opentelemetry-cpp::otlp_grpc_exporter ) install(TARGETS milvus_common DESTINATION "${CMAKE_INSTALL_LIBDIR}") diff --git a/internal/core/src/index/CMakeLists.txt b/internal/core/src/index/CMakeLists.txt index c49e9477f..87fc36ac6 100644 --- a/internal/core/src/index/CMakeLists.txt +++ b/internal/core/src/index/CMakeLists.txt @@ -23,7 +23,9 @@ set(INDEX_FILES milvus_add_pkg_config("milvus_index") add_library(milvus_index SHARED ${INDEX_FILES}) +include(FindPkgConfig) +pkg_check_modules(marisa REQUIRED IMPORTED_TARGET marisa) -target_link_libraries(milvus_index milvus_storage milvus-storage tantivy_binding) +target_link_libraries(milvus_index milvus_storage milvus-storage tantivy_binding knowhere PkgConfig::marisa) install(TARGETS milvus_index DESTINATION "${CMAKE_INSTALL_LIBDIR}") diff --git a/internal/core/src/storage/CMakeLists.txt b/internal/core/src/storage/CMakeLists.txt index ac600d945..0060c00c7 100644 --- a/internal/core/src/storage/CMakeLists.txt +++ b/internal/core/src/storage/CMakeLists.txt @@ -64,6 +64,10 @@ endif() add_library(milvus_storage SHARED ${STORAGE_FILES}) +find_package(prometheus-cpp REQUIRED) +find_package(AWSSDK REQUIRED COMPONENTS s3) +find_package(TBB REQUIRED) + if (DEFINED AZURE_BUILD_DIR) target_link_libraries(milvus_storage PUBLIC "-L${AZURE_BUILD_DIR} -lblob-chunk-manager" @@ -71,14 +75,22 @@ if (DEFINED AZURE_BUILD_DIR) milvus_common milvus-storage pthread + prometheus-cpp::core + ${AWSSDK_LINK_LIBRARIES} + ${AWSSDK_PLATFORM_DEPS} ${CONAN_LIBS} + TBB::tbb ) else () target_link_libraries(milvus_storage PUBLIC milvus_common milvus-storage pthread + prometheus-cpp::core + ${AWSSDK_LINK_LIBRARIES} + ${AWSSDK_PLATFORM_DEPS} ${CONAN_LIBS} + TBB::tbb ) endif() -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor