diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
commit | d32759b7eb812b4a4033cc61e1e98245544b4992 (patch) | |
tree | 22bbb3e9b46c1b55818aaf475f699ae187ce328b /library/cpp | |
parent | 471e9b902d01b70b2d12146772e30528a216ee82 (diff) | |
download | ydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz |
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/actors/interconnect/CMakeLists.darwin.txt | 55 | ||||
-rw-r--r-- | library/cpp/actors/interconnect/CMakeLists.linux.txt | 56 | ||||
-rw-r--r-- | library/cpp/actors/interconnect/CMakeLists.txt | 53 | ||||
-rw-r--r-- | library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt | 26 | ||||
-rw-r--r-- | library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt | 31 | ||||
-rw-r--r-- | library/cpp/digest/old_crc/gencrc/CMakeLists.txt | 28 | ||||
-rw-r--r-- | library/cpp/lfalloc/yt/CMakeLists.darwin.txt | 20 | ||||
-rw-r--r-- | library/cpp/lfalloc/yt/CMakeLists.txt | 11 | ||||
-rw-r--r-- | library/cpp/malloc/tcmalloc/CMakeLists.linux.txt | 18 | ||||
-rw-r--r-- | library/cpp/malloc/tcmalloc/CMakeLists.txt | 13 |
10 files changed, 230 insertions, 81 deletions
diff --git a/library/cpp/actors/interconnect/CMakeLists.darwin.txt b/library/cpp/actors/interconnect/CMakeLists.darwin.txt new file mode 100644 index 00000000000..16d15469206 --- /dev/null +++ b/library/cpp/actors/interconnect/CMakeLists.darwin.txt @@ -0,0 +1,55 @@ + +# This file was gererated 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. + + +find_package(OpenSSL REQUIRED) + +add_library(cpp-actors-interconnect) +target_link_libraries(cpp-actors-interconnect PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-libc_compat + OpenSSL::OpenSSL + cpp-actors-core + cpp-actors-dnscachelib + cpp-actors-dnsresolver + cpp-actors-helpers + cpp-actors-prof + cpp-actors-protos + cpp-actors-util + cpp-digest-crc32c + library-cpp-json + library-cpp-lwtrace + cpp-monlib-dynamic_counters + cpp-monlib-metrics + service-pages-tablesorter + cpp-openssl-init + library-cpp-packedtypes +) +target_sources(cpp-actors-interconnect PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_address.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_channel.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_counters.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_handshake.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_mon.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_nameserver_dynamic.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_nameserver_table.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_proxy_wrapper.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_resolve.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_stream.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_input_session.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_proxy.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_server.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_session.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/load.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/packet.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_actor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit_select.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/types.cpp +) diff --git a/library/cpp/actors/interconnect/CMakeLists.linux.txt b/library/cpp/actors/interconnect/CMakeLists.linux.txt new file mode 100644 index 00000000000..464477ce1dc --- /dev/null +++ b/library/cpp/actors/interconnect/CMakeLists.linux.txt @@ -0,0 +1,56 @@ + +# This file was gererated 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. + + +find_package(OpenSSL REQUIRED) + +add_library(cpp-actors-interconnect) +target_link_libraries(cpp-actors-interconnect PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-libc_compat + OpenSSL::OpenSSL + cpp-actors-core + cpp-actors-dnscachelib + cpp-actors-dnsresolver + cpp-actors-helpers + cpp-actors-prof + cpp-actors-protos + cpp-actors-util + cpp-digest-crc32c + library-cpp-json + library-cpp-lwtrace + cpp-monlib-dynamic_counters + cpp-monlib-metrics + service-pages-tablesorter + cpp-openssl-init + library-cpp-packedtypes +) +target_sources(cpp-actors-interconnect PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_address.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_channel.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_counters.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_handshake.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_mon.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_nameserver_dynamic.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_nameserver_table.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_proxy_wrapper.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_resolve.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_stream.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_input_session.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_proxy.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_server.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_session.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/load.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/packet.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_actor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit_select.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/types.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit_epoll.cpp +) diff --git a/library/cpp/actors/interconnect/CMakeLists.txt b/library/cpp/actors/interconnect/CMakeLists.txt index 464477ce1dc..a681d385f3e 100644 --- a/library/cpp/actors/interconnect/CMakeLists.txt +++ b/library/cpp/actors/interconnect/CMakeLists.txt @@ -6,51 +6,8 @@ # original buildsystem will not be accepted. -find_package(OpenSSL REQUIRED) - -add_library(cpp-actors-interconnect) -target_link_libraries(cpp-actors-interconnect PUBLIC - contrib-libs-cxxsupp - yutil - contrib-libs-libc_compat - OpenSSL::OpenSSL - cpp-actors-core - cpp-actors-dnscachelib - cpp-actors-dnsresolver - cpp-actors-helpers - cpp-actors-prof - cpp-actors-protos - cpp-actors-util - cpp-digest-crc32c - library-cpp-json - library-cpp-lwtrace - cpp-monlib-dynamic_counters - cpp-monlib-metrics - service-pages-tablesorter - cpp-openssl-init - library-cpp-packedtypes -) -target_sources(cpp-actors-interconnect PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_address.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_channel.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_counters.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_handshake.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_mon.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_nameserver_dynamic.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_nameserver_table.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_proxy_wrapper.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_resolve.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_stream.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_input_session.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_proxy.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_server.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_session.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/load.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/packet.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_actor.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit_select.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/types.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit_epoll.cpp -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt new file mode 100644 index 00000000000..c0d3fd8fdc2 --- /dev/null +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin.txt @@ -0,0 +1,26 @@ + +# This file was gererated 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(gencrc) +target_link_libraries(gencrc PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check +) +target_sources(gencrc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp +) +target_link_flags(gencrc + PUBLIC + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) +vcs_info(gencrc) diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt new file mode 100644 index 00000000000..4ae8cb297ce --- /dev/null +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt @@ -0,0 +1,31 @@ + +# This file was gererated 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(gencrc) +target_link_libraries(gencrc PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check +) +target_sources(gencrc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp +) +target_link_flags(gencrc + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(gencrc) diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt index 4ae8cb297ce..a681d385f3e 100644 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt @@ -6,26 +6,8 @@ # original buildsystem will not be accepted. - -add_executable(gencrc) -target_link_libraries(gencrc PUBLIC - contrib-libs-cxxsupp - yutil - library-cpp-lfalloc - library-cpp-cpuid_check -) -target_sources(gencrc PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp -) -target_link_flags(gencrc - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) -vcs_info(gencrc) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/lfalloc/yt/CMakeLists.darwin.txt b/library/cpp/lfalloc/yt/CMakeLists.darwin.txt new file mode 100644 index 00000000000..4dd2d33d59c --- /dev/null +++ b/library/cpp/lfalloc/yt/CMakeLists.darwin.txt @@ -0,0 +1,20 @@ + +# This file was gererated 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(cpp-lfalloc-yt) +target_compile_options(cpp-lfalloc-yt PRIVATE + -DLFALLOC_YT +) +target_link_libraries(cpp-lfalloc-yt PUBLIC + contrib-libs-cxxsupp + cpp-malloc-api +) +target_sources(cpp-lfalloc-yt PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp +) diff --git a/library/cpp/lfalloc/yt/CMakeLists.txt b/library/cpp/lfalloc/yt/CMakeLists.txt new file mode 100644 index 00000000000..fcfff838a32 --- /dev/null +++ b/library/cpp/lfalloc/yt/CMakeLists.txt @@ -0,0 +1,11 @@ + +# This file was gererated 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 (APPLE) + include(CMakeLists.darwin.txt) +endif() diff --git a/library/cpp/malloc/tcmalloc/CMakeLists.linux.txt b/library/cpp/malloc/tcmalloc/CMakeLists.linux.txt new file mode 100644 index 00000000000..d46ca5e5fa5 --- /dev/null +++ b/library/cpp/malloc/tcmalloc/CMakeLists.linux.txt @@ -0,0 +1,18 @@ + +# This file was gererated 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(cpp-malloc-tcmalloc) +target_link_libraries(cpp-malloc-tcmalloc PUBLIC + contrib-libs-cxxsupp + cpp-malloc-api + libs-tcmalloc-malloc_extension +) +target_sources(cpp-malloc-tcmalloc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/malloc/tcmalloc/malloc-info.cpp +) diff --git a/library/cpp/malloc/tcmalloc/CMakeLists.txt b/library/cpp/malloc/tcmalloc/CMakeLists.txt index d46ca5e5fa5..c031ddb850e 100644 --- a/library/cpp/malloc/tcmalloc/CMakeLists.txt +++ b/library/cpp/malloc/tcmalloc/CMakeLists.txt @@ -6,13 +6,6 @@ # original buildsystem will not be accepted. - -add_library(cpp-malloc-tcmalloc) -target_link_libraries(cpp-malloc-tcmalloc PUBLIC - contrib-libs-cxxsupp - cpp-malloc-api - libs-tcmalloc-malloc_extension -) -target_sources(cpp-malloc-tcmalloc PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/malloc/tcmalloc/malloc-info.cpp -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() |