diff options
author | dcherednik <dcherednik@ydb.tech> | 2023-11-20 13:23:37 +0300 |
---|---|---|
committer | dcherednik <dcherednik@ydb.tech> | 2023-11-20 14:34:20 +0300 |
commit | ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6 (patch) | |
tree | 47612a33d11873a4ffb450f68a720efeb9b21cb4 /yt/cpp | |
parent | 6d8d9a430dea2bfa0e6ce219a8e4f62f02fd2884 (diff) | |
download | ydb-ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6.tar.gz |
add darwin-arm64 CMakeLists
Diffstat (limited to 'yt/cpp')
20 files changed, 458 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/client/CMakeLists.darwin-arm64.txt b/yt/cpp/mapreduce/client/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..fc711ccea8 --- /dev/null +++ b/yt/cpp/mapreduce/client/CMakeLists.darwin-arm64.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_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(cpp-mapreduce-client) +target_compile_options(cpp-mapreduce-client PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-mapreduce-client PUBLIC + contrib-libs-cxxsupp + yutil + cpp-digest-md5 + library-cpp-sighandler + cpp-threading-blocking_queue + cpp-threading-future + library-cpp-type_info + library-cpp-yson + cpp-mapreduce-common + cpp-mapreduce-http + cpp-mapreduce-interface + cpp-mapreduce-io + mapreduce-library-table_schema + cpp-mapreduce-raw_client + yt-yt-core + yt-core-http + tools-enum_parser-enum_serialization_runtime +) +target_sources(cpp-mapreduce-client PRIVATE + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/abortable_registry.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/batch_request_impl.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/client_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/client_writer.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/client.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/file_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/file_writer.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/format_hints.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/init.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/lock.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/operation_helpers.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/operation_preparer.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/operation_tracker.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/operation.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/prepare_operation.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/py_helpers.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/retry_heavy_write_request.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/retry_transaction.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/retryful_writer.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/retryless_writer.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/skiff.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/structured_table_formats.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/transaction.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/transaction_pinger.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/yt_poller.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/dummy_job_profiler.cpp +) +generate_enum_serilization(cpp-mapreduce-client + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/client/structured_table_formats.h + INCLUDE_HEADERS + yt/cpp/mapreduce/client/structured_table_formats.h +) diff --git a/yt/cpp/mapreduce/client/CMakeLists.txt b/yt/cpp/mapreduce/client/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/cpp/mapreduce/client/CMakeLists.txt +++ b/yt/cpp/mapreduce/client/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/cpp/mapreduce/common/CMakeLists.darwin-arm64.txt b/yt/cpp/mapreduce/common/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..5955826356 --- /dev/null +++ b/yt/cpp/mapreduce/common/CMakeLists.darwin-arm64.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_library(cpp-mapreduce-common) +target_compile_options(cpp-mapreduce-common PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-mapreduce-common PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-json + library-cpp-svnversion + cpp-threading-future + library-cpp-yson + cpp-yson-json + cpp-yson-node + cpp-mapreduce-interface + mapreduce-interface-logging +) +target_sources(cpp-mapreduce-common PRIVATE + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/common/debug_metrics.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/common/helpers.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/common/retry_lib.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/common/wait_proxy.cpp +) diff --git a/yt/cpp/mapreduce/common/CMakeLists.txt b/yt/cpp/mapreduce/common/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/cpp/mapreduce/common/CMakeLists.txt +++ b/yt/cpp/mapreduce/common/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/cpp/mapreduce/http/CMakeLists.darwin-arm64.txt b/yt/cpp/mapreduce/http/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..8212c9d8d1 --- /dev/null +++ b/yt/cpp/mapreduce/http/CMakeLists.darwin-arm64.txt @@ -0,0 +1,37 @@ + +# 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(cpp-mapreduce-http) +target_compile_options(cpp-mapreduce-http PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-mapreduce-http PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic + cpp-http-io + cpp-string_utils-base64 + cpp-string_utils-quote + cpp-threading-cron + cpp-mapreduce-common + cpp-mapreduce-interface + mapreduce-interface-logging + yt-core-http + yt-core-https +) +target_sources(cpp-mapreduce-http PRIVATE + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/http/abortable_http_response.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/http/context.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/http/helpers.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/http/host_manager.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/http/http.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/http/http_client.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/http/requests.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/http/retry_request.cpp +) diff --git a/yt/cpp/mapreduce/http/CMakeLists.txt b/yt/cpp/mapreduce/http/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/cpp/mapreduce/http/CMakeLists.txt +++ b/yt/cpp/mapreduce/http/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/cpp/mapreduce/interface/CMakeLists.darwin-arm64.txt b/yt/cpp/mapreduce/interface/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..f6db27793d --- /dev/null +++ b/yt/cpp/mapreduce/interface/CMakeLists.darwin-arm64.txt @@ -0,0 +1,143 @@ + +# 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(logging) +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 +) +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 +) +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-mapreduce-interface) +target_compile_options(cpp-mapreduce-interface PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-mapreduce-interface PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf + library-cpp-type_info + cpp-threading-future + cpp-yson-node + mapreduce-interface-logging + yt_proto-yt-formats + yt-library-tvm + tools-enum_parser-enum_serialization_runtime +) +target_sources(cpp-mapreduce-interface PRIVATE + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/batch_request.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/client.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/client_method_options.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/common.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/config.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/cypress.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/errors.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/format.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/job_counters.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/job_statistics.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/io.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/operation.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/protobuf_format.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/serialize.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/skiff_row.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/tvm.cpp +) +generate_enum_serilization(cpp-mapreduce-interface + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/client_method_options.h + INCLUDE_HEADERS + yt/cpp/mapreduce/interface/client_method_options.h +) +generate_enum_serilization(cpp-mapreduce-interface + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/client.h + INCLUDE_HEADERS + yt/cpp/mapreduce/interface/client.h +) +generate_enum_serilization(cpp-mapreduce-interface + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/common.h + INCLUDE_HEADERS + yt/cpp/mapreduce/interface/common.h +) +generate_enum_serilization(cpp-mapreduce-interface + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/config.h + INCLUDE_HEADERS + yt/cpp/mapreduce/interface/config.h +) +generate_enum_serilization(cpp-mapreduce-interface + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/cypress.h + INCLUDE_HEADERS + yt/cpp/mapreduce/interface/cypress.h +) +generate_enum_serilization(cpp-mapreduce-interface + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/job_counters.h + INCLUDE_HEADERS + yt/cpp/mapreduce/interface/job_counters.h +) +generate_enum_serilization(cpp-mapreduce-interface + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/job_statistics.h + INCLUDE_HEADERS + yt/cpp/mapreduce/interface/job_statistics.h +) +generate_enum_serilization(cpp-mapreduce-interface + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/operation.h + INCLUDE_HEADERS + yt/cpp/mapreduce/interface/operation.h +) +generate_enum_serilization(cpp-mapreduce-interface + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/protobuf_format.h + INCLUDE_HEADERS + yt/cpp/mapreduce/interface/protobuf_format.h +) diff --git a/yt/cpp/mapreduce/interface/CMakeLists.txt b/yt/cpp/mapreduce/interface/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/cpp/mapreduce/interface/CMakeLists.txt +++ b/yt/cpp/mapreduce/interface/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/cpp/mapreduce/interface/logging/CMakeLists.darwin-arm64.txt b/yt/cpp/mapreduce/interface/logging/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..031665ae24 --- /dev/null +++ b/yt/cpp/mapreduce/interface/logging/CMakeLists.darwin-arm64.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. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(mapreduce-interface-logging) +target_compile_options(mapreduce-interface-logging PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(mapreduce-interface-logging PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-logging + tools-enum_parser-enum_serialization_runtime +) +target_sources(mapreduce-interface-logging PRIVATE + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/logging/logger.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/logging/yt_log.cpp +) +generate_enum_serilization(mapreduce-interface-logging + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/interface/logging/logger.h + INCLUDE_HEADERS + yt/cpp/mapreduce/interface/logging/logger.h +) diff --git a/yt/cpp/mapreduce/interface/logging/CMakeLists.txt b/yt/cpp/mapreduce/interface/logging/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/cpp/mapreduce/interface/logging/CMakeLists.txt +++ b/yt/cpp/mapreduce/interface/logging/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/cpp/mapreduce/io/CMakeLists.darwin-arm64.txt b/yt/cpp/mapreduce/io/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..b448828312 --- /dev/null +++ b/yt/cpp/mapreduce/io/CMakeLists.darwin-arm64.txt @@ -0,0 +1,41 @@ + +# 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(cpp-mapreduce-io) +target_compile_options(cpp-mapreduce-io PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-mapreduce-io PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf + library-cpp-yson + cpp-mapreduce-common + cpp-mapreduce-interface + mapreduce-interface-logging + yt_proto-yt-formats + cpp-yson-node + cpp-mapreduce-skiff +) +target_sources(cpp-mapreduce-io PRIVATE + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/counting_raw_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/job_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/job_writer.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/lenval_table_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/node_table_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/node_table_writer.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/proto_helpers.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/proto_table_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/proto_table_writer.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/skiff_row_table_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/skiff_table_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/stream_raw_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/yamr_table_reader.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/io/yamr_table_writer.cpp +) diff --git a/yt/cpp/mapreduce/io/CMakeLists.txt b/yt/cpp/mapreduce/io/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/cpp/mapreduce/io/CMakeLists.txt +++ b/yt/cpp/mapreduce/io/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/cpp/mapreduce/library/table_schema/CMakeLists.darwin-arm64.txt b/yt/cpp/mapreduce/library/table_schema/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..92eec36f23 --- /dev/null +++ b/yt/cpp/mapreduce/library/table_schema/CMakeLists.darwin-arm64.txt @@ -0,0 +1,21 @@ + +# 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(mapreduce-library-table_schema) +target_compile_options(mapreduce-library-table_schema PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(mapreduce-library-table_schema PUBLIC + contrib-libs-cxxsupp + yutil + cpp-mapreduce-interface +) +target_sources(mapreduce-library-table_schema PRIVATE + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/library/table_schema/protobuf.cpp +) diff --git a/yt/cpp/mapreduce/library/table_schema/CMakeLists.txt b/yt/cpp/mapreduce/library/table_schema/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/cpp/mapreduce/library/table_schema/CMakeLists.txt +++ b/yt/cpp/mapreduce/library/table_schema/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/cpp/mapreduce/library/user_job_statistics/CMakeLists.darwin-arm64.txt b/yt/cpp/mapreduce/library/user_job_statistics/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..ac13f5f6df --- /dev/null +++ b/yt/cpp/mapreduce/library/user_job_statistics/CMakeLists.darwin-arm64.txt @@ -0,0 +1,18 @@ + +# 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(mapreduce-library-user_job_statistics) +target_link_libraries(mapreduce-library-user_job_statistics PUBLIC + contrib-libs-cxxsupp + yutil + cpp-mapreduce-common +) +target_sources(mapreduce-library-user_job_statistics PRIVATE + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/library/user_job_statistics/user_job_statistics.cpp +) diff --git a/yt/cpp/mapreduce/library/user_job_statistics/CMakeLists.txt b/yt/cpp/mapreduce/library/user_job_statistics/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/cpp/mapreduce/library/user_job_statistics/CMakeLists.txt +++ b/yt/cpp/mapreduce/library/user_job_statistics/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/cpp/mapreduce/raw_client/CMakeLists.darwin-arm64.txt b/yt/cpp/mapreduce/raw_client/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..a1596bb36e --- /dev/null +++ b/yt/cpp/mapreduce/raw_client/CMakeLists.darwin-arm64.txt @@ -0,0 +1,27 @@ + +# 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(cpp-mapreduce-raw_client) +target_compile_options(cpp-mapreduce-raw_client PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-mapreduce-raw_client PUBLIC + contrib-libs-cxxsupp + yutil + cpp-mapreduce-common + cpp-mapreduce-http + cpp-mapreduce-interface + mapreduce-interface-logging + cpp-yson-node +) +target_sources(cpp-mapreduce-raw_client PRIVATE + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/raw_client/raw_batch_request.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/raw_client/raw_requests.cpp + ${CMAKE_SOURCE_DIR}/yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp +) diff --git a/yt/cpp/mapreduce/raw_client/CMakeLists.txt b/yt/cpp/mapreduce/raw_client/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/cpp/mapreduce/raw_client/CMakeLists.txt +++ b/yt/cpp/mapreduce/raw_client/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/cpp/mapreduce/skiff/CMakeLists.darwin-arm64.txt b/yt/cpp/mapreduce/skiff/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..d66d5d8810 --- /dev/null +++ b/yt/cpp/mapreduce/skiff/CMakeLists.darwin-arm64.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(cpp-mapreduce-skiff INTERFACE) +target_link_libraries(cpp-mapreduce-skiff INTERFACE + contrib-libs-cxxsupp + yutil + library-cpp-skiff +) diff --git a/yt/cpp/mapreduce/skiff/CMakeLists.txt b/yt/cpp/mapreduce/skiff/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/cpp/mapreduce/skiff/CMakeLists.txt +++ b/yt/cpp/mapreduce/skiff/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) |