Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gazizonoki committed Feb 27, 2024
1 parent 1ddf85d commit 286cb71
Show file tree
Hide file tree
Showing 76 changed files with 285 additions and 2,105 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ add_subdirectory(util)
add_subdirectory(certs)
add_subdirectory(ydb)
add_subdirectory(client)
add_subdirectory(examples)
# add_subdirectory(examples)
29 changes: 0 additions & 29 deletions client/ydb_federated_topic/CMakeLists.darwin-arm64.txt

This file was deleted.

29 changes: 0 additions & 29 deletions client/ydb_federated_topic/CMakeLists.darwin-x86_64.txt

This file was deleted.

30 changes: 0 additions & 30 deletions client/ydb_federated_topic/CMakeLists.linux-aarch64.txt

This file was deleted.

30 changes: 0 additions & 30 deletions client/ydb_federated_topic/CMakeLists.linux-x86_64.txt

This file was deleted.

41 changes: 26 additions & 15 deletions client/ydb_federated_topic/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
add_subdirectory(impl)

# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
get_built_tool_path(
TOOL_enum_parser_bin
TOOL_enum_parser_dependency
tools/enum_parser/enum_parser
enum_parser
)

add_library(cpp-client-ydb_federated_topic)

if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA)
include(CMakeLists.linux-x86_64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA)
include(CMakeLists.linux-aarch64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
include(CMakeLists.darwin-x86_64.txt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
include(CMakeLists.darwin-arm64.txt)
elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
include(CMakeLists.windows-x86_64.txt)
target_link_libraries(cpp-client-ydb_federated_topic PUBLIC
contrib-libs-cxxsupp
yutil
tools-enum_parser-enum_serialization_runtime
cpp-client-ydb_topic
client-ydb_federated_topic-impl
)

generate_enum_serilization(cpp-client-ydb_federated_topic
${CMAKE_SOURCE_DIR}/client/ydb_federated_topic/federated_topic.h
INCLUDE_HEADERS
client/ydb_federated_topic/federated_topic.h
)

if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT HAVE_CUDA)
target_link_libraries(cpp-client-ydb_federated_topic PUBLIC
contrib-libs-linux-headers
)
endif()
30 changes: 0 additions & 30 deletions client/ydb_federated_topic/CMakeLists.windows-x86_64.txt

This file was deleted.

18 changes: 9 additions & 9 deletions client/ydb_federated_topic/federated_topic.h
Original file line number Diff line number Diff line change
Expand Up @@ -466,22 +466,22 @@ namespace NYdb::NTopic {
using namespace NFederatedTopic;

template<>
void TPrintable<TFederatedPartitionSession>::DebugString(TYdbStringBuilder& res, bool) const;
void TPrintable<TFederatedPartitionSession>::DebugString(NUtils::TYdbStringBuilder& res, bool) const;
template<>
void TPrintable<NFederatedTopic::TReadSessionEvent::TDataReceivedEvent>::DebugString(TYdbStringBuilder& res, bool) const;
void TPrintable<NFederatedTopic::TReadSessionEvent::TDataReceivedEvent>::DebugString(NUtils::TYdbStringBuilder& res, bool) const;
template<>
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TDataReceivedEvent::TMessage>>::DebugString(TYdbStringBuilder& res, bool) const;
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TDataReceivedEvent::TMessage>>::DebugString(NUtils::TYdbStringBuilder& res, bool) const;
template<>
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TDataReceivedEvent::TCompressedMessage>>::DebugString(TYdbStringBuilder& res, bool) const;
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TDataReceivedEvent::TCompressedMessage>>::DebugString(NUtils::TYdbStringBuilder& res, bool) const;
template<>
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TCommitOffsetAcknowledgementEvent>>::DebugString(TYdbStringBuilder& res, bool) const;
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TCommitOffsetAcknowledgementEvent>>::DebugString(NUtils::TYdbStringBuilder& res, bool) const;
template<>
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TStartPartitionSessionEvent>>::DebugString(TYdbStringBuilder& res, bool) const;
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TStartPartitionSessionEvent>>::DebugString(NUtils::TYdbStringBuilder& res, bool) const;
template<>
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TStopPartitionSessionEvent>>::DebugString(TYdbStringBuilder& res, bool) const;
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TStopPartitionSessionEvent>>::DebugString(NUtils::TYdbStringBuilder& res, bool) const;
template<>
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TPartitionSessionStatusEvent>>::DebugString(TYdbStringBuilder& res, bool) const;
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TPartitionSessionStatusEvent>>::DebugString(NUtils::TYdbStringBuilder& res, bool) const;
template<>
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TPartitionSessionClosedEvent>>::DebugString(TYdbStringBuilder& res, bool) const;
void TPrintable<NFederatedTopic::TReadSessionEvent::TFederated<NFederatedTopic::TReadSessionEvent::TPartitionSessionClosedEvent>>::DebugString(NUtils::TYdbStringBuilder& res, bool) const;

}
34 changes: 0 additions & 34 deletions client/ydb_federated_topic/impl/CMakeLists.darwin-arm64.txt

This file was deleted.

34 changes: 0 additions & 34 deletions client/ydb_federated_topic/impl/CMakeLists.darwin-x86_64.txt

This file was deleted.

35 changes: 0 additions & 35 deletions client/ydb_federated_topic/impl/CMakeLists.linux-aarch64.txt

This file was deleted.

35 changes: 0 additions & 35 deletions client/ydb_federated_topic/impl/CMakeLists.linux-x86_64.txt

This file was deleted.

Loading

0 comments on commit 286cb71

Please sign in to comment.