summaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/examples
diff options
context:
space:
mode:
authorsvidyuk <[email protected]>2023-08-30 12:12:06 +0300
committersvidyuk <[email protected]>2023-08-30 12:42:20 +0300
commitcb3da9494c53283f0230ad37e4e8d0ea61b7d8fc (patch)
tree98d10bf793b8e006a638ce08ed73a53b980b3828 /library/cpp/actors/examples
parentd7212c5b8f972c2ad657311361a3bd1b136f2c5f (diff)
All .ll files support in LLVM_BC
Diffstat (limited to 'library/cpp/actors/examples')
-rw-r--r--library/cpp/actors/examples/01_ping_pong/CMakeLists.darwin-x86_64.txt30
-rw-r--r--library/cpp/actors/examples/01_ping_pong/CMakeLists.linux-aarch64.txt33
-rw-r--r--library/cpp/actors/examples/01_ping_pong/CMakeLists.linux-x86_64.txt34
-rw-r--r--library/cpp/actors/examples/01_ping_pong/CMakeLists.txt17
-rw-r--r--library/cpp/actors/examples/01_ping_pong/CMakeLists.windows-x86_64.txt23
-rw-r--r--library/cpp/actors/examples/02_discovery/CMakeLists.darwin-x86_64.txt67
-rw-r--r--library/cpp/actors/examples/02_discovery/CMakeLists.linux-aarch64.txt70
-rw-r--r--library/cpp/actors/examples/02_discovery/CMakeLists.linux-x86_64.txt71
-rw-r--r--library/cpp/actors/examples/02_discovery/CMakeLists.txt17
-rw-r--r--library/cpp/actors/examples/02_discovery/CMakeLists.windows-x86_64.txt60
-rw-r--r--library/cpp/actors/examples/CMakeLists.txt10
11 files changed, 0 insertions, 432 deletions
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
deleted file mode 100644
index 1e053eb6b49..00000000000
--- a/library/cpp/actors/examples/01_ping_pong/CMakeLists.darwin-x86_64.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-
-# 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
deleted file mode 100644
index 5884f062610..00000000000
--- a/library/cpp/actors/examples/01_ping_pong/CMakeLists.linux-aarch64.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-
-# 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
deleted file mode 100644
index 73209820291..00000000000
--- a/library/cpp/actors/examples/01_ping_pong/CMakeLists.linux-x86_64.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-
-# 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
deleted file mode 100644
index f8b31df0c11..00000000000
--- a/library/cpp/actors/examples/01_ping_pong/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-
-# 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
deleted file mode 100644
index 22c41768c9b..00000000000
--- a/library/cpp/actors/examples/01_ping_pong/CMakeLists.windows-x86_64.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-
-# 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
deleted file mode 100644
index 1003ca94c59..00000000000
--- a/library/cpp/actors/examples/02_discovery/CMakeLists.darwin-x86_64.txt
+++ /dev/null
@@ -1,67 +0,0 @@
-
-# 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
deleted file mode 100644
index 564892d9f7e..00000000000
--- a/library/cpp/actors/examples/02_discovery/CMakeLists.linux-aarch64.txt
+++ /dev/null
@@ -1,70 +0,0 @@
-
-# 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
deleted file mode 100644
index aed3404cb80..00000000000
--- a/library/cpp/actors/examples/02_discovery/CMakeLists.linux-x86_64.txt
+++ /dev/null
@@ -1,71 +0,0 @@
-
-# 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
deleted file mode 100644
index f8b31df0c11..00000000000
--- a/library/cpp/actors/examples/02_discovery/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-
-# 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
deleted file mode 100644
index 6bf59ae8c9e..00000000000
--- a/library/cpp/actors/examples/02_discovery/CMakeLists.windows-x86_64.txt
+++ /dev/null
@@ -1,60 +0,0 @@
-
-# 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
deleted file mode 100644
index bcda1cfeefc..00000000000
--- a/library/cpp/actors/examples/CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-
-# 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)