diff options
| author | dcherednik <[email protected]> | 2023-11-20 13:23:37 +0300 |
|---|---|---|
| committer | dcherednik <[email protected]> | 2023-11-20 14:34:20 +0300 |
| commit | ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6 (patch) | |
| tree | 47612a33d11873a4ffb450f68a720efeb9b21cb4 /library/cpp/yt | |
| parent | 6d8d9a430dea2bfa0e6ce219a8e4f62f02fd2884 (diff) | |
add darwin-arm64 CMakeLists
Diffstat (limited to 'library/cpp/yt')
46 files changed, 551 insertions, 0 deletions
diff --git a/library/cpp/yt/assert/CMakeLists.darwin-arm64.txt b/library/cpp/yt/assert/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..c2ad57e3a06 --- /dev/null +++ b/library/cpp/yt/assert/CMakeLists.darwin-arm64.txt @@ -0,0 +1,20 @@ + +# 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-yt-assert) +target_compile_options(cpp-yt-assert PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-assert PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-yt-assert PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/assert/assert.cpp +) diff --git a/library/cpp/yt/assert/CMakeLists.txt b/library/cpp/yt/assert/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/assert/CMakeLists.txt +++ b/library/cpp/yt/assert/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/library/cpp/yt/backtrace/CMakeLists.darwin-arm64.txt b/library/cpp/yt/backtrace/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..dbc5fa609f8 --- /dev/null +++ b/library/cpp/yt/backtrace/CMakeLists.darwin-arm64.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_subdirectory(cursors) + +add_library(cpp-yt-backtrace) +target_compile_options(cpp-yt-backtrace PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-backtrace PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-string +) +target_sources(cpp-yt-backtrace PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/backtrace/backtrace.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/backtrace/symbolizers/dynload/dynload_symbolizer.cpp +) diff --git a/library/cpp/yt/backtrace/CMakeLists.txt b/library/cpp/yt/backtrace/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/backtrace/CMakeLists.txt +++ b/library/cpp/yt/backtrace/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/library/cpp/yt/backtrace/cursors/CMakeLists.darwin-arm64.txt b/library/cpp/yt/backtrace/cursors/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..76c3eda332e --- /dev/null +++ b/library/cpp/yt/backtrace/cursors/CMakeLists.darwin-arm64.txt @@ -0,0 +1,11 @@ + +# 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(frame_pointer) +add_subdirectory(interop) +add_subdirectory(libunwind) diff --git a/library/cpp/yt/backtrace/cursors/CMakeLists.txt b/library/cpp/yt/backtrace/cursors/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/backtrace/cursors/CMakeLists.txt +++ b/library/cpp/yt/backtrace/cursors/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/library/cpp/yt/backtrace/cursors/frame_pointer/CMakeLists.darwin-arm64.txt b/library/cpp/yt/backtrace/cursors/frame_pointer/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..9078cd72451 --- /dev/null +++ b/library/cpp/yt/backtrace/cursors/frame_pointer/CMakeLists.darwin-arm64.txt @@ -0,0 +1,20 @@ + +# 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(backtrace-cursors-frame_pointer) +target_compile_options(backtrace-cursors-frame_pointer PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(backtrace-cursors-frame_pointer PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(backtrace-cursors-frame_pointer PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/backtrace/cursors/frame_pointer/frame_pointer_cursor.cpp +) diff --git a/library/cpp/yt/backtrace/cursors/frame_pointer/CMakeLists.txt b/library/cpp/yt/backtrace/cursors/frame_pointer/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/backtrace/cursors/frame_pointer/CMakeLists.txt +++ b/library/cpp/yt/backtrace/cursors/frame_pointer/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/library/cpp/yt/backtrace/cursors/interop/CMakeLists.darwin-arm64.txt b/library/cpp/yt/backtrace/cursors/interop/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..8ddc8397b73 --- /dev/null +++ b/library/cpp/yt/backtrace/cursors/interop/CMakeLists.darwin-arm64.txt @@ -0,0 +1,22 @@ + +# 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(backtrace-cursors-interop) +target_compile_options(backtrace-cursors-interop PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(backtrace-cursors-interop PUBLIC + contrib-libs-cxxsupp + yutil + backtrace-cursors-frame_pointer + contrib-libs-libunwind +) +target_sources(backtrace-cursors-interop PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/backtrace/cursors/interop/interop.cpp +) diff --git a/library/cpp/yt/backtrace/cursors/interop/CMakeLists.txt b/library/cpp/yt/backtrace/cursors/interop/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/backtrace/cursors/interop/CMakeLists.txt +++ b/library/cpp/yt/backtrace/cursors/interop/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/library/cpp/yt/backtrace/cursors/libunwind/CMakeLists.darwin-arm64.txt b/library/cpp/yt/backtrace/cursors/libunwind/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..fdea07f78c7 --- /dev/null +++ b/library/cpp/yt/backtrace/cursors/libunwind/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(backtrace-cursors-libunwind) +target_compile_options(backtrace-cursors-libunwind PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(backtrace-cursors-libunwind PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-libunwind +) +target_sources(backtrace-cursors-libunwind PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/backtrace/cursors/libunwind/libunwind_cursor.cpp +) diff --git a/library/cpp/yt/backtrace/cursors/libunwind/CMakeLists.txt b/library/cpp/yt/backtrace/cursors/libunwind/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/backtrace/cursors/libunwind/CMakeLists.txt +++ b/library/cpp/yt/backtrace/cursors/libunwind/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/library/cpp/yt/coding/CMakeLists.darwin-arm64.txt b/library/cpp/yt/coding/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..ad79d9654f2 --- /dev/null +++ b/library/cpp/yt/coding/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-yt-coding INTERFACE) +target_link_libraries(cpp-yt-coding INTERFACE + contrib-libs-cxxsupp + yutil + cpp-yt-exception +) diff --git a/library/cpp/yt/coding/CMakeLists.txt b/library/cpp/yt/coding/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/coding/CMakeLists.txt +++ b/library/cpp/yt/coding/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/library/cpp/yt/containers/CMakeLists.darwin-arm64.txt b/library/cpp/yt/containers/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..e570a542e44 --- /dev/null +++ b/library/cpp/yt/containers/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-yt-containers INTERFACE) +target_link_libraries(cpp-yt-containers INTERFACE + contrib-libs-cxxsupp + yutil + cpp-yt-assert +) diff --git a/library/cpp/yt/containers/CMakeLists.txt b/library/cpp/yt/containers/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/containers/CMakeLists.txt +++ b/library/cpp/yt/containers/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/library/cpp/yt/cpu_clock/CMakeLists.darwin-arm64.txt b/library/cpp/yt/cpu_clock/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..b9afea23f77 --- /dev/null +++ b/library/cpp/yt/cpu_clock/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(cpp-yt-cpu_clock) +target_compile_options(cpp-yt-cpu_clock PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-cpu_clock PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-assert +) +target_sources(cpp-yt-cpu_clock PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/cpu_clock/clock.cpp +) diff --git a/library/cpp/yt/cpu_clock/CMakeLists.txt b/library/cpp/yt/cpu_clock/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/cpu_clock/CMakeLists.txt +++ b/library/cpp/yt/cpu_clock/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/library/cpp/yt/exception/CMakeLists.darwin-arm64.txt b/library/cpp/yt/exception/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..f40a29467d0 --- /dev/null +++ b/library/cpp/yt/exception/CMakeLists.darwin-arm64.txt @@ -0,0 +1,20 @@ + +# 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-yt-exception) +target_compile_options(cpp-yt-exception PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-exception PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-yt-exception PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/exception/exception.cpp +) diff --git a/library/cpp/yt/exception/CMakeLists.txt b/library/cpp/yt/exception/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/exception/CMakeLists.txt +++ b/library/cpp/yt/exception/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/library/cpp/yt/logging/CMakeLists.darwin-arm64.txt b/library/cpp/yt/logging/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..b9c4a4c7dba --- /dev/null +++ b/library/cpp/yt/logging/CMakeLists.darwin-arm64.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(plain_text_formatter) + +add_library(cpp-yt-logging) +target_compile_options(cpp-yt-logging PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-logging PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-assert + cpp-yt-memory + cpp-yt-misc + cpp-yt-yson_string +) +target_sources(cpp-yt-logging PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/logging/logger.cpp +) diff --git a/library/cpp/yt/logging/CMakeLists.txt b/library/cpp/yt/logging/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/logging/CMakeLists.txt +++ b/library/cpp/yt/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/library/cpp/yt/logging/plain_text_formatter/CMakeLists.darwin-arm64.txt b/library/cpp/yt/logging/plain_text_formatter/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..3be59e00aff --- /dev/null +++ b/library/cpp/yt/logging/plain_text_formatter/CMakeLists.darwin-arm64.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_library(yt-logging-plain_text_formatter) +target_compile_options(yt-logging-plain_text_formatter PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(yt-logging-plain_text_formatter PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-cpu_clock + cpp-yt-logging + cpp-yt-string + cpp-yt-misc +) +target_sources(yt-logging-plain_text_formatter PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/logging/plain_text_formatter/formatter.cpp +) diff --git a/library/cpp/yt/logging/plain_text_formatter/CMakeLists.txt b/library/cpp/yt/logging/plain_text_formatter/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/logging/plain_text_formatter/CMakeLists.txt +++ b/library/cpp/yt/logging/plain_text_formatter/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/library/cpp/yt/malloc/CMakeLists.darwin-arm64.txt b/library/cpp/yt/malloc/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..1d843305d98 --- /dev/null +++ b/library/cpp/yt/malloc/CMakeLists.darwin-arm64.txt @@ -0,0 +1,20 @@ + +# 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-yt-malloc) +target_compile_options(cpp-yt-malloc PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-malloc PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-yt-malloc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/malloc/malloc.cpp +) diff --git a/library/cpp/yt/malloc/CMakeLists.txt b/library/cpp/yt/malloc/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/malloc/CMakeLists.txt +++ b/library/cpp/yt/malloc/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/library/cpp/yt/memory/CMakeLists.darwin-arm64.txt b/library/cpp/yt/memory/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..2607597a9d6 --- /dev/null +++ b/library/cpp/yt/memory/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. + + + +add_library(cpp-yt-memory) +target_compile_options(cpp-yt-memory PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-memory PUBLIC + contrib-libs-cxxsupp + yutil + cpp-sanitizer-include + cpp-yt-assert + cpp-yt-misc + cpp-yt-malloc +) +target_sources(cpp-yt-memory PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/blob.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_input_stream.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_memory_allocator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_memory_pool.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_memory_pool_output.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_output_stream.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/memory_tag.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref_tracked.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/safe_memory_reader.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/shared_range.cpp +) diff --git a/library/cpp/yt/memory/CMakeLists.txt b/library/cpp/yt/memory/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/memory/CMakeLists.txt +++ b/library/cpp/yt/memory/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/library/cpp/yt/misc/CMakeLists.darwin-arm64.txt b/library/cpp/yt/misc/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..bb8ae6f3680 --- /dev/null +++ b/library/cpp/yt/misc/CMakeLists.darwin-arm64.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_library(cpp-yt-misc) +target_compile_options(cpp-yt-misc PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-misc PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-exception +) +target_sources(cpp-yt-misc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/guid.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/source_location.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/thread_name.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/variant.cpp +) diff --git a/library/cpp/yt/misc/CMakeLists.txt b/library/cpp/yt/misc/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/misc/CMakeLists.txt +++ b/library/cpp/yt/misc/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/library/cpp/yt/mlock/CMakeLists.darwin-arm64.txt b/library/cpp/yt/mlock/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..ca50021faf8 --- /dev/null +++ b/library/cpp/yt/mlock/CMakeLists.darwin-arm64.txt @@ -0,0 +1,20 @@ + +# 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-yt-mlock) +target_compile_options(cpp-yt-mlock PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-mlock PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-yt-mlock PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/mlock/mlock_other.cpp +) diff --git a/library/cpp/yt/mlock/CMakeLists.txt b/library/cpp/yt/mlock/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/mlock/CMakeLists.txt +++ b/library/cpp/yt/mlock/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/library/cpp/yt/small_containers/CMakeLists.darwin-arm64.txt b/library/cpp/yt/small_containers/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..e926e3a3d8f --- /dev/null +++ b/library/cpp/yt/small_containers/CMakeLists.darwin-arm64.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. + + + +add_library(cpp-yt-small_containers INTERFACE) +target_link_libraries(cpp-yt-small_containers INTERFACE + contrib-libs-cxxsupp + yutil + cpp-yt-assert + cpp-yt-malloc + cpp-yt-misc +) diff --git a/library/cpp/yt/small_containers/CMakeLists.txt b/library/cpp/yt/small_containers/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/small_containers/CMakeLists.txt +++ b/library/cpp/yt/small_containers/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/library/cpp/yt/stockpile/CMakeLists.darwin-arm64.txt b/library/cpp/yt/stockpile/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..8036bd5d7e4 --- /dev/null +++ b/library/cpp/yt/stockpile/CMakeLists.darwin-arm64.txt @@ -0,0 +1,20 @@ + +# 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-yt-stockpile) +target_compile_options(cpp-yt-stockpile PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-stockpile PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-yt-stockpile PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/stockpile/stockpile_other.cpp +) diff --git a/library/cpp/yt/stockpile/CMakeLists.txt b/library/cpp/yt/stockpile/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/stockpile/CMakeLists.txt +++ b/library/cpp/yt/stockpile/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/library/cpp/yt/string/CMakeLists.darwin-arm64.txt b/library/cpp/yt/string/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..77a9e8a268f --- /dev/null +++ b/library/cpp/yt/string/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-yt-string) +target_compile_options(cpp-yt-string PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-string PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-assert + cpp-yt-exception + cpp-yt-misc + cpp-yt-small_containers +) +target_sources(cpp-yt-string PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/enum.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/guid.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/string.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/format.cpp +) diff --git a/library/cpp/yt/string/CMakeLists.txt b/library/cpp/yt/string/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/string/CMakeLists.txt +++ b/library/cpp/yt/string/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/library/cpp/yt/system/CMakeLists.darwin-arm64.txt b/library/cpp/yt/system/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..ad24a0da294 --- /dev/null +++ b/library/cpp/yt/system/CMakeLists.darwin-arm64.txt @@ -0,0 +1,20 @@ + +# 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-yt-system) +target_compile_options(cpp-yt-system PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-system PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-yt-system PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/system/thread_id.cpp +) diff --git a/library/cpp/yt/system/CMakeLists.txt b/library/cpp/yt/system/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/system/CMakeLists.txt +++ b/library/cpp/yt/system/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/library/cpp/yt/threading/CMakeLists.darwin-arm64.txt b/library/cpp/yt/threading/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..289553555aa --- /dev/null +++ b/library/cpp/yt/threading/CMakeLists.darwin-arm64.txt @@ -0,0 +1,38 @@ + +# 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-yt-threading) +target_compile_options(cpp-yt-threading PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-threading PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-assert + cpp-yt-cpu_clock + cpp-yt-system + cpp-yt-memory +) +target_sources(cpp-yt-threading PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/at_fork.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/count_down_latch.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/event_count.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/fork_aware_spin_lock.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/fork_aware_rw_spin_lock.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/futex.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/notification_handle.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/public.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/recursive_spin_lock.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/rw_spin_lock.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/spin_lock_base.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/spin_lock_count.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/spin_lock.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/spin_wait.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/threading/spin_wait_hook.cpp +) diff --git a/library/cpp/yt/threading/CMakeLists.txt b/library/cpp/yt/threading/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/threading/CMakeLists.txt +++ b/library/cpp/yt/threading/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/library/cpp/yt/yson/CMakeLists.darwin-arm64.txt b/library/cpp/yt/yson/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..68ae5dcaaf7 --- /dev/null +++ b/library/cpp/yt/yson/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(cpp-yt-yson) +target_compile_options(cpp-yt-yson PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-yson PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-yson_string +) +target_sources(cpp-yt-yson PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson/consumer.cpp +) diff --git a/library/cpp/yt/yson/CMakeLists.txt b/library/cpp/yt/yson/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/yson/CMakeLists.txt +++ b/library/cpp/yt/yson/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/library/cpp/yt/yson_string/CMakeLists.darwin-arm64.txt b/library/cpp/yt/yson_string/CMakeLists.darwin-arm64.txt new file mode 100644 index 00000000000..31253becd72 --- /dev/null +++ b/library/cpp/yt/yson_string/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-yt-yson_string) +target_compile_options(cpp-yt-yson_string PRIVATE + -Wdeprecated-this-capture +) +target_link_libraries(cpp-yt-yson_string PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-assert + cpp-yt-coding + cpp-yt-exception + cpp-yt-string + cpp-yt-memory + cpp-yt-misc +) +target_sources(cpp-yt-yson_string PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/convert.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/string.cpp +) diff --git a/library/cpp/yt/yson_string/CMakeLists.txt b/library/cpp/yt/yson_string/CMakeLists.txt index f8b31df0c11..2dce3a77fe3 100644 --- a/library/cpp/yt/yson_string/CMakeLists.txt +++ b/library/cpp/yt/yson_string/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) |
