diff options
author | svidyuk <svidyuk@yandex-team.com> | 2023-08-30 20:31:54 +0300 |
---|---|---|
committer | svidyuk <svidyuk@yandex-team.com> | 2023-08-30 20:50:06 +0300 |
commit | c76aaf823d18acf064939d806427b39cea1bbe16 (patch) | |
tree | d85585d1cea05124f3f264965654164b38a0591e /library/cpp/actors | |
parent | e7fbce1e36ca8d9a32abcc07805749d572a83dd3 (diff) | |
download | ydb-c76aaf823d18acf064939d806427b39cea1bbe16.tar.gz |
Fix input variable missprint
Diffstat (limited to 'library/cpp/actors')
127 files changed, 4744 insertions, 0 deletions
diff --git a/library/cpp/actors/CMakeLists.txt b/library/cpp/actors/CMakeLists.txt index 77b760d34a..becd73cd24 100644 --- a/library/cpp/actors/CMakeLists.txt +++ b/library/cpp/actors/CMakeLists.txt @@ -8,8 +8,10 @@ add_subdirectory(actor_type) add_subdirectory(core) +add_subdirectory(cppcoro) add_subdirectory(dnscachelib) add_subdirectory(dnsresolver) +add_subdirectory(examples) add_subdirectory(helpers) add_subdirectory(http) add_subdirectory(interconnect) diff --git a/library/cpp/actors/actor_type/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/actor_type/CMakeLists.darwin-x86_64.txt index 1da729a852..825e96d2d8 100644 --- a/library/cpp/actors/actor_type/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/actors/actor_type/CMakeLists.darwin-x86_64.txt @@ -6,6 +6,12 @@ # 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-actors-actor_type) target_link_libraries(cpp-actors-actor_type PUBLIC diff --git a/library/cpp/actors/actor_type/CMakeLists.linux-aarch64.txt b/library/cpp/actors/actor_type/CMakeLists.linux-aarch64.txt index f7c18c8665..dc1ebb7a22 100644 --- a/library/cpp/actors/actor_type/CMakeLists.linux-aarch64.txt +++ b/library/cpp/actors/actor_type/CMakeLists.linux-aarch64.txt @@ -6,6 +6,12 @@ # 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-actors-actor_type) target_link_libraries(cpp-actors-actor_type PUBLIC diff --git a/library/cpp/actors/actor_type/CMakeLists.linux-x86_64.txt b/library/cpp/actors/actor_type/CMakeLists.linux-x86_64.txt index f7c18c8665..dc1ebb7a22 100644 --- a/library/cpp/actors/actor_type/CMakeLists.linux-x86_64.txt +++ b/library/cpp/actors/actor_type/CMakeLists.linux-x86_64.txt @@ -6,6 +6,12 @@ # 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-actors-actor_type) target_link_libraries(cpp-actors-actor_type PUBLIC diff --git a/library/cpp/actors/actor_type/CMakeLists.windows-x86_64.txt b/library/cpp/actors/actor_type/CMakeLists.windows-x86_64.txt index 1da729a852..825e96d2d8 100644 --- a/library/cpp/actors/actor_type/CMakeLists.windows-x86_64.txt +++ b/library/cpp/actors/actor_type/CMakeLists.windows-x86_64.txt @@ -6,6 +6,12 @@ # 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-actors-actor_type) target_link_libraries(cpp-actors-actor_type PUBLIC diff --git a/library/cpp/actors/core/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/core/CMakeLists.darwin-x86_64.txt index 4ceef71c9a..c5c1629513 100644 --- a/library/cpp/actors/core/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/actors/core/CMakeLists.darwin-x86_64.txt @@ -6,6 +6,25 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) add_library(cpp-actors-core) target_link_libraries(cpp-actors-core PUBLIC diff --git a/library/cpp/actors/core/CMakeLists.linux-aarch64.txt b/library/cpp/actors/core/CMakeLists.linux-aarch64.txt index 41061f6dd1..23f4e3ba64 100644 --- a/library/cpp/actors/core/CMakeLists.linux-aarch64.txt +++ b/library/cpp/actors/core/CMakeLists.linux-aarch64.txt @@ -6,6 +6,25 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) add_library(cpp-actors-core) target_link_libraries(cpp-actors-core PUBLIC diff --git a/library/cpp/actors/core/CMakeLists.linux-x86_64.txt b/library/cpp/actors/core/CMakeLists.linux-x86_64.txt index 41061f6dd1..23f4e3ba64 100644 --- a/library/cpp/actors/core/CMakeLists.linux-x86_64.txt +++ b/library/cpp/actors/core/CMakeLists.linux-x86_64.txt @@ -6,6 +6,25 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) add_library(cpp-actors-core) target_link_libraries(cpp-actors-core PUBLIC diff --git a/library/cpp/actors/core/CMakeLists.windows-x86_64.txt b/library/cpp/actors/core/CMakeLists.windows-x86_64.txt index 4ceef71c9a..c5c1629513 100644 --- a/library/cpp/actors/core/CMakeLists.windows-x86_64.txt +++ b/library/cpp/actors/core/CMakeLists.windows-x86_64.txt @@ -6,6 +6,25 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) add_library(cpp-actors-core) target_link_libraries(cpp-actors-core PUBLIC diff --git a/library/cpp/actors/core/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/core/ut/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..e56713f557 --- /dev/null +++ b/library/cpp/actors/core/ut/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,89 @@ + +# 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. + + + +add_executable(library-cpp-actors-core-ut) +target_include_directories(library-cpp-actors-core-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core +) +target_link_libraries(library-cpp-actors-core-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + cpp-actors-testlib +) +target_link_options(library-cpp-actors-core-ut PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-core-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/benchmark_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/performance_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb_payload_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mon_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-core-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-core-ut + TEST_TARGET + library-cpp-actors-core-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-core-ut + system_allocator +) +vcs_info(library-cpp-actors-core-ut) diff --git a/library/cpp/actors/core/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/core/ut/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..bfd1f0f226 --- /dev/null +++ b/library/cpp/actors/core/ut/CMakeLists.linux-aarch64.txt @@ -0,0 +1,92 @@ + +# 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. + + + +add_executable(library-cpp-actors-core-ut) +target_include_directories(library-cpp-actors-core-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core +) +target_link_libraries(library-cpp-actors-core-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + cpp-actors-testlib +) +target_link_options(library-cpp-actors-core-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-core-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/benchmark_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/performance_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb_payload_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mon_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-core-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-core-ut + TEST_TARGET + library-cpp-actors-core-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-core-ut + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-core-ut) diff --git a/library/cpp/actors/core/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/core/ut/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..145a291b45 --- /dev/null +++ b/library/cpp/actors/core/ut/CMakeLists.linux-x86_64.txt @@ -0,0 +1,94 @@ + +# 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. + + + +add_executable(library-cpp-actors-core-ut) +target_include_directories(library-cpp-actors-core-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core +) +target_link_libraries(library-cpp-actors-core-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + cpp-actors-testlib +) +target_link_options(library-cpp-actors-core-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-core-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/benchmark_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/performance_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb_payload_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mon_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-core-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-core-ut + TEST_TARGET + library-cpp-actors-core-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-core-ut + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-core-ut) diff --git a/library/cpp/actors/core/ut/CMakeLists.txt b/library/cpp/actors/core/ut/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/core/ut/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/core/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/core/ut/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..8e7e6bd499 --- /dev/null +++ b/library/cpp/actors/core/ut/CMakeLists.windows-x86_64.txt @@ -0,0 +1,82 @@ + +# 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. + + + +add_executable(library-cpp-actors-core-ut) +target_include_directories(library-cpp-actors-core-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core +) +target_link_libraries(library-cpp-actors-core-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + cpp-actors-testlib +) +target_sources(library-cpp-actors-core-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/benchmark_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/performance_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb_payload_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mon_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-core-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-core-ut + TEST_TARGET + library-cpp-actors-core-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-core-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-core-ut + system_allocator +) +vcs_info(library-cpp-actors-core-ut) diff --git a/library/cpp/actors/cppcoro/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/cppcoro/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..9795130141 --- /dev/null +++ b/library/cpp/actors/cppcoro/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,24 @@ + +# 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. + + +add_subdirectory(corobenchmark) +add_subdirectory(ut) + +add_library(cpp-actors-cppcoro) +target_link_libraries(cpp-actors-cppcoro PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-core +) +target_sources(cpp-actors-cppcoro PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/await_callback.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_actor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_group.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_result.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task.cpp +) diff --git a/library/cpp/actors/cppcoro/CMakeLists.linux-aarch64.txt b/library/cpp/actors/cppcoro/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..514824dad2 --- /dev/null +++ b/library/cpp/actors/cppcoro/CMakeLists.linux-aarch64.txt @@ -0,0 +1,25 @@ + +# 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. + + +add_subdirectory(corobenchmark) +add_subdirectory(ut) + +add_library(cpp-actors-cppcoro) +target_link_libraries(cpp-actors-cppcoro PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-actors-core +) +target_sources(cpp-actors-cppcoro PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/await_callback.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_actor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_group.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_result.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task.cpp +) diff --git a/library/cpp/actors/cppcoro/CMakeLists.linux-x86_64.txt b/library/cpp/actors/cppcoro/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..514824dad2 --- /dev/null +++ b/library/cpp/actors/cppcoro/CMakeLists.linux-x86_64.txt @@ -0,0 +1,25 @@ + +# 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. + + +add_subdirectory(corobenchmark) +add_subdirectory(ut) + +add_library(cpp-actors-cppcoro) +target_link_libraries(cpp-actors-cppcoro PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-actors-core +) +target_sources(cpp-actors-cppcoro PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/await_callback.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_actor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_group.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_result.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task.cpp +) diff --git a/library/cpp/actors/cppcoro/CMakeLists.txt b/library/cpp/actors/cppcoro/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/cppcoro/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/cppcoro/CMakeLists.windows-x86_64.txt b/library/cpp/actors/cppcoro/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..9795130141 --- /dev/null +++ b/library/cpp/actors/cppcoro/CMakeLists.windows-x86_64.txt @@ -0,0 +1,24 @@ + +# 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. + + +add_subdirectory(corobenchmark) +add_subdirectory(ut) + +add_library(cpp-actors-cppcoro) +target_link_libraries(cpp-actors-cppcoro PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-core +) +target_sources(cpp-actors-cppcoro PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/await_callback.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_actor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_group.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_result.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task.cpp +) diff --git a/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..1b98f8aac0 --- /dev/null +++ b/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,31 @@ + +# 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. + + + +add_executable(corobenchmark) +target_link_libraries(corobenchmark PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + testing-benchmark-main + cpp-actors-cppcoro +) +target_link_options(corobenchmark PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(corobenchmark PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/corobenchmark/main.cpp +) +target_allocator(corobenchmark + system_allocator +) +vcs_info(corobenchmark) diff --git a/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.linux-aarch64.txt b/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..f12dfdad8d --- /dev/null +++ b/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.linux-aarch64.txt @@ -0,0 +1,34 @@ + +# 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. + + + +add_executable(corobenchmark) +target_link_libraries(corobenchmark PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + testing-benchmark-main + cpp-actors-cppcoro +) +target_link_options(corobenchmark PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(corobenchmark PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/corobenchmark/main.cpp +) +target_allocator(corobenchmark + cpp-malloc-jemalloc +) +vcs_info(corobenchmark) diff --git a/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.linux-x86_64.txt b/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..e5b37926d1 --- /dev/null +++ b/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.linux-x86_64.txt @@ -0,0 +1,36 @@ + +# 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. + + + +add_executable(corobenchmark) +target_link_libraries(corobenchmark PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + testing-benchmark-main + cpp-actors-cppcoro +) +target_link_options(corobenchmark PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(corobenchmark PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/corobenchmark/main.cpp +) +target_allocator(corobenchmark + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(corobenchmark) diff --git a/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.txt b/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.windows-x86_64.txt b/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c9a8359b4b --- /dev/null +++ b/library/cpp/actors/cppcoro/corobenchmark/CMakeLists.windows-x86_64.txt @@ -0,0 +1,24 @@ + +# 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. + + + +add_executable(corobenchmark) +target_link_libraries(corobenchmark PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + testing-benchmark-main + cpp-actors-cppcoro +) +target_sources(corobenchmark PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/corobenchmark/main.cpp +) +target_allocator(corobenchmark + system_allocator +) +vcs_info(corobenchmark) diff --git a/library/cpp/actors/cppcoro/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/cppcoro/ut/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..7cebff01de --- /dev/null +++ b/library/cpp/actors/cppcoro/ut/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,69 @@ + +# 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. + + + +add_executable(library-cpp-actors-cppcoro-ut) +target_include_directories(library-cpp-actors-cppcoro-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro +) +target_link_libraries(library-cpp-actors-cppcoro-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-cppcoro + cpp-actors-testlib +) +target_link_options(library-cpp-actors-cppcoro-ut PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-cppcoro-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-cppcoro-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-cppcoro-ut + TEST_TARGET + library-cpp-actors-cppcoro-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-cppcoro-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-cppcoro-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-cppcoro-ut + system_allocator +) +vcs_info(library-cpp-actors-cppcoro-ut) diff --git a/library/cpp/actors/cppcoro/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/cppcoro/ut/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..4a11af3456 --- /dev/null +++ b/library/cpp/actors/cppcoro/ut/CMakeLists.linux-aarch64.txt @@ -0,0 +1,72 @@ + +# 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. + + + +add_executable(library-cpp-actors-cppcoro-ut) +target_include_directories(library-cpp-actors-cppcoro-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro +) +target_link_libraries(library-cpp-actors-cppcoro-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-cppcoro + cpp-actors-testlib +) +target_link_options(library-cpp-actors-cppcoro-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-cppcoro-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-cppcoro-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-cppcoro-ut + TEST_TARGET + library-cpp-actors-cppcoro-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-cppcoro-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-cppcoro-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-cppcoro-ut + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-cppcoro-ut) diff --git a/library/cpp/actors/cppcoro/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/cppcoro/ut/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..2e2412f989 --- /dev/null +++ b/library/cpp/actors/cppcoro/ut/CMakeLists.linux-x86_64.txt @@ -0,0 +1,74 @@ + +# 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. + + + +add_executable(library-cpp-actors-cppcoro-ut) +target_include_directories(library-cpp-actors-cppcoro-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro +) +target_link_libraries(library-cpp-actors-cppcoro-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-cppcoro + cpp-actors-testlib +) +target_link_options(library-cpp-actors-cppcoro-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-cppcoro-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-cppcoro-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-cppcoro-ut + TEST_TARGET + library-cpp-actors-cppcoro-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-cppcoro-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-cppcoro-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-cppcoro-ut + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-cppcoro-ut) diff --git a/library/cpp/actors/cppcoro/ut/CMakeLists.txt b/library/cpp/actors/cppcoro/ut/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/cppcoro/ut/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/cppcoro/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/cppcoro/ut/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e3b8b019c8 --- /dev/null +++ b/library/cpp/actors/cppcoro/ut/CMakeLists.windows-x86_64.txt @@ -0,0 +1,62 @@ + +# 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. + + + +add_executable(library-cpp-actors-cppcoro-ut) +target_include_directories(library-cpp-actors-cppcoro-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro +) +target_link_libraries(library-cpp-actors-cppcoro-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-cppcoro + cpp-actors-testlib +) +target_sources(library-cpp-actors-cppcoro-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/task_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-cppcoro-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-cppcoro-ut + TEST_TARGET + library-cpp-actors-cppcoro-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-cppcoro-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-cppcoro-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-cppcoro-ut + system_allocator +) +vcs_info(library-cpp-actors-cppcoro-ut) diff --git a/library/cpp/actors/dnsresolver/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/dnsresolver/CMakeLists.darwin-x86_64.txt index 99c09b86fc..8d9cb550f1 100644 --- a/library/cpp/actors/dnsresolver/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/actors/dnsresolver/CMakeLists.darwin-x86_64.txt @@ -7,6 +7,7 @@ find_package(c-ares REQUIRED) +add_subdirectory(ut) add_library(cpp-actors-dnsresolver) target_link_libraries(cpp-actors-dnsresolver PUBLIC diff --git a/library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt b/library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt index da628866a7..c4741c037e 100644 --- a/library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt +++ b/library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt @@ -7,6 +7,7 @@ find_package(c-ares REQUIRED) +add_subdirectory(ut) add_library(cpp-actors-dnsresolver) target_link_libraries(cpp-actors-dnsresolver PUBLIC diff --git a/library/cpp/actors/dnsresolver/CMakeLists.linux-x86_64.txt b/library/cpp/actors/dnsresolver/CMakeLists.linux-x86_64.txt index da628866a7..c4741c037e 100644 --- a/library/cpp/actors/dnsresolver/CMakeLists.linux-x86_64.txt +++ b/library/cpp/actors/dnsresolver/CMakeLists.linux-x86_64.txt @@ -7,6 +7,7 @@ find_package(c-ares REQUIRED) +add_subdirectory(ut) add_library(cpp-actors-dnsresolver) target_link_libraries(cpp-actors-dnsresolver PUBLIC diff --git a/library/cpp/actors/dnsresolver/CMakeLists.windows-x86_64.txt b/library/cpp/actors/dnsresolver/CMakeLists.windows-x86_64.txt index 99c09b86fc..8d9cb550f1 100644 --- a/library/cpp/actors/dnsresolver/CMakeLists.windows-x86_64.txt +++ b/library/cpp/actors/dnsresolver/CMakeLists.windows-x86_64.txt @@ -7,6 +7,7 @@ find_package(c-ares REQUIRED) +add_subdirectory(ut) add_library(cpp-actors-dnsresolver) target_link_libraries(cpp-actors-dnsresolver PUBLIC diff --git a/library/cpp/actors/dnsresolver/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/dnsresolver/ut/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..9e092bba80 --- /dev/null +++ b/library/cpp/actors/dnsresolver/ut/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,71 @@ + +# 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. + + + +add_executable(library-cpp-actors-dnsresolver-ut) +target_include_directories(library-cpp-actors-dnsresolver-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver + ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include +) +target_link_libraries(library-cpp-actors-dnsresolver-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-dnsresolver + cpp-actors-testlib +) +target_link_options(library-cpp-actors-dnsresolver-ut PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-dnsresolver-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ut.cpp +) +set_property( + TARGET + library-cpp-actors-dnsresolver-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-dnsresolver-ut + TEST_TARGET + library-cpp-actors-dnsresolver-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-dnsresolver-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-dnsresolver-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-dnsresolver-ut + system_allocator +) +vcs_info(library-cpp-actors-dnsresolver-ut) diff --git a/library/cpp/actors/dnsresolver/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/dnsresolver/ut/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..c8eb27acd0 --- /dev/null +++ b/library/cpp/actors/dnsresolver/ut/CMakeLists.linux-aarch64.txt @@ -0,0 +1,74 @@ + +# 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. + + + +add_executable(library-cpp-actors-dnsresolver-ut) +target_include_directories(library-cpp-actors-dnsresolver-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver + ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include +) +target_link_libraries(library-cpp-actors-dnsresolver-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-dnsresolver + cpp-actors-testlib +) +target_link_options(library-cpp-actors-dnsresolver-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-dnsresolver-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ut.cpp +) +set_property( + TARGET + library-cpp-actors-dnsresolver-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-dnsresolver-ut + TEST_TARGET + library-cpp-actors-dnsresolver-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-dnsresolver-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-dnsresolver-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-dnsresolver-ut + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-dnsresolver-ut) diff --git a/library/cpp/actors/dnsresolver/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/dnsresolver/ut/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..eae7bc85a3 --- /dev/null +++ b/library/cpp/actors/dnsresolver/ut/CMakeLists.linux-x86_64.txt @@ -0,0 +1,76 @@ + +# 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. + + + +add_executable(library-cpp-actors-dnsresolver-ut) +target_include_directories(library-cpp-actors-dnsresolver-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver + ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include +) +target_link_libraries(library-cpp-actors-dnsresolver-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-dnsresolver + cpp-actors-testlib +) +target_link_options(library-cpp-actors-dnsresolver-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-dnsresolver-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ut.cpp +) +set_property( + TARGET + library-cpp-actors-dnsresolver-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-dnsresolver-ut + TEST_TARGET + library-cpp-actors-dnsresolver-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-dnsresolver-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-dnsresolver-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-dnsresolver-ut + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-dnsresolver-ut) diff --git a/library/cpp/actors/dnsresolver/ut/CMakeLists.txt b/library/cpp/actors/dnsresolver/ut/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/dnsresolver/ut/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/dnsresolver/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/dnsresolver/ut/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7705d206a3 --- /dev/null +++ b/library/cpp/actors/dnsresolver/ut/CMakeLists.windows-x86_64.txt @@ -0,0 +1,64 @@ + +# 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. + + + +add_executable(library-cpp-actors-dnsresolver-ut) +target_include_directories(library-cpp-actors-dnsresolver-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver + ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include +) +target_link_libraries(library-cpp-actors-dnsresolver-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-dnsresolver + cpp-actors-testlib +) +target_sources(library-cpp-actors-dnsresolver-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ut.cpp +) +set_property( + TARGET + library-cpp-actors-dnsresolver-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-dnsresolver-ut + TEST_TARGET + library-cpp-actors-dnsresolver-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-dnsresolver-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-dnsresolver-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-dnsresolver-ut + system_allocator +) +vcs_info(library-cpp-actors-dnsresolver-ut) diff --git a/library/cpp/actors/examples/01_ping_pong/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/examples/01_ping_pong/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..1e053eb6b4 --- /dev/null +++ b/library/cpp/actors/examples/01_ping_pong/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,30 @@ + +# 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. + + + +add_executable(example_01_ping_pong) +target_link_libraries(example_01_ping_pong PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-actors-core +) +target_link_options(example_01_ping_pong PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(example_01_ping_pong PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/01_ping_pong/main.cpp +) +target_allocator(example_01_ping_pong + library-cpp-lfalloc +) +vcs_info(example_01_ping_pong) diff --git a/library/cpp/actors/examples/01_ping_pong/CMakeLists.linux-aarch64.txt b/library/cpp/actors/examples/01_ping_pong/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..5884f06261 --- /dev/null +++ b/library/cpp/actors/examples/01_ping_pong/CMakeLists.linux-aarch64.txt @@ -0,0 +1,33 @@ + +# 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. + + + +add_executable(example_01_ping_pong) +target_link_libraries(example_01_ping_pong PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-actors-core +) +target_link_options(example_01_ping_pong PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(example_01_ping_pong PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/01_ping_pong/main.cpp +) +target_allocator(example_01_ping_pong + library-cpp-lfalloc +) +vcs_info(example_01_ping_pong) diff --git a/library/cpp/actors/examples/01_ping_pong/CMakeLists.linux-x86_64.txt b/library/cpp/actors/examples/01_ping_pong/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..7320982029 --- /dev/null +++ b/library/cpp/actors/examples/01_ping_pong/CMakeLists.linux-x86_64.txt @@ -0,0 +1,34 @@ + +# 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. + + + +add_executable(example_01_ping_pong) +target_link_libraries(example_01_ping_pong PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-actors-core +) +target_link_options(example_01_ping_pong PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(example_01_ping_pong PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/01_ping_pong/main.cpp +) +target_allocator(example_01_ping_pong + library-cpp-lfalloc +) +vcs_info(example_01_ping_pong) diff --git a/library/cpp/actors/examples/01_ping_pong/CMakeLists.txt b/library/cpp/actors/examples/01_ping_pong/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/examples/01_ping_pong/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/examples/01_ping_pong/CMakeLists.windows-x86_64.txt b/library/cpp/actors/examples/01_ping_pong/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..22c41768c9 --- /dev/null +++ b/library/cpp/actors/examples/01_ping_pong/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# 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. + + + +add_executable(example_01_ping_pong) +target_link_libraries(example_01_ping_pong PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-actors-core +) +target_sources(example_01_ping_pong PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/01_ping_pong/main.cpp +) +target_allocator(example_01_ping_pong + library-cpp-lfalloc +) +vcs_info(example_01_ping_pong) diff --git a/library/cpp/actors/examples/02_discovery/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/examples/02_discovery/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..1003ca94c5 --- /dev/null +++ b/library/cpp/actors/examples/02_discovery/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,67 @@ + +# 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_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_executable(example_02_discovery) +target_link_libraries(example_02_discovery PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-actors-core + cpp-actors-dnsresolver + cpp-actors-interconnect + cpp-actors-http + contrib-libs-protobuf +) +target_link_options(example_02_discovery PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_proto_messages(example_02_discovery PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/protocol.proto +) +target_sources(example_02_discovery PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/endpoint.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/lookup.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/main.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/publish.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/replica.cpp +) +target_allocator(example_02_discovery + library-cpp-lfalloc +) +target_proto_addincls(example_02_discovery + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_SOURCE_DIR}/contrib/libs/opentelemetry-proto + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(example_02_discovery + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) +vcs_info(example_02_discovery) diff --git a/library/cpp/actors/examples/02_discovery/CMakeLists.linux-aarch64.txt b/library/cpp/actors/examples/02_discovery/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..564892d9f7 --- /dev/null +++ b/library/cpp/actors/examples/02_discovery/CMakeLists.linux-aarch64.txt @@ -0,0 +1,70 @@ + +# 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_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_executable(example_02_discovery) +target_link_libraries(example_02_discovery PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-actors-core + cpp-actors-dnsresolver + cpp-actors-interconnect + cpp-actors-http + contrib-libs-protobuf +) +target_link_options(example_02_discovery PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_proto_messages(example_02_discovery PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/protocol.proto +) +target_sources(example_02_discovery PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/endpoint.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/lookup.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/main.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/publish.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/replica.cpp +) +target_allocator(example_02_discovery + library-cpp-lfalloc +) +target_proto_addincls(example_02_discovery + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_SOURCE_DIR}/contrib/libs/opentelemetry-proto + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(example_02_discovery + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) +vcs_info(example_02_discovery) diff --git a/library/cpp/actors/examples/02_discovery/CMakeLists.linux-x86_64.txt b/library/cpp/actors/examples/02_discovery/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..aed3404cb8 --- /dev/null +++ b/library/cpp/actors/examples/02_discovery/CMakeLists.linux-x86_64.txt @@ -0,0 +1,71 @@ + +# 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_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_executable(example_02_discovery) +target_link_libraries(example_02_discovery PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-actors-core + cpp-actors-dnsresolver + cpp-actors-interconnect + cpp-actors-http + contrib-libs-protobuf +) +target_link_options(example_02_discovery PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_proto_messages(example_02_discovery PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/protocol.proto +) +target_sources(example_02_discovery PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/endpoint.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/lookup.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/main.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/publish.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/replica.cpp +) +target_allocator(example_02_discovery + library-cpp-lfalloc +) +target_proto_addincls(example_02_discovery + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_SOURCE_DIR}/contrib/libs/opentelemetry-proto + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(example_02_discovery + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) +vcs_info(example_02_discovery) diff --git a/library/cpp/actors/examples/02_discovery/CMakeLists.txt b/library/cpp/actors/examples/02_discovery/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/examples/02_discovery/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/examples/02_discovery/CMakeLists.windows-x86_64.txt b/library/cpp/actors/examples/02_discovery/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..6bf59ae8c9 --- /dev/null +++ b/library/cpp/actors/examples/02_discovery/CMakeLists.windows-x86_64.txt @@ -0,0 +1,60 @@ + +# 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_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_executable(example_02_discovery) +target_link_libraries(example_02_discovery PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-actors-core + cpp-actors-dnsresolver + cpp-actors-interconnect + cpp-actors-http + contrib-libs-protobuf +) +target_proto_messages(example_02_discovery PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/protocol.proto +) +target_sources(example_02_discovery PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/endpoint.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/lookup.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/main.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/publish.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/examples/02_discovery/replica.cpp +) +target_allocator(example_02_discovery + library-cpp-lfalloc +) +target_proto_addincls(example_02_discovery + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_SOURCE_DIR}/contrib/libs/opentelemetry-proto + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(example_02_discovery + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) +vcs_info(example_02_discovery) diff --git a/library/cpp/actors/examples/CMakeLists.txt b/library/cpp/actors/examples/CMakeLists.txt new file mode 100644 index 0000000000..bcda1cfeef --- /dev/null +++ b/library/cpp/actors/examples/CMakeLists.txt @@ -0,0 +1,10 @@ + +# 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. + + +add_subdirectory(01_ping_pong) +add_subdirectory(02_discovery) diff --git a/library/cpp/actors/helpers/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/helpers/CMakeLists.darwin-x86_64.txt index 16ecfc7b98..7367c0b925 100644 --- a/library/cpp/actors/helpers/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/actors/helpers/CMakeLists.darwin-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-helpers) target_link_libraries(cpp-actors-helpers PUBLIC diff --git a/library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt b/library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt index b00db82fde..da8ce6e8e6 100644 --- a/library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt +++ b/library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-helpers) target_link_libraries(cpp-actors-helpers PUBLIC diff --git a/library/cpp/actors/helpers/CMakeLists.linux-x86_64.txt b/library/cpp/actors/helpers/CMakeLists.linux-x86_64.txt index b00db82fde..da8ce6e8e6 100644 --- a/library/cpp/actors/helpers/CMakeLists.linux-x86_64.txt +++ b/library/cpp/actors/helpers/CMakeLists.linux-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-helpers) target_link_libraries(cpp-actors-helpers PUBLIC diff --git a/library/cpp/actors/helpers/CMakeLists.windows-x86_64.txt b/library/cpp/actors/helpers/CMakeLists.windows-x86_64.txt index 16ecfc7b98..7367c0b925 100644 --- a/library/cpp/actors/helpers/CMakeLists.windows-x86_64.txt +++ b/library/cpp/actors/helpers/CMakeLists.windows-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-helpers) target_link_libraries(cpp-actors-helpers PUBLIC diff --git a/library/cpp/actors/helpers/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/helpers/ut/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..126b29e574 --- /dev/null +++ b/library/cpp/actors/helpers/ut/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,77 @@ + +# 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. + + + +add_executable(library-cpp-actors-helpers-ut) +target_include_directories(library-cpp-actors-helpers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers +) +target_link_libraries(library-cpp-actors-helpers-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-helpers + cpp-actors-interconnect + cpp-actors-testlib + cpp-actors-core +) +target_link_options(library-cpp-actors-helpers-ut PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-helpers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-helpers-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-helpers-ut + TEST_TARGET + library-cpp-actors-helpers-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-helpers-ut + system_allocator +) +vcs_info(library-cpp-actors-helpers-ut) diff --git a/library/cpp/actors/helpers/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/helpers/ut/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..24da0dacd6 --- /dev/null +++ b/library/cpp/actors/helpers/ut/CMakeLists.linux-aarch64.txt @@ -0,0 +1,80 @@ + +# 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. + + + +add_executable(library-cpp-actors-helpers-ut) +target_include_directories(library-cpp-actors-helpers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers +) +target_link_libraries(library-cpp-actors-helpers-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-helpers + cpp-actors-interconnect + cpp-actors-testlib + cpp-actors-core +) +target_link_options(library-cpp-actors-helpers-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-helpers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-helpers-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-helpers-ut + TEST_TARGET + library-cpp-actors-helpers-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-helpers-ut + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-helpers-ut) diff --git a/library/cpp/actors/helpers/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/helpers/ut/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..db118dc91e --- /dev/null +++ b/library/cpp/actors/helpers/ut/CMakeLists.linux-x86_64.txt @@ -0,0 +1,82 @@ + +# 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. + + + +add_executable(library-cpp-actors-helpers-ut) +target_include_directories(library-cpp-actors-helpers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers +) +target_link_libraries(library-cpp-actors-helpers-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-helpers + cpp-actors-interconnect + cpp-actors-testlib + cpp-actors-core +) +target_link_options(library-cpp-actors-helpers-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-helpers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-helpers-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-helpers-ut + TEST_TARGET + library-cpp-actors-helpers-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-helpers-ut + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-helpers-ut) diff --git a/library/cpp/actors/helpers/ut/CMakeLists.txt b/library/cpp/actors/helpers/ut/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/helpers/ut/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/helpers/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/helpers/ut/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7e68870a0e --- /dev/null +++ b/library/cpp/actors/helpers/ut/CMakeLists.windows-x86_64.txt @@ -0,0 +1,70 @@ + +# 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. + + + +add_executable(library-cpp-actors-helpers-ut) +target_include_directories(library-cpp-actors-helpers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers +) +target_link_libraries(library-cpp-actors-helpers-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-helpers + cpp-actors-interconnect + cpp-actors-testlib + cpp-actors-core +) +target_sources(library-cpp-actors-helpers-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor_ut.cpp +) +set_property( + TARGET + library-cpp-actors-helpers-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-helpers-ut + TEST_TARGET + library-cpp-actors-helpers-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-helpers-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-helpers-ut + system_allocator +) +vcs_info(library-cpp-actors-helpers-ut) diff --git a/library/cpp/actors/http/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/http/CMakeLists.darwin-x86_64.txt index c60599beaa..7dc97fa768 100644 --- a/library/cpp/actors/http/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/actors/http/CMakeLists.darwin-x86_64.txt @@ -8,6 +8,7 @@ find_package(OpenSSL REQUIRED) find_package(ZLIB REQUIRED) +add_subdirectory(ut) add_library(cpp-actors-http) target_link_libraries(cpp-actors-http PUBLIC diff --git a/library/cpp/actors/http/CMakeLists.linux-aarch64.txt b/library/cpp/actors/http/CMakeLists.linux-aarch64.txt index d6e3868652..ea0055be16 100644 --- a/library/cpp/actors/http/CMakeLists.linux-aarch64.txt +++ b/library/cpp/actors/http/CMakeLists.linux-aarch64.txt @@ -8,6 +8,7 @@ find_package(OpenSSL REQUIRED) find_package(ZLIB REQUIRED) +add_subdirectory(ut) add_library(cpp-actors-http) target_link_libraries(cpp-actors-http PUBLIC diff --git a/library/cpp/actors/http/CMakeLists.linux-x86_64.txt b/library/cpp/actors/http/CMakeLists.linux-x86_64.txt index d6e3868652..ea0055be16 100644 --- a/library/cpp/actors/http/CMakeLists.linux-x86_64.txt +++ b/library/cpp/actors/http/CMakeLists.linux-x86_64.txt @@ -8,6 +8,7 @@ find_package(OpenSSL REQUIRED) find_package(ZLIB REQUIRED) +add_subdirectory(ut) add_library(cpp-actors-http) target_link_libraries(cpp-actors-http PUBLIC diff --git a/library/cpp/actors/http/CMakeLists.windows-x86_64.txt b/library/cpp/actors/http/CMakeLists.windows-x86_64.txt index c60599beaa..7dc97fa768 100644 --- a/library/cpp/actors/http/CMakeLists.windows-x86_64.txt +++ b/library/cpp/actors/http/CMakeLists.windows-x86_64.txt @@ -8,6 +8,7 @@ find_package(OpenSSL REQUIRED) find_package(ZLIB REQUIRED) +add_subdirectory(ut) add_library(cpp-actors-http) target_link_libraries(cpp-actors-http PUBLIC diff --git a/library/cpp/actors/http/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/http/ut/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..99677acae5 --- /dev/null +++ b/library/cpp/actors/http/ut/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,68 @@ + +# 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. + + + +add_executable(library-cpp-actors-http-ut) +target_include_directories(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http +) +target_link_libraries(library-cpp-actors-http-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-http + cpp-actors-testlib +) +target_link_options(library-cpp-actors-http-ut PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_ut.cpp +) +set_property( + TARGET + library-cpp-actors-http-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-http-ut + TEST_TARGET + library-cpp-actors-http-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-http-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-http-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-http-ut + system_allocator +) +vcs_info(library-cpp-actors-http-ut) diff --git a/library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..8818e4418f --- /dev/null +++ b/library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt @@ -0,0 +1,71 @@ + +# 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. + + + +add_executable(library-cpp-actors-http-ut) +target_include_directories(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http +) +target_link_libraries(library-cpp-actors-http-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-http + cpp-actors-testlib +) +target_link_options(library-cpp-actors-http-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_ut.cpp +) +set_property( + TARGET + library-cpp-actors-http-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-http-ut + TEST_TARGET + library-cpp-actors-http-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-http-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-http-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-http-ut + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-http-ut) diff --git a/library/cpp/actors/http/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/http/ut/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..620f66ad00 --- /dev/null +++ b/library/cpp/actors/http/ut/CMakeLists.linux-x86_64.txt @@ -0,0 +1,73 @@ + +# 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. + + + +add_executable(library-cpp-actors-http-ut) +target_include_directories(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http +) +target_link_libraries(library-cpp-actors-http-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-http + cpp-actors-testlib +) +target_link_options(library-cpp-actors-http-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_ut.cpp +) +set_property( + TARGET + library-cpp-actors-http-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-http-ut + TEST_TARGET + library-cpp-actors-http-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-http-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-http-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-http-ut + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-http-ut) diff --git a/library/cpp/actors/http/ut/CMakeLists.txt b/library/cpp/actors/http/ut/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/http/ut/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/http/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/http/ut/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..73603d626c --- /dev/null +++ b/library/cpp/actors/http/ut/CMakeLists.windows-x86_64.txt @@ -0,0 +1,58 @@ + +# 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. + + + +add_executable(library-cpp-actors-http-ut) +target_include_directories(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http +) +target_link_libraries(library-cpp-actors-http-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-http + cpp-actors-testlib +) +set_property( + TARGET + library-cpp-actors-http-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-http-ut + TEST_TARGET + library-cpp-actors-http-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-http-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-http-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-http-ut + system_allocator +) +vcs_info(library-cpp-actors-http-ut) diff --git a/library/cpp/actors/interconnect/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/interconnect/CMakeLists.darwin-x86_64.txt index c8342a4d9a..b0843f7a1f 100644 --- a/library/cpp/actors/interconnect/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/actors/interconnect/CMakeLists.darwin-x86_64.txt @@ -8,6 +8,9 @@ find_package(OpenSSL REQUIRED) add_subdirectory(mock) +add_subdirectory(ut) +add_subdirectory(ut_fat) +add_subdirectory(ut_huge_cluster) add_library(cpp-actors-interconnect) target_link_libraries(cpp-actors-interconnect PUBLIC diff --git a/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt b/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt index c8e3d89327..88d247f735 100644 --- a/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt +++ b/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt @@ -8,6 +8,9 @@ find_package(OpenSSL REQUIRED) add_subdirectory(mock) +add_subdirectory(ut) +add_subdirectory(ut_fat) +add_subdirectory(ut_huge_cluster) add_library(cpp-actors-interconnect) target_link_libraries(cpp-actors-interconnect PUBLIC diff --git a/library/cpp/actors/interconnect/CMakeLists.linux-x86_64.txt b/library/cpp/actors/interconnect/CMakeLists.linux-x86_64.txt index c8e3d89327..88d247f735 100644 --- a/library/cpp/actors/interconnect/CMakeLists.linux-x86_64.txt +++ b/library/cpp/actors/interconnect/CMakeLists.linux-x86_64.txt @@ -8,6 +8,9 @@ find_package(OpenSSL REQUIRED) add_subdirectory(mock) +add_subdirectory(ut) +add_subdirectory(ut_fat) +add_subdirectory(ut_huge_cluster) add_library(cpp-actors-interconnect) target_link_libraries(cpp-actors-interconnect PUBLIC diff --git a/library/cpp/actors/interconnect/CMakeLists.windows-x86_64.txt b/library/cpp/actors/interconnect/CMakeLists.windows-x86_64.txt index c8342a4d9a..b0843f7a1f 100644 --- a/library/cpp/actors/interconnect/CMakeLists.windows-x86_64.txt +++ b/library/cpp/actors/interconnect/CMakeLists.windows-x86_64.txt @@ -8,6 +8,9 @@ find_package(OpenSSL REQUIRED) add_subdirectory(mock) +add_subdirectory(ut) +add_subdirectory(ut_fat) +add_subdirectory(ut_huge_cluster) add_library(cpp-actors-interconnect) target_link_libraries(cpp-actors-interconnect PUBLIC diff --git a/library/cpp/actors/interconnect/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/interconnect/ut/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..7519ee7ba9 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,86 @@ + +# 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. + + +add_subdirectory(lib) +add_subdirectory(protos) + +add_executable(library-cpp-actors-interconnect-ut) +target_link_libraries(library-cpp-actors-interconnect-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + interconnect-ut-lib + interconnect-ut-protos + cpp-actors-testlib + cpp-digest-md5 + cpp-testing-unittest +) +target_link_options(library-cpp-actors-interconnect-ut PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-interconnect-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/channel_scheduler_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/event_holder_pool_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/interconnect_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/large.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/outgoing_stream_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/poller_actor_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/dynamic_proxy_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/sticking_ut.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut + TEST_TARGET + library-cpp-actors-interconnect-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-interconnect-ut + system_allocator +) +vcs_info(library-cpp-actors-interconnect-ut) diff --git a/library/cpp/actors/interconnect/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/interconnect/ut/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..1d488c4550 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/CMakeLists.linux-aarch64.txt @@ -0,0 +1,89 @@ + +# 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. + + +add_subdirectory(lib) +add_subdirectory(protos) + +add_executable(library-cpp-actors-interconnect-ut) +target_link_libraries(library-cpp-actors-interconnect-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + interconnect-ut-lib + interconnect-ut-protos + cpp-actors-testlib + cpp-digest-md5 + cpp-testing-unittest +) +target_link_options(library-cpp-actors-interconnect-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-interconnect-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/channel_scheduler_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/event_holder_pool_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/interconnect_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/large.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/outgoing_stream_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/poller_actor_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/dynamic_proxy_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/sticking_ut.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut + TEST_TARGET + library-cpp-actors-interconnect-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-interconnect-ut + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-interconnect-ut) diff --git a/library/cpp/actors/interconnect/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/interconnect/ut/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..3ee5b5f656 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/CMakeLists.linux-x86_64.txt @@ -0,0 +1,91 @@ + +# 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. + + +add_subdirectory(lib) +add_subdirectory(protos) + +add_executable(library-cpp-actors-interconnect-ut) +target_link_libraries(library-cpp-actors-interconnect-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + interconnect-ut-lib + interconnect-ut-protos + cpp-actors-testlib + cpp-digest-md5 + cpp-testing-unittest +) +target_link_options(library-cpp-actors-interconnect-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-interconnect-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/channel_scheduler_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/event_holder_pool_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/interconnect_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/large.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/outgoing_stream_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/poller_actor_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/dynamic_proxy_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/sticking_ut.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut + TEST_TARGET + library-cpp-actors-interconnect-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-interconnect-ut + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-interconnect-ut) diff --git a/library/cpp/actors/interconnect/ut/CMakeLists.txt b/library/cpp/actors/interconnect/ut/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/interconnect/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/interconnect/ut/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..b928771974 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/CMakeLists.windows-x86_64.txt @@ -0,0 +1,79 @@ + +# 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. + + +add_subdirectory(lib) +add_subdirectory(protos) + +add_executable(library-cpp-actors-interconnect-ut) +target_link_libraries(library-cpp-actors-interconnect-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + interconnect-ut-lib + interconnect-ut-protos + cpp-actors-testlib + cpp-digest-md5 + cpp-testing-unittest +) +target_sources(library-cpp-actors-interconnect-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/channel_scheduler_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/event_holder_pool_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/interconnect_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/large.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/outgoing_stream_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/poller_actor_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/dynamic_proxy_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/sticking_ut.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut + TEST_TARGET + library-cpp-actors-interconnect-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + PROCESSORS + 1 +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-interconnect-ut + system_allocator +) +vcs_info(library-cpp-actors-interconnect-ut) diff --git a/library/cpp/actors/interconnect/ut/lib/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/interconnect/ut/lib/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..a6a86ac09b --- /dev/null +++ b/library/cpp/actors/interconnect/ut/lib/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,14 @@ + +# 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. + + + +add_library(interconnect-ut-lib INTERFACE) +target_link_libraries(interconnect-ut-lib INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/actors/interconnect/ut/lib/CMakeLists.linux-aarch64.txt b/library/cpp/actors/interconnect/ut/lib/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..b20c3b0de9 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/lib/CMakeLists.linux-aarch64.txt @@ -0,0 +1,15 @@ + +# 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. + + + +add_library(interconnect-ut-lib INTERFACE) +target_link_libraries(interconnect-ut-lib INTERFACE + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/actors/interconnect/ut/lib/CMakeLists.linux-x86_64.txt b/library/cpp/actors/interconnect/ut/lib/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..b20c3b0de9 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/lib/CMakeLists.linux-x86_64.txt @@ -0,0 +1,15 @@ + +# 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. + + + +add_library(interconnect-ut-lib INTERFACE) +target_link_libraries(interconnect-ut-lib INTERFACE + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/actors/interconnect/ut/lib/CMakeLists.txt b/library/cpp/actors/interconnect/ut/lib/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/lib/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/interconnect/ut/lib/CMakeLists.windows-x86_64.txt b/library/cpp/actors/interconnect/ut/lib/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a6a86ac09b --- /dev/null +++ b/library/cpp/actors/interconnect/ut/lib/CMakeLists.windows-x86_64.txt @@ -0,0 +1,14 @@ + +# 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. + + + +add_library(interconnect-ut-lib INTERFACE) +target_link_libraries(interconnect-ut-lib INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/actors/interconnect/ut/protos/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/interconnect/ut/protos/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..01f1765c08 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/protos/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,43 @@ + +# 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_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(interconnect-ut-protos) +target_link_libraries(interconnect-ut-protos PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(interconnect-ut-protos PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/protos/interconnect_test.proto +) +target_proto_addincls(interconnect-ut-protos + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(interconnect-ut-protos + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/actors/interconnect/ut/protos/CMakeLists.linux-aarch64.txt b/library/cpp/actors/interconnect/ut/protos/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..10cf33244c --- /dev/null +++ b/library/cpp/actors/interconnect/ut/protos/CMakeLists.linux-aarch64.txt @@ -0,0 +1,44 @@ + +# 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_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(interconnect-ut-protos) +target_link_libraries(interconnect-ut-protos PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(interconnect-ut-protos PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/protos/interconnect_test.proto +) +target_proto_addincls(interconnect-ut-protos + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(interconnect-ut-protos + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/actors/interconnect/ut/protos/CMakeLists.linux-x86_64.txt b/library/cpp/actors/interconnect/ut/protos/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..10cf33244c --- /dev/null +++ b/library/cpp/actors/interconnect/ut/protos/CMakeLists.linux-x86_64.txt @@ -0,0 +1,44 @@ + +# 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_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(interconnect-ut-protos) +target_link_libraries(interconnect-ut-protos PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(interconnect-ut-protos PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/protos/interconnect_test.proto +) +target_proto_addincls(interconnect-ut-protos + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(interconnect-ut-protos + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/actors/interconnect/ut/protos/CMakeLists.txt b/library/cpp/actors/interconnect/ut/protos/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/protos/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/interconnect/ut/protos/CMakeLists.windows-x86_64.txt b/library/cpp/actors/interconnect/ut/protos/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..01f1765c08 --- /dev/null +++ b/library/cpp/actors/interconnect/ut/protos/CMakeLists.windows-x86_64.txt @@ -0,0 +1,43 @@ + +# 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_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(interconnect-ut-protos) +target_link_libraries(interconnect-ut-protos PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(interconnect-ut-protos PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut/protos/interconnect_test.proto +) +target_proto_addincls(interconnect-ut-protos + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(interconnect-ut-protos + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/actors/interconnect/ut_fat/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/interconnect/ut_fat/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..4285513499 --- /dev/null +++ b/library/cpp/actors/interconnect/ut_fat/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,70 @@ + +# 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. + + + +add_executable(library-cpp-actors-interconnect-ut_fat) +target_link_libraries(library-cpp-actors-interconnect-ut_fat PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + actors-interconnect-mock + interconnect-ut-lib + interconnect-ut-protos + cpp-testing-unittest + cpp-deprecated-atomic +) +target_link_options(library-cpp-actors-interconnect-ut_fat PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-interconnect-ut_fat PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut_fat/main.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut_fat + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut_fat + TEST_TARGET + library-cpp-actors-interconnect-ut_fat + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_fat + PROPERTY + LABELS + LARGE +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_fat + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-interconnect-ut_fat + system_allocator +) +vcs_info(library-cpp-actors-interconnect-ut_fat) diff --git a/library/cpp/actors/interconnect/ut_fat/CMakeLists.linux-aarch64.txt b/library/cpp/actors/interconnect/ut_fat/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..5365ba4e24 --- /dev/null +++ b/library/cpp/actors/interconnect/ut_fat/CMakeLists.linux-aarch64.txt @@ -0,0 +1,73 @@ + +# 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. + + + +add_executable(library-cpp-actors-interconnect-ut_fat) +target_link_libraries(library-cpp-actors-interconnect-ut_fat PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + actors-interconnect-mock + interconnect-ut-lib + interconnect-ut-protos + cpp-testing-unittest + cpp-deprecated-atomic +) +target_link_options(library-cpp-actors-interconnect-ut_fat PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-interconnect-ut_fat PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut_fat/main.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut_fat + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut_fat + TEST_TARGET + library-cpp-actors-interconnect-ut_fat + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_fat + PROPERTY + LABELS + LARGE +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_fat + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-interconnect-ut_fat + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-interconnect-ut_fat) diff --git a/library/cpp/actors/interconnect/ut_fat/CMakeLists.linux-x86_64.txt b/library/cpp/actors/interconnect/ut_fat/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..86ef393bab --- /dev/null +++ b/library/cpp/actors/interconnect/ut_fat/CMakeLists.linux-x86_64.txt @@ -0,0 +1,75 @@ + +# 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. + + + +add_executable(library-cpp-actors-interconnect-ut_fat) +target_link_libraries(library-cpp-actors-interconnect-ut_fat PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + actors-interconnect-mock + interconnect-ut-lib + interconnect-ut-protos + cpp-testing-unittest + cpp-deprecated-atomic +) +target_link_options(library-cpp-actors-interconnect-ut_fat PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-interconnect-ut_fat PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut_fat/main.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut_fat + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut_fat + TEST_TARGET + library-cpp-actors-interconnect-ut_fat + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_fat + PROPERTY + LABELS + LARGE +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_fat + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-interconnect-ut_fat + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-interconnect-ut_fat) diff --git a/library/cpp/actors/interconnect/ut_fat/CMakeLists.txt b/library/cpp/actors/interconnect/ut_fat/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/interconnect/ut_fat/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/interconnect/ut_fat/CMakeLists.windows-x86_64.txt b/library/cpp/actors/interconnect/ut_fat/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3841949a28 --- /dev/null +++ b/library/cpp/actors/interconnect/ut_fat/CMakeLists.windows-x86_64.txt @@ -0,0 +1,63 @@ + +# 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. + + + +add_executable(library-cpp-actors-interconnect-ut_fat) +target_link_libraries(library-cpp-actors-interconnect-ut_fat PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + actors-interconnect-mock + interconnect-ut-lib + interconnect-ut-protos + cpp-testing-unittest + cpp-deprecated-atomic +) +target_sources(library-cpp-actors-interconnect-ut_fat PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut_fat/main.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut_fat + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut_fat + TEST_TARGET + library-cpp-actors-interconnect-ut_fat + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_fat + PROPERTY + LABELS + LARGE +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_fat + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-interconnect-ut_fat + system_allocator +) +vcs_info(library-cpp-actors-interconnect-ut_fat) diff --git a/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..45fd7e2060 --- /dev/null +++ b/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,76 @@ + +# 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. + + + +add_executable(library-cpp-actors-interconnect-ut_huge_cluster) +target_link_libraries(library-cpp-actors-interconnect-ut_huge_cluster PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + interconnect-ut-lib + interconnect-ut-protos + cpp-testing-unittest + cpp-actors-testlib +) +target_link_options(library-cpp-actors-interconnect-ut_huge_cluster PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-interconnect-ut_huge_cluster PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut_huge_cluster/huge_cluster.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut_huge_cluster + TEST_TARGET + library-cpp-actors-interconnect-ut_huge_cluster + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + PROCESSORS + 4 +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-interconnect-ut_huge_cluster + system_allocator +) +vcs_info(library-cpp-actors-interconnect-ut_huge_cluster) diff --git a/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.linux-aarch64.txt b/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..51c8af6a26 --- /dev/null +++ b/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.linux-aarch64.txt @@ -0,0 +1,79 @@ + +# 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. + + + +add_executable(library-cpp-actors-interconnect-ut_huge_cluster) +target_link_libraries(library-cpp-actors-interconnect-ut_huge_cluster PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + interconnect-ut-lib + interconnect-ut-protos + cpp-testing-unittest + cpp-actors-testlib +) +target_link_options(library-cpp-actors-interconnect-ut_huge_cluster PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-interconnect-ut_huge_cluster PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut_huge_cluster/huge_cluster.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut_huge_cluster + TEST_TARGET + library-cpp-actors-interconnect-ut_huge_cluster + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + PROCESSORS + 4 +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-interconnect-ut_huge_cluster + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-interconnect-ut_huge_cluster) diff --git a/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.linux-x86_64.txt b/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..97a04cc102 --- /dev/null +++ b/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.linux-x86_64.txt @@ -0,0 +1,81 @@ + +# 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. + + + +add_executable(library-cpp-actors-interconnect-ut_huge_cluster) +target_link_libraries(library-cpp-actors-interconnect-ut_huge_cluster PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + interconnect-ut-lib + interconnect-ut-protos + cpp-testing-unittest + cpp-actors-testlib +) +target_link_options(library-cpp-actors-interconnect-ut_huge_cluster PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-interconnect-ut_huge_cluster PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut_huge_cluster/huge_cluster.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut_huge_cluster + TEST_TARGET + library-cpp-actors-interconnect-ut_huge_cluster + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + PROCESSORS + 4 +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-interconnect-ut_huge_cluster + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-interconnect-ut_huge_cluster) diff --git a/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.txt b/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.windows-x86_64.txt b/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7155e17cd5 --- /dev/null +++ b/library/cpp/actors/interconnect/ut_huge_cluster/CMakeLists.windows-x86_64.txt @@ -0,0 +1,69 @@ + +# 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. + + + +add_executable(library-cpp-actors-interconnect-ut_huge_cluster) +target_link_libraries(library-cpp-actors-interconnect-ut_huge_cluster PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-core + cpp-actors-interconnect + interconnect-ut-lib + interconnect-ut-protos + cpp-testing-unittest + cpp-actors-testlib +) +target_sources(library-cpp-actors-interconnect-ut_huge_cluster PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/ut_huge_cluster/huge_cluster.cpp +) +set_property( + TARGET + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-interconnect-ut_huge_cluster + TEST_TARGET + library-cpp-actors-interconnect-ut_huge_cluster + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + LABELS + MEDIUM +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + PROCESSORS + 4 +) +set_yunittest_property( + TEST + library-cpp-actors-interconnect-ut_huge_cluster + PROPERTY + TIMEOUT + 600 +) +target_allocator(library-cpp-actors-interconnect-ut_huge_cluster + system_allocator +) +vcs_info(library-cpp-actors-interconnect-ut_huge_cluster) diff --git a/library/cpp/actors/prof/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/prof/CMakeLists.darwin-x86_64.txt index 9ee960950d..c641cf5a52 100644 --- a/library/cpp/actors/prof/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/actors/prof/CMakeLists.darwin-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-prof) target_link_libraries(cpp-actors-prof PUBLIC diff --git a/library/cpp/actors/prof/CMakeLists.linux-aarch64.txt b/library/cpp/actors/prof/CMakeLists.linux-aarch64.txt index a7ee6c9586..fa76970f57 100644 --- a/library/cpp/actors/prof/CMakeLists.linux-aarch64.txt +++ b/library/cpp/actors/prof/CMakeLists.linux-aarch64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-prof) target_link_libraries(cpp-actors-prof PUBLIC diff --git a/library/cpp/actors/prof/CMakeLists.linux-x86_64.txt b/library/cpp/actors/prof/CMakeLists.linux-x86_64.txt index a7ee6c9586..fa76970f57 100644 --- a/library/cpp/actors/prof/CMakeLists.linux-x86_64.txt +++ b/library/cpp/actors/prof/CMakeLists.linux-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-prof) target_link_libraries(cpp-actors-prof PUBLIC diff --git a/library/cpp/actors/prof/CMakeLists.windows-x86_64.txt b/library/cpp/actors/prof/CMakeLists.windows-x86_64.txt index 9ee960950d..c641cf5a52 100644 --- a/library/cpp/actors/prof/CMakeLists.windows-x86_64.txt +++ b/library/cpp/actors/prof/CMakeLists.windows-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-prof) target_link_libraries(cpp-actors-prof PUBLIC diff --git a/library/cpp/actors/prof/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/prof/ut/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..0ec56d8762 --- /dev/null +++ b/library/cpp/actors/prof/ut/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,67 @@ + +# 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. + + + +add_executable(library-cpp-actors-prof-ut) +target_include_directories(library-cpp-actors-prof-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof +) +target_link_libraries(library-cpp-actors-prof-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-prof +) +target_link_options(library-cpp-actors-prof-ut PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-prof-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/ut/tag_ut.cpp +) +set_property( + TARGET + library-cpp-actors-prof-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-prof-ut + TEST_TARGET + library-cpp-actors-prof-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-prof-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-prof-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-prof-ut + system_allocator +) +vcs_info(library-cpp-actors-prof-ut) diff --git a/library/cpp/actors/prof/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/prof/ut/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..591055b744 --- /dev/null +++ b/library/cpp/actors/prof/ut/CMakeLists.linux-aarch64.txt @@ -0,0 +1,70 @@ + +# 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. + + + +add_executable(library-cpp-actors-prof-ut) +target_include_directories(library-cpp-actors-prof-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof +) +target_link_libraries(library-cpp-actors-prof-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-prof +) +target_link_options(library-cpp-actors-prof-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-prof-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/ut/tag_ut.cpp +) +set_property( + TARGET + library-cpp-actors-prof-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-prof-ut + TEST_TARGET + library-cpp-actors-prof-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-prof-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-prof-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-prof-ut + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-prof-ut) diff --git a/library/cpp/actors/prof/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/prof/ut/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..7c84eda1b0 --- /dev/null +++ b/library/cpp/actors/prof/ut/CMakeLists.linux-x86_64.txt @@ -0,0 +1,72 @@ + +# 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. + + + +add_executable(library-cpp-actors-prof-ut) +target_include_directories(library-cpp-actors-prof-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof +) +target_link_libraries(library-cpp-actors-prof-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-prof +) +target_link_options(library-cpp-actors-prof-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-prof-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/ut/tag_ut.cpp +) +set_property( + TARGET + library-cpp-actors-prof-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-prof-ut + TEST_TARGET + library-cpp-actors-prof-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-prof-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-prof-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-prof-ut + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-prof-ut) diff --git a/library/cpp/actors/prof/ut/CMakeLists.txt b/library/cpp/actors/prof/ut/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/prof/ut/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/prof/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/prof/ut/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3165130380 --- /dev/null +++ b/library/cpp/actors/prof/ut/CMakeLists.windows-x86_64.txt @@ -0,0 +1,60 @@ + +# 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. + + + +add_executable(library-cpp-actors-prof-ut) +target_include_directories(library-cpp-actors-prof-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof +) +target_link_libraries(library-cpp-actors-prof-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-prof +) +target_sources(library-cpp-actors-prof-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/ut/tag_ut.cpp +) +set_property( + TARGET + library-cpp-actors-prof-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-prof-ut + TEST_TARGET + library-cpp-actors-prof-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-prof-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-prof-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-prof-ut + system_allocator +) +vcs_info(library-cpp-actors-prof-ut) diff --git a/library/cpp/actors/protos/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/protos/CMakeLists.darwin-x86_64.txt index 7b69be3ba5..be3257b127 100644 --- a/library/cpp/actors/protos/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/actors/protos/CMakeLists.darwin-x86_64.txt @@ -6,6 +6,54 @@ # original buildsystem will not be accepted. +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) add_library(cpp-actors-protos) target_link_libraries(cpp-actors-protos PUBLIC diff --git a/library/cpp/actors/protos/CMakeLists.linux-aarch64.txt b/library/cpp/actors/protos/CMakeLists.linux-aarch64.txt index 84a923e5c2..a9da706400 100644 --- a/library/cpp/actors/protos/CMakeLists.linux-aarch64.txt +++ b/library/cpp/actors/protos/CMakeLists.linux-aarch64.txt @@ -6,6 +6,54 @@ # original buildsystem will not be accepted. +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) add_library(cpp-actors-protos) target_link_libraries(cpp-actors-protos PUBLIC diff --git a/library/cpp/actors/protos/CMakeLists.linux-x86_64.txt b/library/cpp/actors/protos/CMakeLists.linux-x86_64.txt index 84a923e5c2..a9da706400 100644 --- a/library/cpp/actors/protos/CMakeLists.linux-x86_64.txt +++ b/library/cpp/actors/protos/CMakeLists.linux-x86_64.txt @@ -6,6 +6,54 @@ # original buildsystem will not be accepted. +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) add_library(cpp-actors-protos) target_link_libraries(cpp-actors-protos PUBLIC diff --git a/library/cpp/actors/protos/CMakeLists.windows-x86_64.txt b/library/cpp/actors/protos/CMakeLists.windows-x86_64.txt index 7b69be3ba5..be3257b127 100644 --- a/library/cpp/actors/protos/CMakeLists.windows-x86_64.txt +++ b/library/cpp/actors/protos/CMakeLists.windows-x86_64.txt @@ -6,6 +6,54 @@ # original buildsystem will not be accepted. +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) add_library(cpp-actors-protos) target_link_libraries(cpp-actors-protos PUBLIC diff --git a/library/cpp/actors/testlib/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/testlib/CMakeLists.darwin-x86_64.txt index 1508c82e9b..4f1c8d01a2 100644 --- a/library/cpp/actors/testlib/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/actors/testlib/CMakeLists.darwin-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-testlib) target_link_libraries(cpp-actors-testlib PUBLIC diff --git a/library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt b/library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt index 68cb3d3199..40a5c9c26f 100644 --- a/library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt +++ b/library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-testlib) target_link_libraries(cpp-actors-testlib PUBLIC diff --git a/library/cpp/actors/testlib/CMakeLists.linux-x86_64.txt b/library/cpp/actors/testlib/CMakeLists.linux-x86_64.txt index 68cb3d3199..40a5c9c26f 100644 --- a/library/cpp/actors/testlib/CMakeLists.linux-x86_64.txt +++ b/library/cpp/actors/testlib/CMakeLists.linux-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-testlib) target_link_libraries(cpp-actors-testlib PUBLIC diff --git a/library/cpp/actors/testlib/CMakeLists.windows-x86_64.txt b/library/cpp/actors/testlib/CMakeLists.windows-x86_64.txt index 1508c82e9b..4f1c8d01a2 100644 --- a/library/cpp/actors/testlib/CMakeLists.windows-x86_64.txt +++ b/library/cpp/actors/testlib/CMakeLists.windows-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-testlib) target_link_libraries(cpp-actors-testlib PUBLIC diff --git a/library/cpp/actors/testlib/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/testlib/ut/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..03d106c63f --- /dev/null +++ b/library/cpp/actors/testlib/ut/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,68 @@ + +# 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. + + + +add_executable(library-cpp-actors-testlib-ut) +target_include_directories(library-cpp-actors-testlib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib +) +target_link_libraries(library-cpp-actors-testlib-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-testlib + cpp-actors-core +) +target_link_options(library-cpp-actors-testlib-ut PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-testlib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/decorator_ut.cpp +) +set_property( + TARGET + library-cpp-actors-testlib-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-testlib-ut + TEST_TARGET + library-cpp-actors-testlib-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-testlib-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-testlib-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-testlib-ut + system_allocator +) +vcs_info(library-cpp-actors-testlib-ut) diff --git a/library/cpp/actors/testlib/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/testlib/ut/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..598b6e53de --- /dev/null +++ b/library/cpp/actors/testlib/ut/CMakeLists.linux-aarch64.txt @@ -0,0 +1,71 @@ + +# 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. + + + +add_executable(library-cpp-actors-testlib-ut) +target_include_directories(library-cpp-actors-testlib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib +) +target_link_libraries(library-cpp-actors-testlib-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-testlib + cpp-actors-core +) +target_link_options(library-cpp-actors-testlib-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-testlib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/decorator_ut.cpp +) +set_property( + TARGET + library-cpp-actors-testlib-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-testlib-ut + TEST_TARGET + library-cpp-actors-testlib-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-testlib-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-testlib-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-testlib-ut + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-testlib-ut) diff --git a/library/cpp/actors/testlib/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/testlib/ut/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..42713842da --- /dev/null +++ b/library/cpp/actors/testlib/ut/CMakeLists.linux-x86_64.txt @@ -0,0 +1,73 @@ + +# 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. + + + +add_executable(library-cpp-actors-testlib-ut) +target_include_directories(library-cpp-actors-testlib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib +) +target_link_libraries(library-cpp-actors-testlib-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-testlib + cpp-actors-core +) +target_link_options(library-cpp-actors-testlib-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-testlib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/decorator_ut.cpp +) +set_property( + TARGET + library-cpp-actors-testlib-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-testlib-ut + TEST_TARGET + library-cpp-actors-testlib-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-testlib-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-testlib-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-testlib-ut + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-testlib-ut) diff --git a/library/cpp/actors/testlib/ut/CMakeLists.txt b/library/cpp/actors/testlib/ut/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/testlib/ut/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/testlib/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/testlib/ut/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..077ccae7fb --- /dev/null +++ b/library/cpp/actors/testlib/ut/CMakeLists.windows-x86_64.txt @@ -0,0 +1,61 @@ + +# 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. + + + +add_executable(library-cpp-actors-testlib-ut) +target_include_directories(library-cpp-actors-testlib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib +) +target_link_libraries(library-cpp-actors-testlib-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-testlib + cpp-actors-core +) +target_sources(library-cpp-actors-testlib-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/decorator_ut.cpp +) +set_property( + TARGET + library-cpp-actors-testlib-ut + PROPERTY + SPLIT_FACTOR + 10 +) +add_yunittest( + NAME + library-cpp-actors-testlib-ut + TEST_TARGET + library-cpp-actors-testlib-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-testlib-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-testlib-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-testlib-ut + system_allocator +) +vcs_info(library-cpp-actors-testlib-ut) diff --git a/library/cpp/actors/util/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/util/CMakeLists.darwin-x86_64.txt index f20064d12c..be68d418f7 100644 --- a/library/cpp/actors/util/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/actors/util/CMakeLists.darwin-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-util) target_link_libraries(cpp-actors-util PUBLIC diff --git a/library/cpp/actors/util/CMakeLists.linux-aarch64.txt b/library/cpp/actors/util/CMakeLists.linux-aarch64.txt index 17c98ef928..9c5183c2bd 100644 --- a/library/cpp/actors/util/CMakeLists.linux-aarch64.txt +++ b/library/cpp/actors/util/CMakeLists.linux-aarch64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-util) target_link_libraries(cpp-actors-util PUBLIC diff --git a/library/cpp/actors/util/CMakeLists.linux-x86_64.txt b/library/cpp/actors/util/CMakeLists.linux-x86_64.txt index 17c98ef928..9c5183c2bd 100644 --- a/library/cpp/actors/util/CMakeLists.linux-x86_64.txt +++ b/library/cpp/actors/util/CMakeLists.linux-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-util) target_link_libraries(cpp-actors-util PUBLIC diff --git a/library/cpp/actors/util/CMakeLists.windows-x86_64.txt b/library/cpp/actors/util/CMakeLists.windows-x86_64.txt index f20064d12c..be68d418f7 100644 --- a/library/cpp/actors/util/CMakeLists.windows-x86_64.txt +++ b/library/cpp/actors/util/CMakeLists.windows-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(ut) add_library(cpp-actors-util) target_link_libraries(cpp-actors-util PUBLIC diff --git a/library/cpp/actors/util/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/util/ut/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..f02b2d926c --- /dev/null +++ b/library/cpp/actors/util/ut/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,75 @@ + +# 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. + + + +add_executable(library-cpp-actors-util-ut) +target_include_directories(library-cpp-actors-util-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util +) +target_link_libraries(library-cpp-actors-util-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-util +) +target_link_options(library-cpp-actors-util-ut PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-util-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/cpu_load_log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/thread_load_log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/rope_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/rc_buf_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_rope_backend_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_native_rope_backend_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/unordered_cache_ut.cpp +) +set_property( + TARGET + library-cpp-actors-util-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-util-ut + TEST_TARGET + library-cpp-actors-util-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-util-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-util-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-util-ut + system_allocator +) +vcs_info(library-cpp-actors-util-ut) diff --git a/library/cpp/actors/util/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/util/ut/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..27ff864fef --- /dev/null +++ b/library/cpp/actors/util/ut/CMakeLists.linux-aarch64.txt @@ -0,0 +1,78 @@ + +# 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. + + + +add_executable(library-cpp-actors-util-ut) +target_include_directories(library-cpp-actors-util-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util +) +target_link_libraries(library-cpp-actors-util-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-testing-unittest_main + cpp-actors-util +) +target_link_options(library-cpp-actors-util-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-util-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/cpu_load_log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/thread_load_log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/rope_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/rc_buf_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_rope_backend_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_native_rope_backend_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/unordered_cache_ut.cpp +) +set_property( + TARGET + library-cpp-actors-util-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-util-ut + TEST_TARGET + library-cpp-actors-util-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-util-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-util-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-util-ut + cpp-malloc-jemalloc +) +vcs_info(library-cpp-actors-util-ut) diff --git a/library/cpp/actors/util/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/util/ut/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..d1143a475b --- /dev/null +++ b/library/cpp/actors/util/ut/CMakeLists.linux-x86_64.txt @@ -0,0 +1,80 @@ + +# 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. + + + +add_executable(library-cpp-actors-util-ut) +target_include_directories(library-cpp-actors-util-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util +) +target_link_libraries(library-cpp-actors-util-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-util +) +target_link_options(library-cpp-actors-util-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-util-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/cpu_load_log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/thread_load_log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/rope_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/rc_buf_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_rope_backend_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_native_rope_backend_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/unordered_cache_ut.cpp +) +set_property( + TARGET + library-cpp-actors-util-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-util-ut + TEST_TARGET + library-cpp-actors-util-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-util-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-util-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-util-ut + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(library-cpp-actors-util-ut) diff --git a/library/cpp/actors/util/ut/CMakeLists.txt b/library/cpp/actors/util/ut/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/library/cpp/actors/util/ut/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (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 (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/library/cpp/actors/util/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/util/ut/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3af5d98ef0 --- /dev/null +++ b/library/cpp/actors/util/ut/CMakeLists.windows-x86_64.txt @@ -0,0 +1,68 @@ + +# 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. + + + +add_executable(library-cpp-actors-util-ut) +target_include_directories(library-cpp-actors-util-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util +) +target_link_libraries(library-cpp-actors-util-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-util +) +target_sources(library-cpp-actors-util-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/cpu_load_log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/thread_load_log_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/rope_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/rc_buf_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_rope_backend_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data_native_rope_backend_ut.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/unordered_cache_ut.cpp +) +set_property( + TARGET + library-cpp-actors-util-ut + PROPERTY + SPLIT_FACTOR + 1 +) +add_yunittest( + NAME + library-cpp-actors-util-ut + TEST_TARGET + library-cpp-actors-util-ut + TEST_ARG + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +set_yunittest_property( + TEST + library-cpp-actors-util-ut + PROPERTY + LABELS + SMALL +) +set_yunittest_property( + TEST + library-cpp-actors-util-ut + PROPERTY + PROCESSORS + 1 +) +target_allocator(library-cpp-actors-util-ut + system_allocator +) +vcs_info(library-cpp-actors-util-ut) |