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 /contrib/restricted | |
parent | 6d8d9a430dea2bfa0e6ce219a8e4f62f02fd2884 (diff) | |
download | ydb-ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6.tar.gz |
add darwin-arm64 CMakeLists
Diffstat (limited to 'contrib/restricted')
256 files changed, 5187 insertions, 0 deletions
diff --git a/contrib/restricted/CMakeLists.darwin-arm64.txt b/contrib/restricted/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..14184a57bb --- /dev/null +++ b/contrib/restricted/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_subdirectory(abseil-cpp) +add_subdirectory(abseil-cpp-tstring) +add_subdirectory(aws) +add_subdirectory(boost) +add_subdirectory(cityhash-1.0.2) +add_subdirectory(dragonbox) +add_subdirectory(fast_float) +add_subdirectory(google) +add_subdirectory(googletest) +add_subdirectory(http-parser) +add_subdirectory(nlohmann_json) +add_subdirectory(patched) +add_subdirectory(thrift) +add_subdirectory(uriparser) diff --git a/contrib/restricted/CMakeLists.txt b/contrib/restricted/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/CMakeLists.txt +++ b/contrib/restricted/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/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..a85dbb45d3 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/CMakeLists.darwin-arm64.txt @@ -0,0 +1,10 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-tstring-y_absl-algorithm INTERFACE) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/algorithm/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/contrib/restricted/abseil-cpp-tstring/y_absl/base/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/base/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..78cc540064 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/base/CMakeLists.darwin-arm64.txt @@ -0,0 +1,35 @@ + +# 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(abseil-cpp-tstring-y_absl-base) +target_compile_options(abseil-cpp-tstring-y_absl-base PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-base PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-base PUBLIC + contrib-libs-cxxsupp + yutil + cpp-sanitizer-include +) +target_sources(abseil-cpp-tstring-y_absl-base PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/cycleclock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/low_level_alloc.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/raw_logging.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/scoped_set_env.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/spinlock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/spinlock_wait.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/strerror.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/sysinfo.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/thread_identity.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/throw_delegate.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/internal/unscaledcycleclock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/base/log_severity.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/base/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/base/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/base/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/base/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/contrib/restricted/abseil-cpp-tstring/y_absl/container/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/container/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..a4b1e20f68 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/container/CMakeLists.darwin-arm64.txt @@ -0,0 +1,36 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-tstring-y_absl-container) +target_compile_options(abseil-cpp-tstring-y_absl-container PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-container PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-container PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-tstring-y_absl-base + abseil-cpp-tstring-y_absl-debugging + abseil-cpp-tstring-y_absl-hash + abseil-cpp-tstring-y_absl-memory + abseil-cpp-tstring-y_absl-numeric + abseil-cpp-tstring-y_absl-profiling + abseil-cpp-tstring-y_absl-strings + abseil-cpp-tstring-y_absl-synchronization + abseil-cpp-tstring-y_absl-time + abseil-cpp-tstring-y_absl-types + cpp-sanitizer-include +) +target_sources(abseil-cpp-tstring-y_absl-container PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/container/internal/hashtablez_sampler.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/container/internal/hashtablez_sampler_force_weak_definition.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/container/internal/raw_hash_set.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/container/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/container/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/container/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/container/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/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..67b6bea7d9 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/CMakeLists.darwin-arm64.txt @@ -0,0 +1,33 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-tstring-y_absl-debugging) +target_compile_options(abseil-cpp-tstring-y_absl-debugging PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-debugging PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-debugging PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-tstring-y_absl-base + cpp-sanitizer-include +) +target_sources(abseil-cpp-tstring-y_absl-debugging PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/failure_signal_handler.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/address_is_readable.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/demangle.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/elf_mem_image.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/examine_stack.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/internal/vdso_support.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/leak_check.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/stacktrace.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/symbolize.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/debugging/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/contrib/restricted/abseil-cpp-tstring/y_absl/flags/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/flags/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..df26b1e9b5 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/flags/CMakeLists.darwin-arm64.txt @@ -0,0 +1,45 @@ + +# 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(abseil-cpp-tstring-y_absl-flags) +target_compile_options(abseil-cpp-tstring-y_absl-flags PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-flags PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-flags PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-tstring-y_absl-base + abseil-cpp-tstring-y_absl-container + abseil-cpp-tstring-y_absl-debugging + abseil-cpp-tstring-y_absl-hash + abseil-cpp-tstring-y_absl-memory + abseil-cpp-tstring-y_absl-numeric + abseil-cpp-tstring-y_absl-profiling + abseil-cpp-tstring-y_absl-strings + abseil-cpp-tstring-y_absl-synchronization + abseil-cpp-tstring-y_absl-time + abseil-cpp-tstring-y_absl-types +) +target_sources(abseil-cpp-tstring-y_absl-flags PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/commandlineflag.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/flag.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/internal/commandlineflag.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/internal/flag.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/internal/private_handle_accessor.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/internal/program_name.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/internal/usage.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/marshalling.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/parse.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/reflection.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/usage.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/flags/usage_config.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/flags/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/flags/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/flags/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/flags/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/contrib/restricted/abseil-cpp-tstring/y_absl/functional/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/functional/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..a1f6d47793 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/functional/CMakeLists.darwin-arm64.txt @@ -0,0 +1,10 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-tstring-y_absl-functional INTERFACE) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/functional/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/functional/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/functional/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/functional/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/contrib/restricted/abseil-cpp-tstring/y_absl/hash/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/hash/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..0650809a3b --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/hash/CMakeLists.darwin-arm64.txt @@ -0,0 +1,29 @@ + +# 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(abseil-cpp-tstring-y_absl-hash) +target_compile_options(abseil-cpp-tstring-y_absl-hash PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-hash PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-hash PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-tstring-y_absl-base + abseil-cpp-tstring-y_absl-numeric + abseil-cpp-tstring-y_absl-strings + abseil-cpp-tstring-y_absl-types +) +target_sources(abseil-cpp-tstring-y_absl-hash PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/hash/internal/city.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/hash/internal/hash.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/hash/internal/low_level_hash.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/hash/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/hash/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/hash/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/hash/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/contrib/restricted/abseil-cpp-tstring/y_absl/memory/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/memory/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..8bb73fa532 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/memory/CMakeLists.darwin-arm64.txt @@ -0,0 +1,13 @@ + +# 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(abseil-cpp-tstring-y_absl-memory INTERFACE) +target_link_libraries(abseil-cpp-tstring-y_absl-memory INTERFACE + abseil-cpp-tstring-y_absl-meta +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/memory/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/memory/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/memory/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/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/contrib/restricted/abseil-cpp-tstring/y_absl/meta/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/meta/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..1fa7e9da7f --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/meta/CMakeLists.darwin-arm64.txt @@ -0,0 +1,13 @@ + +# 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(abseil-cpp-tstring-y_absl-meta INTERFACE) +target_link_libraries(abseil-cpp-tstring-y_absl-meta INTERFACE + abseil-cpp-tstring-y_absl-base +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/meta/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/meta/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/meta/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/meta/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/contrib/restricted/abseil-cpp-tstring/y_absl/numeric/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/numeric/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..f98e8828e7 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/numeric/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_library(abseil-cpp-tstring-y_absl-numeric) +target_compile_options(abseil-cpp-tstring-y_absl-numeric PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-numeric PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-numeric PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(abseil-cpp-tstring-y_absl-numeric PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/numeric/int128.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/numeric/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/numeric/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/numeric/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/numeric/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/contrib/restricted/abseil-cpp-tstring/y_absl/profiling/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/profiling/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..ec53f57bc1 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/profiling/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(abseil-cpp-tstring-y_absl-profiling) +target_compile_options(abseil-cpp-tstring-y_absl-profiling PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-profiling PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-profiling PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(abseil-cpp-tstring-y_absl-profiling PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/profiling/internal/exponential_biased.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/profiling/internal/periodic_sampler.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/profiling/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/profiling/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/profiling/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/profiling/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/contrib/restricted/abseil-cpp-tstring/y_absl/random/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/random/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..068982719c --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/random/CMakeLists.darwin-arm64.txt @@ -0,0 +1,39 @@ + +# 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(abseil-cpp-tstring-y_absl-random) +target_compile_options(abseil-cpp-tstring-y_absl-random PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-random PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-random PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-tstring-y_absl-base + abseil-cpp-tstring-y_absl-numeric + abseil-cpp-tstring-y_absl-strings + abseil-cpp-tstring-y_absl-types +) +target_sources(abseil-cpp-tstring-y_absl-random PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/discrete_distribution.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/gaussian_distribution.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/internal/chi_square.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/internal/distribution_test_util.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/internal/pool_urbg.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/internal/randen.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/internal/randen_detect.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/internal/randen_hwaes.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/internal/randen_round_keys.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/internal/randen_slow.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/internal/seed_material.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/seed_gen_exception.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/random/seed_sequences.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/random/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/random/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/random/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/random/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/contrib/restricted/abseil-cpp-tstring/y_absl/status/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/status/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..564e9bb142 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/status/CMakeLists.darwin-arm64.txt @@ -0,0 +1,32 @@ + +# 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(abseil-cpp-tstring-y_absl-status) +target_compile_options(abseil-cpp-tstring-y_absl-status PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-status PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-status PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-tstring-y_absl-base + abseil-cpp-tstring-y_absl-debugging + abseil-cpp-tstring-y_absl-numeric + abseil-cpp-tstring-y_absl-profiling + abseil-cpp-tstring-y_absl-strings + abseil-cpp-tstring-y_absl-synchronization + abseil-cpp-tstring-y_absl-time + abseil-cpp-tstring-y_absl-types +) +target_sources(abseil-cpp-tstring-y_absl-status PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/status/status.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/status/status_payload_printer.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/status/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/status/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/status/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/status/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/contrib/restricted/abseil-cpp-tstring/y_absl/strings/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/strings/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..6b5c6935a6 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/strings/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. + + + +add_library(abseil-cpp-tstring-y_absl-strings) +target_compile_options(abseil-cpp-tstring-y_absl-strings PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-strings PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-strings PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-tstring-y_absl-base + abseil-cpp-tstring-y_absl-numeric +) +target_sources(abseil-cpp-tstring-y_absl-strings PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/crc/crc32c.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/crc/internal/cpu_detect.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/crc/internal/crc.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/crc/internal/crc_cord_state.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/crc/internal/crc_memcpy_fallback.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/crc/internal/crc_memcpy_x86_64.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/crc/internal/crc_non_temporal_memcpy.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/crc/internal/crc_x86_arm_combined.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/status/statusor.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/ascii.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/charconv.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/cord.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/cord_analysis.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/cord_buffer.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/escaping.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/charconv_bigint.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/charconv_parse.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cord_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cord_rep_btree.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cord_rep_btree_navigator.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cord_rep_btree_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cord_rep_consume.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cord_rep_crc.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cord_rep_ring.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cordz_functions.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cordz_handle.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cordz_info.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/cordz_sample_token.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/damerau_levenshtein_distance.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/escaping.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/memutil.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/ostringstream.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/str_format/arg.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/str_format/bind.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/str_format/extension.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/str_format/float_conversion.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/str_format/output.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/str_format/parser.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/stringify_sink.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/internal/utf8.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/match.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/numbers.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/str_cat.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/str_replace.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/str_split.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/string_view.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/strings/substitute.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/strings/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/strings/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/strings/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/strings/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/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..d0a0e1930d --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/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(abseil-cpp-tstring-y_absl-synchronization) +target_compile_options(abseil-cpp-tstring-y_absl-synchronization PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-synchronization PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-synchronization PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-tstring-y_absl-base + abseil-cpp-tstring-y_absl-debugging + abseil-cpp-tstring-y_absl-numeric + abseil-cpp-tstring-y_absl-strings + abseil-cpp-tstring-y_absl-time +) +target_sources(abseil-cpp-tstring-y_absl-synchronization PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/barrier.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/blocking_counter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/internal/create_thread_identity.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/internal/futex_waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/internal/graphcycles.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/internal/kernel_timeout.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/internal/per_thread_sem.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/internal/pthread_waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/internal/sem_waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/internal/stdcpp_waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/internal/waiter_base.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/internal/win32_waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/mutex.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/notification.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/synchronization/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/contrib/restricted/abseil-cpp-tstring/y_absl/time/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/time/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..e46d70dd3e --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/time/CMakeLists.darwin-arm64.txt @@ -0,0 +1,40 @@ + +# 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(abseil-cpp-tstring-y_absl-time) +target_compile_options(abseil-cpp-tstring-y_absl-time PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-time PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-time PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-tstring-y_absl-base + abseil-cpp-tstring-y_absl-numeric + abseil-cpp-tstring-y_absl-strings +) +target_sources(abseil-cpp-tstring-y_absl-time PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/civil_time.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/clock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/duration.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/format.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/civil_time_detail.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/time_zone_fixed.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/time_zone_format.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/time_zone_if.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/time_zone_impl.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/time_zone_info.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/time_zone_libc.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/time_zone_lookup.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/time_zone_posix.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/internal/cctz/src/zone_info_source.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/time/time.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/time/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/time/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/time/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/time/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/contrib/restricted/abseil-cpp-tstring/y_absl/types/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/types/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..dc048c9436 --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/types/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(abseil-cpp-tstring-y_absl-types) +target_compile_options(abseil-cpp-tstring-y_absl-types PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-tstring-y_absl-types PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring +) +target_link_libraries(abseil-cpp-tstring-y_absl-types PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-tstring-y_absl-base + abseil-cpp-tstring-y_absl-memory +) +target_sources(abseil-cpp-tstring-y_absl-types PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/types/bad_any_cast.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/types/bad_optional_access.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp-tstring/y_absl/types/bad_variant_access.cc +) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/types/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/types/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/types/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/types/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/contrib/restricted/abseil-cpp-tstring/y_absl/utility/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/utility/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..a5ff3f433a --- /dev/null +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/utility/CMakeLists.darwin-arm64.txt @@ -0,0 +1,10 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-tstring-y_absl-utility INTERFACE) diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/utility/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/utility/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp-tstring/y_absl/utility/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp-tstring/y_absl/utility/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/contrib/restricted/abseil-cpp/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..74ef613f08 --- /dev/null +++ b/contrib/restricted/abseil-cpp/CMakeLists.darwin-arm64.txt @@ -0,0 +1,32 @@ + +# 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(absl) + +add_library(contrib-restricted-abseil-cpp INTERFACE) +target_link_libraries(contrib-restricted-abseil-cpp INTERFACE + abseil-cpp-absl-algorithm + abseil-cpp-absl-base + abseil-cpp-absl-container + abseil-cpp-absl-debugging + abseil-cpp-absl-flags + abseil-cpp-absl-functional + abseil-cpp-absl-hash + abseil-cpp-absl-log + abseil-cpp-absl-memory + abseil-cpp-absl-meta + abseil-cpp-absl-numeric + abseil-cpp-absl-profiling + abseil-cpp-absl-random + abseil-cpp-absl-status + abseil-cpp-absl-strings + abseil-cpp-absl-synchronization + abseil-cpp-absl-time + abseil-cpp-absl-types + abseil-cpp-absl-utility +) diff --git a/contrib/restricted/abseil-cpp/CMakeLists.txt b/contrib/restricted/abseil-cpp/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/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/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..535abc7c56 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.darwin-arm64.txt @@ -0,0 +1,10 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-algorithm INTERFACE) diff --git a/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/algorithm/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/contrib/restricted/abseil-cpp/absl/base/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..0e0cf9494d --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/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(abseil-cpp-absl-base) +target_compile_options(abseil-cpp-absl-base PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-base PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-base PUBLIC + contrib-libs-cxxsupp + cpp-sanitizer-include +) +target_sources(abseil-cpp-absl-base PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/cycleclock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/spinlock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/strerror.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/sysinfo.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/thread_identity.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/unscaledcycleclock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/log_severity.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/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/contrib/restricted/abseil-cpp/absl/container/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c40414820f --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.darwin-arm64.txt @@ -0,0 +1,35 @@ + +# 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(abseil-cpp-absl-container) +target_compile_options(abseil-cpp-absl-container PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-container PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-container PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + abseil-cpp-absl-debugging + abseil-cpp-absl-hash + abseil-cpp-absl-memory + abseil-cpp-absl-numeric + abseil-cpp-absl-profiling + abseil-cpp-absl-strings + abseil-cpp-absl-synchronization + abseil-cpp-absl-time + abseil-cpp-absl-types + cpp-sanitizer-include +) +target_sources(abseil-cpp-absl-container PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/container/internal/hashtablez_sampler.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/container/internal/raw_hash_set.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/container/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/container/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/container/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/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..6247272d90 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.darwin-arm64.txt @@ -0,0 +1,32 @@ + +# 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(abseil-cpp-absl-debugging) +target_compile_options(abseil-cpp-absl-debugging PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-debugging PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-debugging PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + cpp-sanitizer-include +) +target_sources(abseil-cpp-absl-debugging PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/failure_signal_handler.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/address_is_readable.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/demangle.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/elf_mem_image.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/examine_stack.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/vdso_support.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/leak_check.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/stacktrace.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/symbolize.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/debugging/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/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..51a0971139 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.darwin-arm64.txt @@ -0,0 +1,44 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-flags) +target_compile_options(abseil-cpp-absl-flags PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-flags PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-flags PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + abseil-cpp-absl-container + abseil-cpp-absl-debugging + abseil-cpp-absl-hash + abseil-cpp-absl-memory + abseil-cpp-absl-numeric + abseil-cpp-absl-profiling + abseil-cpp-absl-strings + abseil-cpp-absl-synchronization + abseil-cpp-absl-time + abseil-cpp-absl-types +) +target_sources(abseil-cpp-absl-flags PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/commandlineflag.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/flag.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/flag.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/private_handle_accessor.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/program_name.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/usage.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/marshalling.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/parse.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/reflection.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/usage.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/usage_config.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/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/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..e73fa82ef7 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.darwin-arm64.txt @@ -0,0 +1,10 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-functional INTERFACE) diff --git a/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/functional/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/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..bb7bb34def --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.darwin-arm64.txt @@ -0,0 +1,28 @@ + +# 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(abseil-cpp-absl-hash) +target_compile_options(abseil-cpp-absl-hash PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-hash PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-hash PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + abseil-cpp-absl-types +) +target_sources(abseil-cpp-absl-hash PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/hash/internal/city.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/hash/internal/hash.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/hash/internal/low_level_hash.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/hash/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/contrib/restricted/abseil-cpp/absl/log/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/log/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c2793a97ea --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/log/CMakeLists.darwin-arm64.txt @@ -0,0 +1,46 @@ + +# 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(abseil-cpp-absl-log) +target_compile_options(abseil-cpp-absl-log PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-log PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-log PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + abseil-cpp-absl-container + abseil-cpp-absl-debugging + abseil-cpp-absl-flags + abseil-cpp-absl-hash + abseil-cpp-absl-numeric + abseil-cpp-absl-profiling + abseil-cpp-absl-strings + abseil-cpp-absl-synchronization + abseil-cpp-absl-time + abseil-cpp-absl-types +) +target_sources(abseil-cpp-absl-log PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/die_if_null.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/flags.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/globals.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/initialize.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/internal/check_op.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/internal/conditions.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/internal/globals.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/internal/log_format.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/internal/log_message.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/internal/log_sink_set.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/internal/nullguard.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/internal/proto.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/log_entry.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/log/log_sink.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/log/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/log/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/log/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/log/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/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..3235ac4ba5 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.darwin-arm64.txt @@ -0,0 +1,13 @@ + +# 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(abseil-cpp-absl-memory INTERFACE) +target_link_libraries(abseil-cpp-absl-memory INTERFACE + abseil-cpp-absl-meta +) diff --git a/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/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/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..cba7d55611 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.darwin-arm64.txt @@ -0,0 +1,13 @@ + +# 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(abseil-cpp-absl-meta INTERFACE) +target_link_libraries(abseil-cpp-absl-meta INTERFACE + abseil-cpp-absl-base +) diff --git a/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/meta/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/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..82fe8b2770 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/numeric/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(abseil-cpp-absl-numeric) +target_compile_options(abseil-cpp-absl-numeric PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-numeric PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-numeric PUBLIC + contrib-libs-cxxsupp +) +target_sources(abseil-cpp-absl-numeric PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/numeric/int128.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/numeric/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/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..15c4b76f67 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/profiling/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_library(abseil-cpp-absl-profiling) +target_compile_options(abseil-cpp-absl-profiling PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-profiling PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-profiling PUBLIC + contrib-libs-cxxsupp +) +target_sources(abseil-cpp-absl-profiling PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/profiling/internal/exponential_biased.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/profiling/internal/periodic_sampler.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/profiling/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/contrib/restricted/abseil-cpp/absl/random/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/random/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..324203b94a --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/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(abseil-cpp-absl-random) +target_compile_options(abseil-cpp-absl-random PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-random PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-random PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + abseil-cpp-absl-types +) +target_sources(abseil-cpp-absl-random PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/discrete_distribution.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/gaussian_distribution.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/chi_square.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/distribution_test_util.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/pool_urbg.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_detect.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_hwaes.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_round_keys.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_slow.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/seed_material.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/seed_gen_exception.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/seed_sequences.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/random/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/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/contrib/restricted/abseil-cpp/absl/status/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..82c6e43c91 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/status/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(abseil-cpp-absl-status) +target_compile_options(abseil-cpp-absl-status PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-status PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-status PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + abseil-cpp-absl-debugging + abseil-cpp-absl-numeric + abseil-cpp-absl-profiling + abseil-cpp-absl-strings + abseil-cpp-absl-synchronization + abseil-cpp-absl-time + abseil-cpp-absl-types +) +target_sources(abseil-cpp-absl-status PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/status/status.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/status/status_payload_printer.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/status/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/status/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/status/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/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..e3aa400b95 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.darwin-arm64.txt @@ -0,0 +1,70 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-strings) +target_compile_options(abseil-cpp-absl-strings PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-strings PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-strings PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + abseil-cpp-absl-numeric +) +target_sources(abseil-cpp-absl-strings PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/crc/crc32c.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/crc/internal/cpu_detect.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/crc/internal/crc.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/crc/internal/crc_cord_state.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/crc/internal/crc_memcpy_fallback.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/crc/internal/crc_memcpy_x86_64.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/crc/internal/crc_non_temporal_memcpy.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/crc/internal/crc_x86_arm_combined.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/status/statusor.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/ascii.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/charconv.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/cord.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/cord_analysis.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/cord_buffer.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/escaping.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/charconv_bigint.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/charconv_parse.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_btree.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_consume.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_crc.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_ring.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_functions.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_handle.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_info.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_sample_token.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/damerau_levenshtein_distance.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/escaping.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/memutil.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/ostringstream.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/arg.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/bind.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/extension.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/output.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/parser.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/stringify_sink.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/utf8.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/match.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/numbers.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/str_cat.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/str_replace.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/str_split.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/string_view.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/substitute.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/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/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..6e48272a66 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.darwin-arm64.txt @@ -0,0 +1,40 @@ + +# 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(abseil-cpp-absl-synchronization) +target_compile_options(abseil-cpp-absl-synchronization PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-synchronization PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-synchronization PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + abseil-cpp-absl-debugging + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + abseil-cpp-absl-time +) +target_sources(abseil-cpp-absl-synchronization PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/barrier.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/blocking_counter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/futex_waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/graphcycles.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/kernel_timeout.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/pthread_waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/sem_waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/stdcpp_waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/waiter_base.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/win32_waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/mutex.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/notification.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/synchronization/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/contrib/restricted/abseil-cpp/absl/time/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..af147aa171 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.darwin-arm64.txt @@ -0,0 +1,39 @@ + +# 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(abseil-cpp-absl-time) +target_compile_options(abseil-cpp-absl-time PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-time PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-time PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + abseil-cpp-absl-numeric + abseil-cpp-absl-strings +) +target_sources(abseil-cpp-absl-time PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/civil_time.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/clock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/duration.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/format.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/time.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/time/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/time/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/time/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/contrib/restricted/abseil-cpp/absl/types/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..9c24497045 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.darwin-arm64.txt @@ -0,0 +1,26 @@ + +# 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(abseil-cpp-absl-types) +target_compile_options(abseil-cpp-absl-types PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(abseil-cpp-absl-types PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-types PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + abseil-cpp-absl-memory +) +target_sources(abseil-cpp-absl-types PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/types/bad_any_cast.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/types/bad_optional_access.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/types/bad_variant_access.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/types/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/types/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/types/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/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.darwin-arm64.txt b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..a2f021177a --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.darwin-arm64.txt @@ -0,0 +1,10 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-utility INTERFACE) diff --git a/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/utility/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/contrib/restricted/aws/aws-c-cal/CMakeLists.darwin-arm64.txt b/contrib/restricted/aws/aws-c-cal/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..6206412f64 --- /dev/null +++ b/contrib/restricted/aws/aws-c-cal/CMakeLists.darwin-arm64.txt @@ -0,0 +1,42 @@ + +# 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(restricted-aws-aws-c-cal) +target_compile_options(restricted-aws-aws-c-cal PRIVATE + -DAWS_CAL_USE_IMPORT_EXPORT + -DAWS_COMMON_USE_IMPORT_EXPORT + -DHAVE_SYSCONF + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-aws-aws-c-cal PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/include +) +target_link_libraries(restricted-aws-aws-c-cal PUBLIC + contrib-libs-openssl + restricted-aws-aws-c-common +) +target_link_options(restricted-aws-aws-c-cal INTERFACE + -framework + Security +) +target_sources(restricted-aws-aws-c-cal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/cal.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/der.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/ecc.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/hash.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/hmac.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/symmetric_cipher.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_aes.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_hmac.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_md5.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_platform_init.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_sha1.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_sha256.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/securityframework_ecc.c +) diff --git a/contrib/restricted/aws/aws-c-cal/CMakeLists.txt b/contrib/restricted/aws/aws-c-cal/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/aws/aws-c-cal/CMakeLists.txt +++ b/contrib/restricted/aws/aws-c-cal/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/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-arm64.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..673acade92 --- /dev/null +++ b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin-arm64.txt @@ -0,0 +1,82 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(restricted-aws-aws-c-common) +target_compile_options(restricted-aws-aws-c-common PRIVATE + -DAWS_COMMON_USE_IMPORT_EXPORT + -DAWS_PTHREAD_SETNAME_TAKES_2ARGS + -DCJSON_HIDE_SYMBOLS + -DHAVE_SYSCONF + -DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_NONE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-aws-aws-c-common PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/generated/include + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/include +) +target_link_options(restricted-aws-aws-c-common INTERFACE + -framework + CoreFoundation +) +target_sources(restricted-aws-aws-c-common PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/allocator_sba.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/array_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/assert.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/bus.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/byte_buf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/codegen.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/command_line_parser.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/common.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/condition_variable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/date_time.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/device_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/encoding.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/error.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/external/cJSON.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/fifo_cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/file.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/hash_table.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/json.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lifo_cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/linked_hash_table.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_channel.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_formatter.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/log_writer.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/logging.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/lru_cache.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/math.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/memtrace.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/clock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/condition_variable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/device_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/environment.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/file.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/mutex.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/process.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/rw_lock.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/system_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/thread.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/posix/time.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/priority_queue.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/process_common.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/promise.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/ref_count.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/ring_buffer.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/statistics.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/string.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/task_scheduler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/thread_scheduler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/thread_shared.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/uri.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/uuid.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/xml_parser.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/arm/asm/cpuid.c +) diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/aws/aws-c-common/CMakeLists.txt +++ b/contrib/restricted/aws/aws-c-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/contrib/restricted/aws/aws-c-event-stream/CMakeLists.darwin-arm64.txt b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..d7f9cd17a6 --- /dev/null +++ b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.darwin-arm64.txt @@ -0,0 +1,50 @@ + +# 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(restricted-aws-aws-c-event-stream) +target_compile_options(restricted-aws-aws-c-event-stream PRIVATE + -DAWS_CAL_USE_IMPORT_EXPORT + -DAWS_CHECKSUMS_USE_IMPORT_EXPORT + -DAWS_COMMON_USE_IMPORT_EXPORT + -DAWS_EVENT_STREAM_USE_IMPORT_EXPORT + -DAWS_IO_USE_IMPORT_EXPORT + -DAWS_USE_EPOLL + -DHAVE_SYSCONF + -DS2N_ADX + -DS2N_BIKE_R3_AVX2 + -DS2N_BIKE_R3_AVX512 + -DS2N_BIKE_R3_PCLMUL + -DS2N_CLONE_SUPPORTED + -DS2N_CPUID_AVAILABLE + -DS2N_FALL_THROUGH_SUPPORTED + -DS2N_FEATURES_AVAILABLE + -DS2N_HAVE_EXECINFO + -DS2N_KYBER512R3_AVX2_BMI2 + -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH + -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX + -DS2N_MADVISE_SUPPORTED + -DS2N_SIKE_P434_R3_ASM + -DS2N___RESTRICT__SUPPORTED + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-aws-aws-c-event-stream PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/include +) +target_link_libraries(restricted-aws-aws-c-event-stream PUBLIC + restricted-aws-aws-c-common + restricted-aws-aws-c-io + restricted-aws-aws-checksums +) +target_sources(restricted-aws-aws-c-event-stream PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_channel_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_rpc.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_rpc_client.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_rpc_server.c +) diff --git a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.txt b/contrib/restricted/aws/aws-c-event-stream/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/aws/aws-c-event-stream/CMakeLists.txt +++ b/contrib/restricted/aws/aws-c-event-stream/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/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-arm64.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..64d2a9dee3 --- /dev/null +++ b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin-arm64.txt @@ -0,0 +1,65 @@ + +# 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(restricted-aws-aws-c-io) +target_compile_options(restricted-aws-aws-c-io PRIVATE + -DAWS_CAL_USE_IMPORT_EXPORT + -DAWS_COMMON_USE_IMPORT_EXPORT + -DAWS_IO_USE_IMPORT_EXPORT + -DAWS_USE_EPOLL + -DHAVE_SYSCONF + -DS2N_CLONE_SUPPORTED + -DS2N_CPUID_AVAILABLE + -DS2N_FALL_THROUGH_SUPPORTED + -DS2N_FEATURES_AVAILABLE + -DS2N_KYBER512R3_AVX2_BMI2 + -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH + -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX + -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4 + -DS2N_MADVISE_SUPPORTED + -DS2N_STACKTRACE + -DS2N___RESTRICT__SUPPORTED + -DUSE_S2N + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-aws-aws-c-io PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include +) +target_link_libraries(restricted-aws-aws-c-io PUBLIC + restricted-aws-aws-c-cal + restricted-aws-aws-c-common + restricted-aws-s2n +) +target_sources(restricted-aws-aws-c-io PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/alpn_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel_bootstrap.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/event_loop.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/exponential_backoff_retry_strategy.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/host_resolver.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/io.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/message_pool.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pem_utils.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_lib.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_tls_op_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/standard_retry_strategy.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/stream.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/bsd/kqueue_event_loop.c +) diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/aws/aws-c-io/CMakeLists.txt +++ b/contrib/restricted/aws/aws-c-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/contrib/restricted/aws/aws-checksums/CMakeLists.darwin-arm64.txt b/contrib/restricted/aws/aws-checksums/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c7805ff1e2 --- /dev/null +++ b/contrib/restricted/aws/aws-checksums/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(restricted-aws-aws-checksums) +target_compile_options(restricted-aws-aws-checksums PRIVATE + -DAWS_CHECKSUMS_USE_IMPORT_EXPORT + -DAWS_COMMON_USE_IMPORT_EXPORT + -DHAVE_SYSCONF + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-aws-aws-checksums PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/include +) +target_link_libraries(restricted-aws-aws-checksums PUBLIC + restricted-aws-aws-c-common +) +target_sources(restricted-aws-aws-checksums PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/source/crc.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/source/crc_sw.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/source/intel/asm/crc32c_sse42_asm.c +) diff --git a/contrib/restricted/aws/aws-checksums/CMakeLists.txt b/contrib/restricted/aws/aws-checksums/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/aws/aws-checksums/CMakeLists.txt +++ b/contrib/restricted/aws/aws-checksums/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/contrib/restricted/aws/s2n/CMakeLists.darwin-arm64.txt b/contrib/restricted/aws/s2n/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..be6c3f8c45 --- /dev/null +++ b/contrib/restricted/aws/s2n/CMakeLists.darwin-arm64.txt @@ -0,0 +1,218 @@ + +# 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(restricted-aws-s2n) +target_compile_options(restricted-aws-s2n PRIVATE + -DS2N_ATOMIC_SUPPORTED + -DS2N_CLOEXEC_SUPPORTED + -DS2N_CLOEXEC_XOPEN_SUPPORTED + -DS2N_CLONE_SUPPORTED + -DS2N_DIAGNOSTICS_POP_SUPPORTED + -DS2N_DIAGNOSTICS_PUSH_SUPPORTED + -DS2N_EXECINFO_AVAILABLE + -DS2N_FALL_THROUGH_SUPPORTED + -DS2N_KYBER512R3_AVX2_BMI2_SUPPORTED + -DS2N_KYBER512R3_M256_INTRINSICS_SUPPORTED + -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH + -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX + -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4 + -DS2N_LIBCRYPTO_SUPPORTS_FLAG_NO_CHECK_TIME + -DS2N_MADVISE_SUPPORTED + -DS2N___RESTRICT__SUPPORTED + -DS2N_STACKTRACE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-aws-s2n PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/api +) +target_link_libraries(restricted-aws-s2n PUBLIC + contrib-libs-openssl +) +target_sources(restricted-aws-s2n PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_aead_cipher_aes_gcm.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_aead_cipher_chacha20_poly1305.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cbc_cipher_3des.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cbc_cipher_aes.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_certificate.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cipher.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_composite_cipher_aes_sha.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_crypto.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_dhe.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_drbg.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_ecc_evp.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_ecdsa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_evp.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_evp_signing.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_fips.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hash.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hkdf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hmac.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_libcrypto.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_locking.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_openssl_x509.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_pkey.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa_pss.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa_signing.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_sequence.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_stream_cipher_null.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_stream_cipher_rc4.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_tls13_keys.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/error/s2n_errno.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_cbd.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_fips202.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_indcpa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_ntt.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_poly.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_polyvec.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_reduce.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_symmetric-shake.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_kyber_evp.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_pq.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_pq_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_base64.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_file.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_network_order.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_pem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_text.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_cert_status.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_cert_status_response.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_alpn.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_cert_status_request.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_cookie.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_early_data_indication.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_ems.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_key_share.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_max_frag_len.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_pq_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_psk.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_renegotiation_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_sct_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_server_name.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_session_ticket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_signature_algorithms.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_supported_groups.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_supported_versions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_ec_point_format.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_type.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_type_lists.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_key_share.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_npn.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_nst_early_data_indication.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_psk_key_exchange_modes.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_quic_transport_params.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_alpn.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_cert_status_request.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_cookie.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_early_data_indication.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_ems.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_key_share.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_max_fragment_length.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_psk.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_renegotiation_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_sct_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_server_name.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_signature_algorithms.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_supported_versions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_supported_versions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_aead.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_alerts.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_async_pkey.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_auth_selection.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cbc.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_change_cipher_spec.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cipher_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cipher_suites.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_cert.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_cert_verify.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_finished.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_hello.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_hello_request.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_key_exchange.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_config.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_connection.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_crl.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_crypto.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_early_data.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_early_data_io.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ecc_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_encrypted_extensions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_establish_session.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_fingerprint.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_hashes.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_io.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_transcript.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_type.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kem_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kex.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_key_log.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_key_update.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ktls.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ktls_io.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_next_protocol.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ocsp_stapling.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_post_handshake.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_prf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_protocol_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_psk.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_quic_support.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_aead.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_cbc.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_composite.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_stream.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_write.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_recv.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_renegotiate.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_resume.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_security_policies.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_send.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_cert.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_cert_request.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_done.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_extensions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_finished.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_hello.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_hello_retry.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_key_exchange.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_new_session_ticket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_shutdown.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_signature_algorithms.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_signature_scheme.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_certificate_verify.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_handshake.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_key_schedule.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_secrets.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_x509_validator.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_array.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_atomic.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_blob.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_ensure.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_fork_detection.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_init.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_io.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_map.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_mem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_result.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_rfc5952.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_safety.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_set.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_socket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_timer.c +) diff --git a/contrib/restricted/aws/s2n/CMakeLists.txt b/contrib/restricted/aws/s2n/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/aws/s2n/CMakeLists.txt +++ b/contrib/restricted/aws/s2n/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/contrib/restricted/boost/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c522e3b862 --- /dev/null +++ b/contrib/restricted/boost/CMakeLists.darwin-arm64.txt @@ -0,0 +1,74 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(algorithm) +add_subdirectory(align) +add_subdirectory(any) +add_subdirectory(array) +add_subdirectory(asio) +add_subdirectory(assert) +add_subdirectory(atomic) +add_subdirectory(bind) +add_subdirectory(chrono) +add_subdirectory(concept_check) +add_subdirectory(config) +add_subdirectory(container) +add_subdirectory(container_hash) +add_subdirectory(context) +add_subdirectory(conversion) +add_subdirectory(core) +add_subdirectory(coroutine) +add_subdirectory(crc) +add_subdirectory(date_time) +add_subdirectory(describe) +add_subdirectory(detail) +add_subdirectory(dynamic_bitset) +add_subdirectory(exception) +add_subdirectory(format) +add_subdirectory(function) +add_subdirectory(function_types) +add_subdirectory(functional) +add_subdirectory(fusion) +add_subdirectory(integer) +add_subdirectory(interprocess) +add_subdirectory(intrusive) +add_subdirectory(io) +add_subdirectory(iostreams) +add_subdirectory(iterator) +add_subdirectory(lexical_cast) +add_subdirectory(locale) +add_subdirectory(math) +add_subdirectory(move) +add_subdirectory(mp11) +add_subdirectory(mpl) +add_subdirectory(multi_index) +add_subdirectory(numeric_conversion) +add_subdirectory(optional) +add_subdirectory(pool) +add_subdirectory(predef) +add_subdirectory(preprocessor) +add_subdirectory(program_options) +add_subdirectory(random) +add_subdirectory(range) +add_subdirectory(ratio) +add_subdirectory(rational) +add_subdirectory(regex) +add_subdirectory(smart_ptr) +add_subdirectory(static_assert) +add_subdirectory(system) +add_subdirectory(thread) +add_subdirectory(throw_exception) +add_subdirectory(tokenizer) +add_subdirectory(tuple) +add_subdirectory(type_index) +add_subdirectory(type_traits) +add_subdirectory(typeof) +add_subdirectory(unordered) +add_subdirectory(utility) +add_subdirectory(variant2) +add_subdirectory(winapi) diff --git a/contrib/restricted/boost/CMakeLists.txt b/contrib/restricted/boost/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/CMakeLists.txt +++ b/contrib/restricted/boost/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/contrib/restricted/boost/algorithm/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/algorithm/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..7601e49d0f --- /dev/null +++ b/contrib/restricted/boost/algorithm/CMakeLists.darwin-arm64.txt @@ -0,0 +1,33 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(restricted-boost-algorithm INTERFACE) +target_include_directories(restricted-boost-algorithm INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/algorithm/include +) +target_link_libraries(restricted-boost-algorithm INTERFACE + contrib-libs-cxxsupp + restricted-boost-array + restricted-boost-assert + restricted-boost-bind + restricted-boost-concept_check + restricted-boost-config + restricted-boost-core + restricted-boost-exception + restricted-boost-function + restricted-boost-iterator + restricted-boost-mpl + restricted-boost-range + restricted-boost-regex + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tuple + restricted-boost-type_traits + restricted-boost-unordered +) diff --git a/contrib/restricted/boost/algorithm/CMakeLists.txt b/contrib/restricted/boost/algorithm/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/algorithm/CMakeLists.txt +++ b/contrib/restricted/boost/algorithm/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/contrib/restricted/boost/align/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/align/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..b4f255a0c6 --- /dev/null +++ b/contrib/restricted/boost/align/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(restricted-boost-align INTERFACE) +target_include_directories(restricted-boost-align INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/align/include +) +target_link_libraries(restricted-boost-align INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-static_assert +) diff --git a/contrib/restricted/boost/align/CMakeLists.txt b/contrib/restricted/boost/align/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/align/CMakeLists.txt +++ b/contrib/restricted/boost/align/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/contrib/restricted/boost/any/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/any/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..946a109665 --- /dev/null +++ b/contrib/restricted/boost/any/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(restricted-boost-any INTERFACE) +target_include_directories(restricted-boost-any INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/any/include +) +target_link_libraries(restricted-boost-any INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-core + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_index + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/any/CMakeLists.txt b/contrib/restricted/boost/any/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/any/CMakeLists.txt +++ b/contrib/restricted/boost/any/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/contrib/restricted/boost/array/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/array/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..f640cbf516 --- /dev/null +++ b/contrib/restricted/boost/array/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(restricted-boost-array INTERFACE) +target_include_directories(restricted-boost-array INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/array/include +) +target_link_libraries(restricted-boost-array INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-static_assert + restricted-boost-throw_exception +) diff --git a/contrib/restricted/boost/array/CMakeLists.txt b/contrib/restricted/boost/array/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/array/CMakeLists.txt +++ b/contrib/restricted/boost/array/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/contrib/restricted/boost/asio/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/asio/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..46c92a2ae3 --- /dev/null +++ b/contrib/restricted/boost/asio/CMakeLists.darwin-arm64.txt @@ -0,0 +1,33 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(restricted-boost-asio INTERFACE) +target_include_directories(restricted-boost-asio INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/asio/include +) +target_link_libraries(restricted-boost-asio INTERFACE + contrib-libs-cxxsupp + yutil + contrib-libs-openssl + restricted-boost-array + restricted-boost-assert + restricted-boost-bind + restricted-boost-chrono + restricted-boost-config + restricted-boost-core + restricted-boost-coroutine + restricted-boost-date_time + restricted-boost-function + restricted-boost-regex + restricted-boost-smart_ptr + restricted-boost-system + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/asio/CMakeLists.txt b/contrib/restricted/boost/asio/CMakeLists.txt index 606ff46b4b..1beba2829f 100644 --- a/contrib/restricted/boost/asio/CMakeLists.txt +++ b/contrib/restricted/boost/asio/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 (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/contrib/restricted/boost/assert/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/assert/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..0ba173db4f --- /dev/null +++ b/contrib/restricted/boost/assert/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(restricted-boost-assert INTERFACE) +target_include_directories(restricted-boost-assert INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/assert/include +) +target_link_libraries(restricted-boost-assert INTERFACE + contrib-libs-cxxsupp + restricted-boost-config +) diff --git a/contrib/restricted/boost/assert/CMakeLists.txt b/contrib/restricted/boost/assert/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/assert/CMakeLists.txt +++ b/contrib/restricted/boost/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/contrib/restricted/boost/atomic/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/atomic/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..a5fe2fae98 --- /dev/null +++ b/contrib/restricted/boost/atomic/CMakeLists.darwin-arm64.txt @@ -0,0 +1,35 @@ + +# 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(restricted-boost-atomic) +target_compile_options(restricted-boost-atomic PRIVATE + -DBOOST_ATOMIC_SOURCE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-atomic PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/include +) +target_include_directories(restricted-boost-atomic PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src +) +target_link_libraries(restricted-boost-atomic PUBLIC + contrib-libs-cxxsupp + restricted-boost-align + restricted-boost-assert + restricted-boost-config + restricted-boost-predef + restricted-boost-preprocessor + restricted-boost-static_assert + restricted-boost-type_traits + restricted-boost-winapi +) +target_sources(restricted-boost-atomic PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/find_address_sse2.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/atomic/src/lock_pool.cpp +) diff --git a/contrib/restricted/boost/atomic/CMakeLists.txt b/contrib/restricted/boost/atomic/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/atomic/CMakeLists.txt +++ b/contrib/restricted/boost/atomic/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/contrib/restricted/boost/bind/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/bind/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..88c5f9bf7b --- /dev/null +++ b/contrib/restricted/boost/bind/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(restricted-boost-bind INTERFACE) +target_include_directories(restricted-boost-bind INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/bind/include +) +target_link_libraries(restricted-boost-bind INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-core +) diff --git a/contrib/restricted/boost/bind/CMakeLists.txt b/contrib/restricted/boost/bind/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/bind/CMakeLists.txt +++ b/contrib/restricted/boost/bind/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/contrib/restricted/boost/chrono/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/chrono/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..af74091cab --- /dev/null +++ b/contrib/restricted/boost/chrono/CMakeLists.darwin-arm64.txt @@ -0,0 +1,39 @@ + +# 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(restricted-boost-chrono) +target_compile_options(restricted-boost-chrono PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-chrono PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/include +) +target_link_libraries(restricted-boost-chrono PUBLIC + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-integer + restricted-boost-move + restricted-boost-mpl + restricted-boost-predef + restricted-boost-ratio + restricted-boost-static_assert + restricted-boost-system + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-typeof + restricted-boost-utility + restricted-boost-winapi +) +target_sources(restricted-boost-chrono PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/src/chrono.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/src/process_cpu_clocks.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/chrono/src/thread_clock.cpp +) diff --git a/contrib/restricted/boost/chrono/CMakeLists.txt b/contrib/restricted/boost/chrono/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/chrono/CMakeLists.txt +++ b/contrib/restricted/boost/chrono/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/contrib/restricted/boost/concept_check/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/concept_check/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..4bea4830c4 --- /dev/null +++ b/contrib/restricted/boost/concept_check/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(restricted-boost-concept_check INTERFACE) +target_include_directories(restricted-boost-concept_check INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/concept_check/include +) +target_link_libraries(restricted-boost-concept_check INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-preprocessor + restricted-boost-static_assert + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/concept_check/CMakeLists.txt b/contrib/restricted/boost/concept_check/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/concept_check/CMakeLists.txt +++ b/contrib/restricted/boost/concept_check/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/contrib/restricted/boost/config/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/config/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..b3623a130d --- /dev/null +++ b/contrib/restricted/boost/config/CMakeLists.darwin-arm64.txt @@ -0,0 +1,19 @@ + +# 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(restricted-boost-config INTERFACE) +target_compile_options(restricted-boost-config INTERFACE + -DBOOST_ALL_NO_LIB +) +target_include_directories(restricted-boost-config INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/config/include +) +target_link_libraries(restricted-boost-config INTERFACE + contrib-libs-cxxsupp +) diff --git a/contrib/restricted/boost/config/CMakeLists.txt b/contrib/restricted/boost/config/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/config/CMakeLists.txt +++ b/contrib/restricted/boost/config/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/contrib/restricted/boost/container/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/container/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..43c88cbe69 --- /dev/null +++ b/contrib/restricted/boost/container/CMakeLists.darwin-arm64.txt @@ -0,0 +1,33 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(restricted-boost-container) +target_compile_options(restricted-boost-container PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-container PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/include +) +target_link_libraries(restricted-boost-container PUBLIC + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-intrusive + restricted-boost-move + restricted-boost-static_assert +) +target_sources(restricted-boost-container PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/alloc_lib.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/dlmalloc.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/global_resource.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/monotonic_buffer_resource.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/pool_resource.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/synchronized_pool_resource.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container/src/unsynchronized_pool_resource.cpp +) diff --git a/contrib/restricted/boost/container/CMakeLists.txt b/contrib/restricted/boost/container/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/container/CMakeLists.txt +++ b/contrib/restricted/boost/container/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/contrib/restricted/boost/container_hash/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/container_hash/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..f6ba33a6e9 --- /dev/null +++ b/contrib/restricted/boost/container_hash/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(restricted-boost-container_hash INTERFACE) +target_include_directories(restricted-boost-container_hash INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/container_hash/include +) +target_link_libraries(restricted-boost-container_hash INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-describe + restricted-boost-mp11 + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/container_hash/CMakeLists.txt b/contrib/restricted/boost/container_hash/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/container_hash/CMakeLists.txt +++ b/contrib/restricted/boost/container_hash/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/contrib/restricted/boost/context/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/context/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..fa61dee9a2 --- /dev/null +++ b/contrib/restricted/boost/context/CMakeLists.darwin-arm64.txt @@ -0,0 +1,10 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(fcontext_impl) +add_subdirectory(impl_common) diff --git a/contrib/restricted/boost/context/CMakeLists.txt b/contrib/restricted/boost/context/CMakeLists.txt index 606ff46b4b..1beba2829f 100644 --- a/contrib/restricted/boost/context/CMakeLists.txt +++ b/contrib/restricted/boost/context/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 (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/contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..f4b43c9504 --- /dev/null +++ b/contrib/restricted/boost/context/fcontext_impl/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(boost-context-fcontext_impl) +target_compile_options(boost-context-fcontext_impl PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_link_libraries(boost-context-fcontext_impl PUBLIC + contrib-libs-cxxsupp + boost-context-impl_common +) +target_sources(boost-context-fcontext_impl PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/src/asm/jump_arm64_aapcs_macho_gas.S + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/src/asm/make_arm64_aapcs_macho_gas.S + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/src/asm/ontop_arm64_aapcs_macho_gas.S +) diff --git a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.txt b/contrib/restricted/boost/context/fcontext_impl/CMakeLists.txt index 606ff46b4b..1beba2829f 100644 --- a/contrib/restricted/boost/context/fcontext_impl/CMakeLists.txt +++ b/contrib/restricted/boost/context/fcontext_impl/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 (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/contrib/restricted/boost/context/impl_common/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/context/impl_common/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..100cd01a5d --- /dev/null +++ b/contrib/restricted/boost/context/impl_common/CMakeLists.darwin-arm64.txt @@ -0,0 +1,30 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(boost-context-impl_common) +target_compile_options(boost-context-impl_common PRIVATE + -DBOOST_CONTEXT_SOURCE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(boost-context-impl_common PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/include +) +target_link_libraries(boost-context-impl_common PUBLIC + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-mp11 + restricted-boost-pool + restricted-boost-predef + restricted-boost-smart_ptr +) +target_sources(boost-context-impl_common PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/context/src/posix/stack_traits.cpp +) diff --git a/contrib/restricted/boost/context/impl_common/CMakeLists.txt b/contrib/restricted/boost/context/impl_common/CMakeLists.txt index 606ff46b4b..1beba2829f 100644 --- a/contrib/restricted/boost/context/impl_common/CMakeLists.txt +++ b/contrib/restricted/boost/context/impl_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 (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/contrib/restricted/boost/context/src/asm/jump_arm64_aapcs_macho_gas.S b/contrib/restricted/boost/context/src/asm/jump_arm64_aapcs_macho_gas.S new file mode 100644 index 0000000000..31738f7453 --- /dev/null +++ b/contrib/restricted/boost/context/src/asm/jump_arm64_aapcs_macho_gas.S @@ -0,0 +1,109 @@ +/* + Copyright Edward Nevill + Oliver Kowalke 2015 + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +*/ +/******************************************************* + * * + * ------------------------------------------------- * + * | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | * + * ------------------------------------------------- * + * | 0x0 | 0x4 | 0x8 | 0xc | 0x10| 0x14| 0x18| 0x1c| * + * ------------------------------------------------- * + * | d8 | d9 | d10 | d11 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | * + * ------------------------------------------------- * + * | 0x20| 0x24| 0x28| 0x2c| 0x30| 0x34| 0x38| 0x3c| * + * ------------------------------------------------- * + * | d12 | d13 | d14 | d15 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | * + * ------------------------------------------------- * + * | 0x40| 0x44| 0x48| 0x4c| 0x50| 0x54| 0x58| 0x5c| * + * ------------------------------------------------- * + * | x19 | x20 | x21 | x22 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | * + * ------------------------------------------------- * + * | 0x60| 0x64| 0x68| 0x6c| 0x70| 0x74| 0x78| 0x7c| * + * ------------------------------------------------- * + * | x23 | x24 | x25 | x26 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | * + * ------------------------------------------------- * + * | 0x80| 0x84| 0x88| 0x8c| 0x90| 0x94| 0x98| 0x9c| * + * ------------------------------------------------- * + * | x27 | x28 | FP | LR | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 40 | 41 | 42 | 43 | | | * + * ------------------------------------------------- * + * | 0xa0| 0xa4| 0xa8| 0xac| | | * + * ------------------------------------------------- * + * | PC | align | | | * + * ------------------------------------------------- * + * * + *******************************************************/ + +.text +.globl _jump_fcontext +.balign 16 +_jump_fcontext: + ; prepare stack for GP + FPU + sub sp, sp, #0xb0 + + ; save d8 - d15 + stp d8, d9, [sp, #0x00] + stp d10, d11, [sp, #0x10] + stp d12, d13, [sp, #0x20] + stp d14, d15, [sp, #0x30] + + ; save x19-x30 + stp x19, x20, [sp, #0x40] + stp x21, x22, [sp, #0x50] + stp x23, x24, [sp, #0x60] + stp x25, x26, [sp, #0x70] + stp x27, x28, [sp, #0x80] + stp fp, lr, [sp, #0x90] + + ; save LR as PC + str lr, [sp, #0xa0] + + ; store RSP (pointing to context-data) in X0 + mov x4, sp + + ; restore RSP (pointing to context-data) from X1 + mov sp, x0 + + ; load d8 - d15 + ldp d8, d9, [sp, #0x00] + ldp d10, d11, [sp, #0x10] + ldp d12, d13, [sp, #0x20] + ldp d14, d15, [sp, #0x30] + + ; load x19-x30 + ldp x19, x20, [sp, #0x40] + ldp x21, x22, [sp, #0x50] + ldp x23, x24, [sp, #0x60] + ldp x25, x26, [sp, #0x70] + ldp x27, x28, [sp, #0x80] + ldp fp, lr, [sp, #0x90] + + ; return transfer_t from jump + ; pass transfer_t as first arg in context function + ; X0 == FCTX, X1 == DATA + mov x0, x4 + + ; load pc + ldr x4, [sp, #0xa0] + + ; restore stack from GP + FPU + add sp, sp, #0xb0 + + ret x4 diff --git a/contrib/restricted/boost/context/src/asm/make_arm64_aapcs_macho_gas.S b/contrib/restricted/boost/context/src/asm/make_arm64_aapcs_macho_gas.S new file mode 100644 index 0000000000..b30b1e3e5b --- /dev/null +++ b/contrib/restricted/boost/context/src/asm/make_arm64_aapcs_macho_gas.S @@ -0,0 +1,83 @@ +/* + Copyright Edward Nevill + Oliver Kowalke 2015 + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +*/ +/******************************************************* + * * + * ------------------------------------------------- * + * | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | * + * ------------------------------------------------- * + * | 0x0 | 0x4 | 0x8 | 0xc | 0x10| 0x14| 0x18| 0x1c| * + * ------------------------------------------------- * + * | d8 | d9 | d10 | d11 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | * + * ------------------------------------------------- * + * | 0x20| 0x24| 0x28| 0x2c| 0x30| 0x34| 0x38| 0x3c| * + * ------------------------------------------------- * + * | d12 | d13 | d14 | d15 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | * + * ------------------------------------------------- * + * | 0x40| 0x44| 0x48| 0x4c| 0x50| 0x54| 0x58| 0x5c| * + * ------------------------------------------------- * + * | x19 | x20 | x21 | x22 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | * + * ------------------------------------------------- * + * | 0x60| 0x64| 0x68| 0x6c| 0x70| 0x74| 0x78| 0x7c| * + * ------------------------------------------------- * + * | x23 | x24 | x25 | x26 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | * + * ------------------------------------------------- * + * | 0x80| 0x84| 0x88| 0x8c| 0x90| 0x94| 0x98| 0x9c| * + * ------------------------------------------------- * + * | x27 | x28 | FP | LR | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 40 | 41 | 42 | 43 | | | * + * ------------------------------------------------- * + * | 0xa0| 0xa4| 0xa8| 0xac| | | * + * ------------------------------------------------- * + * | PC | align | | | * + * ------------------------------------------------- * + * * + *******************************************************/ + +.text +.globl _make_fcontext +.balign 16 + +_make_fcontext: + ; shift address in x0 (allocated stack) to lower 16 byte boundary + and x0, x0, ~0xF + + ; reserve space for context-data on context-stack + sub x0, x0, #0xb0 + + ; third arg of make_fcontext() == address of context-function + ; store address as a PC to jump in + str x2, [x0, #0xa0] + + adr x1, finish + + ; save address of finish as return-address for context-function + ; will be entered after context-function returns (LR register) + str x1, [x0, #0x98] + + ret lr ; return pointer to context-data (x0) + +finish: + ; exit code is zero + mov x0, #0 + ; exit application + bl __exit + + diff --git a/contrib/restricted/boost/context/src/asm/ontop_arm64_aapcs_macho_gas.S b/contrib/restricted/boost/context/src/asm/ontop_arm64_aapcs_macho_gas.S new file mode 100644 index 0000000000..a387d06dd2 --- /dev/null +++ b/contrib/restricted/boost/context/src/asm/ontop_arm64_aapcs_macho_gas.S @@ -0,0 +1,108 @@ +/* + Copyright Edward Nevill + Oliver Kowalke 2015 + Distributed under the Boost Software License, Version 1.0. + (See accompanying file LICENSE_1_0.txt or copy at + http://www.boost.org/LICENSE_1_0.txt) +*/ +/******************************************************* + * * + * ------------------------------------------------- * + * | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | * + * ------------------------------------------------- * + * | 0x0 | 0x4 | 0x8 | 0xc | 0x10| 0x14| 0x18| 0x1c| * + * ------------------------------------------------- * + * | d8 | d9 | d10 | d11 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | * + * ------------------------------------------------- * + * | 0x20| 0x24| 0x28| 0x2c| 0x30| 0x34| 0x38| 0x3c| * + * ------------------------------------------------- * + * | d12 | d13 | d14 | d15 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | * + * ------------------------------------------------- * + * | 0x40| 0x44| 0x48| 0x4c| 0x50| 0x54| 0x58| 0x5c| * + * ------------------------------------------------- * + * | x19 | x20 | x21 | x22 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | * + * ------------------------------------------------- * + * | 0x60| 0x64| 0x68| 0x6c| 0x70| 0x74| 0x78| 0x7c| * + * ------------------------------------------------- * + * | x23 | x24 | x25 | x26 | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | * + * ------------------------------------------------- * + * | 0x80| 0x84| 0x88| 0x8c| 0x90| 0x94| 0x98| 0x9c| * + * ------------------------------------------------- * + * | x27 | x28 | FP | LR | * + * ------------------------------------------------- * + * ------------------------------------------------- * + * | 40 | 41 | 42 | 43 | | | * + * ------------------------------------------------- * + * | 0xa0| 0xa4| 0xa8| 0xac| | | * + * ------------------------------------------------- * + * | PC | align | | | * + * ------------------------------------------------- * + * * + *******************************************************/ + +.text +.global _ontop_fcontext +.balign 16 +_ontop_fcontext: + ; prepare stack for GP + FPU + sub sp, sp, #0xb0 + + ; save d8 - d15 + stp d8, d9, [sp, #0x00] + stp d10, d11, [sp, #0x10] + stp d12, d13, [sp, #0x20] + stp d14, d15, [sp, #0x30] + + ; save x19-x30 + stp x19, x20, [sp, #0x40] + stp x21, x22, [sp, #0x50] + stp x23, x24, [sp, #0x60] + stp x25, x26, [sp, #0x70] + stp x27, x28, [sp, #0x80] + stp x29, x30, [sp, #0x90] + + ; save LR as PC + str x30, [sp, #0xa0] + + ; store RSP (pointing to context-data) in X5 + mov x4, sp + + ; restore RSP (pointing to context-data) from X1 + mov sp, x0 + + ; load d8 - d15 + ldp d8, d9, [sp, #0x00] + ldp d10, d11, [sp, #0x10] + ldp d12, d13, [sp, #0x20] + ldp d14, d15, [sp, #0x30] + + ; load x19-x30 + ldp x19, x20, [sp, #0x40] + ldp x21, x22, [sp, #0x50] + ldp x23, x24, [sp, #0x60] + ldp x25, x26, [sp, #0x70] + ldp x27, x28, [sp, #0x80] + ldp x29, x30, [sp, #0x90] + + ; return transfer_t from jump + ; pass transfer_t as first arg in context function + ; X0 == FCTX, X1 == DATA + mov x0, x4 + + ; skip pc + ; restore stack from GP + FPU + add sp, sp, #0xb0 + + ; jump to ontop-function + ret x2 diff --git a/contrib/restricted/boost/conversion/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/conversion/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..f1a53fd123 --- /dev/null +++ b/contrib/restricted/boost/conversion/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_library(restricted-boost-conversion INTERFACE) +target_include_directories(restricted-boost-conversion INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/conversion/include +) +target_link_libraries(restricted-boost-conversion INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-smart_ptr + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-typeof +) diff --git a/contrib/restricted/boost/conversion/CMakeLists.txt b/contrib/restricted/boost/conversion/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/conversion/CMakeLists.txt +++ b/contrib/restricted/boost/conversion/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/contrib/restricted/boost/core/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/core/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..8b4b0f15da --- /dev/null +++ b/contrib/restricted/boost/core/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(restricted-boost-core INTERFACE) +target_include_directories(restricted-boost-core INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/core/include +) +target_link_libraries(restricted-boost-core INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-static_assert + restricted-boost-throw_exception +) diff --git a/contrib/restricted/boost/core/CMakeLists.txt b/contrib/restricted/boost/core/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/core/CMakeLists.txt +++ b/contrib/restricted/boost/core/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/contrib/restricted/boost/coroutine/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/coroutine/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..078b319b34 --- /dev/null +++ b/contrib/restricted/boost/coroutine/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(restricted-boost-coroutine) +target_compile_options(restricted-boost-coroutine PUBLIC + -DBOOST_COROUTINES_NO_DEPRECATION_WARNING +) +target_compile_options(restricted-boost-coroutine PRIVATE + -DBOOST_COROUTINES_SOURCE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-coroutine PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/include +) +target_link_libraries(restricted-boost-coroutine PUBLIC + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + boost-context-fcontext_impl + restricted-boost-core + restricted-boost-exception + restricted-boost-move + restricted-boost-system + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-utility +) +target_sources(restricted-boost-coroutine PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/src/posix/stack_traits.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/src/detail/coroutine_context.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/coroutine/src/exceptions.cpp +) diff --git a/contrib/restricted/boost/coroutine/CMakeLists.txt b/contrib/restricted/boost/coroutine/CMakeLists.txt index 606ff46b4b..1beba2829f 100644 --- a/contrib/restricted/boost/coroutine/CMakeLists.txt +++ b/contrib/restricted/boost/coroutine/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 (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/contrib/restricted/boost/crc/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/crc/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..2730ce7c01 --- /dev/null +++ b/contrib/restricted/boost/crc/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(restricted-boost-crc INTERFACE) +target_include_directories(restricted-boost-crc INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/crc/include +) +target_link_libraries(restricted-boost-crc INTERFACE + contrib-libs-cxxsupp + restricted-boost-array + restricted-boost-config + restricted-boost-integer + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/crc/CMakeLists.txt b/contrib/restricted/boost/crc/CMakeLists.txt index 606ff46b4b..1beba2829f 100644 --- a/contrib/restricted/boost/crc/CMakeLists.txt +++ b/contrib/restricted/boost/crc/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 (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/contrib/restricted/boost/date_time/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/date_time/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..da90148a57 --- /dev/null +++ b/contrib/restricted/boost/date_time/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(restricted-boost-date_time INTERFACE) +target_include_directories(restricted-boost-date_time INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/date_time/include +) +target_link_libraries(restricted-boost-date_time INTERFACE + contrib-libs-cxxsupp + restricted-boost-algorithm + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-io + restricted-boost-lexical_cast + restricted-boost-numeric_conversion + restricted-boost-range + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tokenizer + restricted-boost-type_traits + restricted-boost-utility + restricted-boost-winapi +) diff --git a/contrib/restricted/boost/date_time/CMakeLists.txt b/contrib/restricted/boost/date_time/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/date_time/CMakeLists.txt +++ b/contrib/restricted/boost/date_time/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/contrib/restricted/boost/describe/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/describe/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..baad9670e4 --- /dev/null +++ b/contrib/restricted/boost/describe/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(restricted-boost-describe INTERFACE) +target_include_directories(restricted-boost-describe INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/describe/include +) +target_link_libraries(restricted-boost-describe INTERFACE + contrib-libs-cxxsupp + restricted-boost-mp11 +) diff --git a/contrib/restricted/boost/describe/CMakeLists.txt b/contrib/restricted/boost/describe/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/describe/CMakeLists.txt +++ b/contrib/restricted/boost/describe/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/contrib/restricted/boost/detail/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/detail/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..4100f97935 --- /dev/null +++ b/contrib/restricted/boost/detail/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(restricted-boost-detail INTERFACE) +target_include_directories(restricted-boost-detail INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/detail/include +) +target_link_libraries(restricted-boost-detail INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-core + restricted-boost-preprocessor + restricted-boost-static_assert + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/detail/CMakeLists.txt b/contrib/restricted/boost/detail/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/detail/CMakeLists.txt +++ b/contrib/restricted/boost/detail/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/contrib/restricted/boost/dynamic_bitset/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/dynamic_bitset/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..8854d288e8 --- /dev/null +++ b/contrib/restricted/boost/dynamic_bitset/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(restricted-boost-dynamic_bitset INTERFACE) +target_include_directories(restricted-boost-dynamic_bitset INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/dynamic_bitset/include +) +target_link_libraries(restricted-boost-dynamic_bitset INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-container_hash + restricted-boost-core + restricted-boost-integer + restricted-boost-move + restricted-boost-static_assert + restricted-boost-throw_exception +) diff --git a/contrib/restricted/boost/dynamic_bitset/CMakeLists.txt b/contrib/restricted/boost/dynamic_bitset/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/dynamic_bitset/CMakeLists.txt +++ b/contrib/restricted/boost/dynamic_bitset/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/contrib/restricted/boost/exception/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/exception/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..bd4347f03d --- /dev/null +++ b/contrib/restricted/boost/exception/CMakeLists.darwin-arm64.txt @@ -0,0 +1,29 @@ + +# 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(restricted-boost-exception) +target_compile_options(restricted-boost-exception PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-exception PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/exception/include +) +target_link_libraries(restricted-boost-exception PUBLIC + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-smart_ptr + restricted-boost-throw_exception + restricted-boost-tuple + restricted-boost-type_traits +) +target_sources(restricted-boost-exception PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/exception/src/clone_current_exception_non_intrusive.cpp +) diff --git a/contrib/restricted/boost/exception/CMakeLists.txt b/contrib/restricted/boost/exception/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/exception/CMakeLists.txt +++ b/contrib/restricted/boost/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/contrib/restricted/boost/format/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/format/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..270e92cb48 --- /dev/null +++ b/contrib/restricted/boost/format/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_library(restricted-boost-format INTERFACE) +target_include_directories(restricted-boost-format INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/format/include +) +target_link_libraries(restricted-boost-format INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-optional + restricted-boost-smart_ptr + restricted-boost-throw_exception + restricted-boost-utility +) diff --git a/contrib/restricted/boost/format/CMakeLists.txt b/contrib/restricted/boost/format/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/format/CMakeLists.txt +++ b/contrib/restricted/boost/format/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/contrib/restricted/boost/function/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/function/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..b70e979a9a --- /dev/null +++ b/contrib/restricted/boost/function/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(restricted-boost-function INTERFACE) +target_include_directories(restricted-boost-function INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/function/include +) +target_link_libraries(restricted-boost-function INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-bind + restricted-boost-config + restricted-boost-core + restricted-boost-preprocessor + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-typeof +) diff --git a/contrib/restricted/boost/function/CMakeLists.txt b/contrib/restricted/boost/function/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/function/CMakeLists.txt +++ b/contrib/restricted/boost/function/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/contrib/restricted/boost/function_types/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/function_types/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..2c618a189f --- /dev/null +++ b/contrib/restricted/boost/function_types/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(restricted-boost-function_types INTERFACE) +target_include_directories(restricted-boost-function_types INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/function_types/include +) +target_link_libraries(restricted-boost-function_types INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-core + restricted-boost-detail + restricted-boost-mpl + restricted-boost-preprocessor + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/function_types/CMakeLists.txt b/contrib/restricted/boost/function_types/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/function_types/CMakeLists.txt +++ b/contrib/restricted/boost/function_types/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/contrib/restricted/boost/functional/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/functional/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..239823acab --- /dev/null +++ b/contrib/restricted/boost/functional/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_library(restricted-boost-functional INTERFACE) +target_include_directories(restricted-boost-functional INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/functional/include +) +target_link_libraries(restricted-boost-functional INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-core + restricted-boost-function + restricted-boost-function_types + restricted-boost-mpl + restricted-boost-preprocessor + restricted-boost-type_traits + restricted-boost-typeof + restricted-boost-utility +) diff --git a/contrib/restricted/boost/functional/CMakeLists.txt b/contrib/restricted/boost/functional/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/functional/CMakeLists.txt +++ b/contrib/restricted/boost/functional/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/contrib/restricted/boost/fusion/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/fusion/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..cee77526be --- /dev/null +++ b/contrib/restricted/boost/fusion/CMakeLists.darwin-arm64.txt @@ -0,0 +1,30 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(restricted-boost-fusion INTERFACE) +target_include_directories(restricted-boost-fusion INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/fusion/include +) +target_link_libraries(restricted-boost-fusion INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-container_hash + restricted-boost-core + restricted-boost-describe + restricted-boost-function_types + restricted-boost-functional + restricted-boost-mp11 + restricted-boost-mpl + restricted-boost-preprocessor + restricted-boost-static_assert + restricted-boost-tuple + restricted-boost-type_traits + restricted-boost-typeof + restricted-boost-utility +) diff --git a/contrib/restricted/boost/fusion/CMakeLists.txt b/contrib/restricted/boost/fusion/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/fusion/CMakeLists.txt +++ b/contrib/restricted/boost/fusion/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/contrib/restricted/boost/integer/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/integer/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..b8189c5a7a --- /dev/null +++ b/contrib/restricted/boost/integer/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(restricted-boost-integer INTERFACE) +target_include_directories(restricted-boost-integer INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/integer/include +) +target_link_libraries(restricted-boost-integer INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-static_assert + restricted-boost-throw_exception +) diff --git a/contrib/restricted/boost/integer/CMakeLists.txt b/contrib/restricted/boost/integer/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/integer/CMakeLists.txt +++ b/contrib/restricted/boost/integer/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/contrib/restricted/boost/interprocess/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/interprocess/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..f95f9fc6c9 --- /dev/null +++ b/contrib/restricted/boost/interprocess/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(restricted-boost-interprocess INTERFACE) +target_include_directories(restricted-boost-interprocess INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/interprocess/include +) +target_link_libraries(restricted-boost-interprocess INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-container + restricted-boost-core + restricted-boost-integer + restricted-boost-intrusive + restricted-boost-move + restricted-boost-static_assert + restricted-boost-type_traits + restricted-boost-unordered + restricted-boost-winapi +) diff --git a/contrib/restricted/boost/interprocess/CMakeLists.txt b/contrib/restricted/boost/interprocess/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/interprocess/CMakeLists.txt +++ b/contrib/restricted/boost/interprocess/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/contrib/restricted/boost/intrusive/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/intrusive/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..938feb84b3 --- /dev/null +++ b/contrib/restricted/boost/intrusive/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(restricted-boost-intrusive INTERFACE) +target_include_directories(restricted-boost-intrusive INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/intrusive/include +) +target_link_libraries(restricted-boost-intrusive INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-container_hash + restricted-boost-move + restricted-boost-static_assert +) diff --git a/contrib/restricted/boost/intrusive/CMakeLists.txt b/contrib/restricted/boost/intrusive/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/intrusive/CMakeLists.txt +++ b/contrib/restricted/boost/intrusive/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/contrib/restricted/boost/io/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/io/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..4aeba3ef01 --- /dev/null +++ b/contrib/restricted/boost/io/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(restricted-boost-io INTERFACE) +target_include_directories(restricted-boost-io INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/io/include +) +target_link_libraries(restricted-boost-io INTERFACE + contrib-libs-cxxsupp + restricted-boost-config +) diff --git a/contrib/restricted/boost/io/CMakeLists.txt b/contrib/restricted/boost/io/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/io/CMakeLists.txt +++ b/contrib/restricted/boost/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/contrib/restricted/boost/iostreams/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/iostreams/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..960c8332c3 --- /dev/null +++ b/contrib/restricted/boost/iostreams/CMakeLists.darwin-arm64.txt @@ -0,0 +1,55 @@ + +# 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(restricted-boost-iostreams) +target_compile_options(restricted-boost-iostreams PRIVATE + -DBOOST_IOSTREAMS_USE_DEPRECATED + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-iostreams PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/include +) +target_include_directories(restricted-boost-iostreams PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/libbz2 + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/include +) +target_link_libraries(restricted-boost-iostreams PUBLIC + contrib-libs-cxxsupp + contrib-libs-libbz2 + contrib-libs-lzma + contrib-libs-zlib + contrib-libs-zstd + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-detail + restricted-boost-function + restricted-boost-integer + restricted-boost-iterator + restricted-boost-mpl + restricted-boost-numeric_conversion + restricted-boost-preprocessor + restricted-boost-random + restricted-boost-range + restricted-boost-regex + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-utility +) +target_sources(restricted-boost-iostreams PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/src/bzip2.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/src/file_descriptor.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/src/gzip.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/src/lzma.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/src/mapped_file.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/src/zlib.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iostreams/src/zstd.cpp +) diff --git a/contrib/restricted/boost/iostreams/CMakeLists.txt b/contrib/restricted/boost/iostreams/CMakeLists.txt index 606ff46b4b..1beba2829f 100644 --- a/contrib/restricted/boost/iostreams/CMakeLists.txt +++ b/contrib/restricted/boost/iostreams/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 (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/contrib/restricted/boost/iterator/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/iterator/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..df59b473b2 --- /dev/null +++ b/contrib/restricted/boost/iterator/CMakeLists.darwin-arm64.txt @@ -0,0 +1,30 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(restricted-boost-iterator INTERFACE) +target_include_directories(restricted-boost-iterator INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/iterator/include +) +target_link_libraries(restricted-boost-iterator INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-concept_check + restricted-boost-config + restricted-boost-conversion + restricted-boost-core + restricted-boost-detail + restricted-boost-function_types + restricted-boost-fusion + restricted-boost-mpl + restricted-boost-optional + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/iterator/CMakeLists.txt b/contrib/restricted/boost/iterator/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/iterator/CMakeLists.txt +++ b/contrib/restricted/boost/iterator/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/contrib/restricted/boost/lexical_cast/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/lexical_cast/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c4aff4db0d --- /dev/null +++ b/contrib/restricted/boost/lexical_cast/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(restricted-boost-lexical_cast INTERFACE) +target_include_directories(restricted-boost-lexical_cast INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/lexical_cast/include +) +target_link_libraries(restricted-boost-lexical_cast INTERFACE + contrib-libs-cxxsupp + restricted-boost-array + restricted-boost-assert + restricted-boost-config + restricted-boost-container + restricted-boost-core + restricted-boost-integer + restricted-boost-numeric_conversion + restricted-boost-range + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/lexical_cast/CMakeLists.txt b/contrib/restricted/boost/lexical_cast/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/lexical_cast/CMakeLists.txt +++ b/contrib/restricted/boost/lexical_cast/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/contrib/restricted/boost/locale/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/locale/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..6be36e40a8 --- /dev/null +++ b/contrib/restricted/boost/locale/CMakeLists.darwin-arm64.txt @@ -0,0 +1,70 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(restricted-boost-locale) +target_compile_options(restricted-boost-locale PRIVATE + -DBOOST_LOCALE_WITH_ICU + -DBOOST_LOCALE_NO_WINAPI_BACKEND + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-locale PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/include +) +target_include_directories(restricted-boost-locale PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src +) +target_link_libraries(restricted-boost-locale PUBLIC + contrib-libs-cxxsupp + contrib-libs-icu + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-iterator + restricted-boost-predef + restricted-boost-thread + restricted-boost-utility +) +target_sources(restricted-boost-locale PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/posix/codecvt.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/posix/collate.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/posix/converter.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/posix/numeric.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/posix/posix_backend.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/encoding/codepage.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/icu/boundary.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/icu/codecvt.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/icu/collator.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/icu/conversion.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/icu/date_time.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/icu/formatter.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/icu/formatters_cache.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/icu/icu_backend.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/icu/numeric.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/icu/time_zone.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/shared/date_time.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/shared/format.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/shared/formatting.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/shared/generator.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/shared/iconv_codecvt.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/shared/ids.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/shared/localization_backend.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/shared/message.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/shared/mo_lambda.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/std/codecvt.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/std/collate.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/std/converter.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/std/numeric.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/std/std_backend.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/util/codecvt_converter.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/util/default_locale.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/util/encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/util/gregorian.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/util/info.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/locale/src/boost/locale/util/locale_data.cpp +) diff --git a/contrib/restricted/boost/locale/CMakeLists.txt b/contrib/restricted/boost/locale/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/locale/CMakeLists.txt +++ b/contrib/restricted/boost/locale/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/contrib/restricted/boost/math/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/math/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..71d5facb39 --- /dev/null +++ b/contrib/restricted/boost/math/CMakeLists.darwin-arm64.txt @@ -0,0 +1,26 @@ + +# 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(restricted-boost-math INTERFACE) +target_include_directories(restricted-boost-math INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/math/include +) +target_link_libraries(restricted-boost-math INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-concept_check + restricted-boost-config + restricted-boost-core + restricted-boost-integer + restricted-boost-lexical_cast + restricted-boost-predef + restricted-boost-random + restricted-boost-static_assert + restricted-boost-throw_exception +) diff --git a/contrib/restricted/boost/math/CMakeLists.txt b/contrib/restricted/boost/math/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/math/CMakeLists.txt +++ b/contrib/restricted/boost/math/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/contrib/restricted/boost/move/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/move/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..60a44cf28f --- /dev/null +++ b/contrib/restricted/boost/move/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(restricted-boost-move INTERFACE) +target_include_directories(restricted-boost-move INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/move/include +) +target_link_libraries(restricted-boost-move INTERFACE + contrib-libs-cxxsupp + restricted-boost-config +) diff --git a/contrib/restricted/boost/move/CMakeLists.txt b/contrib/restricted/boost/move/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/move/CMakeLists.txt +++ b/contrib/restricted/boost/move/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/contrib/restricted/boost/mp11/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/mp11/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..7100a8f570 --- /dev/null +++ b/contrib/restricted/boost/mp11/CMakeLists.darwin-arm64.txt @@ -0,0 +1,16 @@ + +# 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(restricted-boost-mp11 INTERFACE) +target_include_directories(restricted-boost-mp11 INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/mp11/include +) +target_link_libraries(restricted-boost-mp11 INTERFACE + contrib-libs-cxxsupp +) diff --git a/contrib/restricted/boost/mp11/CMakeLists.txt b/contrib/restricted/boost/mp11/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/mp11/CMakeLists.txt +++ b/contrib/restricted/boost/mp11/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/contrib/restricted/boost/mpl/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/mpl/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..8b161d3adf --- /dev/null +++ b/contrib/restricted/boost/mpl/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_library(restricted-boost-mpl INTERFACE) +target_include_directories(restricted-boost-mpl INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/mpl/include +) +target_link_libraries(restricted-boost-mpl INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-core + restricted-boost-predef + restricted-boost-preprocessor + restricted-boost-static_assert + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/mpl/CMakeLists.txt b/contrib/restricted/boost/mpl/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/mpl/CMakeLists.txt +++ b/contrib/restricted/boost/mpl/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/contrib/restricted/boost/multi_index/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/multi_index/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..1d347b7ed1 --- /dev/null +++ b/contrib/restricted/boost/multi_index/CMakeLists.darwin-arm64.txt @@ -0,0 +1,32 @@ + +# 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(restricted-boost-multi_index INTERFACE) +target_include_directories(restricted-boost-multi_index INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/multi_index/include +) +target_link_libraries(restricted-boost-multi_index INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-bind + restricted-boost-config + restricted-boost-container_hash + restricted-boost-core + restricted-boost-integer + restricted-boost-iterator + restricted-boost-move + restricted-boost-mpl + restricted-boost-preprocessor + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tuple + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/multi_index/CMakeLists.txt b/contrib/restricted/boost/multi_index/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/multi_index/CMakeLists.txt +++ b/contrib/restricted/boost/multi_index/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/contrib/restricted/boost/numeric_conversion/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/numeric_conversion/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c4797132e9 --- /dev/null +++ b/contrib/restricted/boost/numeric_conversion/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_library(restricted-boost-numeric_conversion INTERFACE) +target_include_directories(restricted-boost-numeric_conversion INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/numeric_conversion/include +) +target_link_libraries(restricted-boost-numeric_conversion INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-conversion + restricted-boost-core + restricted-boost-mpl + restricted-boost-preprocessor + restricted-boost-throw_exception + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/numeric_conversion/CMakeLists.txt b/contrib/restricted/boost/numeric_conversion/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/numeric_conversion/CMakeLists.txt +++ b/contrib/restricted/boost/numeric_conversion/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/contrib/restricted/boost/optional/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/optional/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..b94f64d5c4 --- /dev/null +++ b/contrib/restricted/boost/optional/CMakeLists.darwin-arm64.txt @@ -0,0 +1,26 @@ + +# 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(restricted-boost-optional INTERFACE) +target_include_directories(restricted-boost-optional INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/optional/include +) +target_link_libraries(restricted-boost-optional INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-detail + restricted-boost-move + restricted-boost-predef + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/optional/CMakeLists.txt b/contrib/restricted/boost/optional/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/optional/CMakeLists.txt +++ b/contrib/restricted/boost/optional/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/contrib/restricted/boost/pool/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/pool/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..a0e50e5cde --- /dev/null +++ b/contrib/restricted/boost/pool/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(restricted-boost-pool INTERFACE) +target_include_directories(restricted-boost-pool INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/pool/include +) +target_link_libraries(restricted-boost-pool INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-integer + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-winapi +) diff --git a/contrib/restricted/boost/pool/CMakeLists.txt b/contrib/restricted/boost/pool/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/pool/CMakeLists.txt +++ b/contrib/restricted/boost/pool/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/contrib/restricted/boost/predef/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/predef/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c55eab9d0f --- /dev/null +++ b/contrib/restricted/boost/predef/CMakeLists.darwin-arm64.txt @@ -0,0 +1,16 @@ + +# 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(restricted-boost-predef INTERFACE) +target_include_directories(restricted-boost-predef INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/predef/include +) +target_link_libraries(restricted-boost-predef INTERFACE + contrib-libs-cxxsupp +) diff --git a/contrib/restricted/boost/predef/CMakeLists.txt b/contrib/restricted/boost/predef/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/predef/CMakeLists.txt +++ b/contrib/restricted/boost/predef/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/contrib/restricted/boost/preprocessor/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/preprocessor/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..7df51769d9 --- /dev/null +++ b/contrib/restricted/boost/preprocessor/CMakeLists.darwin-arm64.txt @@ -0,0 +1,16 @@ + +# 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(restricted-boost-preprocessor INTERFACE) +target_include_directories(restricted-boost-preprocessor INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/preprocessor/include +) +target_link_libraries(restricted-boost-preprocessor INTERFACE + contrib-libs-cxxsupp +) diff --git a/contrib/restricted/boost/preprocessor/CMakeLists.txt b/contrib/restricted/boost/preprocessor/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/preprocessor/CMakeLists.txt +++ b/contrib/restricted/boost/preprocessor/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/contrib/restricted/boost/program_options/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/program_options/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c91dfc15c5 --- /dev/null +++ b/contrib/restricted/boost/program_options/CMakeLists.darwin-arm64.txt @@ -0,0 +1,45 @@ + +# 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(restricted-boost-program_options) +target_compile_options(restricted-boost-program_options PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-program_options PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/include +) +target_link_libraries(restricted-boost-program_options PUBLIC + contrib-libs-cxxsupp + restricted-boost-any + restricted-boost-bind + restricted-boost-config + restricted-boost-core + restricted-boost-detail + restricted-boost-function + restricted-boost-iterator + restricted-boost-lexical_cast + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tokenizer + restricted-boost-type_traits +) +target_sources(restricted-boost-program_options PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/cmdline.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/config_file.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/convert.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/options_description.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/parsers.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/positional_options.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/split.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/utf8_codecvt_facet.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/value_semantic.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/variables_map.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/program_options/src/winmain.cpp +) diff --git a/contrib/restricted/boost/program_options/CMakeLists.txt b/contrib/restricted/boost/program_options/CMakeLists.txt index 606ff46b4b..1beba2829f 100644 --- a/contrib/restricted/boost/program_options/CMakeLists.txt +++ b/contrib/restricted/boost/program_options/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 (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/contrib/restricted/boost/random/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/random/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..647aa94668 --- /dev/null +++ b/contrib/restricted/boost/random/CMakeLists.darwin-arm64.txt @@ -0,0 +1,35 @@ + +# 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(restricted-boost-random) +target_compile_options(restricted-boost-random PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-random PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/random/include +) +target_link_libraries(restricted-boost-random PUBLIC + contrib-libs-cxxsupp + restricted-boost-array + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-dynamic_bitset + restricted-boost-integer + restricted-boost-io + restricted-boost-range + restricted-boost-static_assert + restricted-boost-system + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-utility +) +target_sources(restricted-boost-random PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/random/src/random_device.cpp +) diff --git a/contrib/restricted/boost/random/CMakeLists.txt b/contrib/restricted/boost/random/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/random/CMakeLists.txt +++ b/contrib/restricted/boost/random/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/contrib/restricted/boost/range/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/range/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..eadd2f290c --- /dev/null +++ b/contrib/restricted/boost/range/CMakeLists.darwin-arm64.txt @@ -0,0 +1,33 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(restricted-boost-range INTERFACE) +target_include_directories(restricted-boost-range INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/range/include +) +target_link_libraries(restricted-boost-range INTERFACE + contrib-libs-cxxsupp + restricted-boost-array + restricted-boost-assert + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container_hash + restricted-boost-conversion + restricted-boost-core + restricted-boost-detail + restricted-boost-iterator + restricted-boost-mpl + restricted-boost-optional + restricted-boost-preprocessor + restricted-boost-regex + restricted-boost-static_assert + restricted-boost-tuple + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/range/CMakeLists.txt b/contrib/restricted/boost/range/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/range/CMakeLists.txt +++ b/contrib/restricted/boost/range/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/contrib/restricted/boost/ratio/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/ratio/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..7171c49b08 --- /dev/null +++ b/contrib/restricted/boost/ratio/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_library(restricted-boost-ratio INTERFACE) +target_include_directories(restricted-boost-ratio INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/ratio/include +) +target_link_libraries(restricted-boost-ratio INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-core + restricted-boost-integer + restricted-boost-mpl + restricted-boost-rational + restricted-boost-static_assert + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/ratio/CMakeLists.txt b/contrib/restricted/boost/ratio/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/ratio/CMakeLists.txt +++ b/contrib/restricted/boost/ratio/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/contrib/restricted/boost/rational/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/rational/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c4d92a21a6 --- /dev/null +++ b/contrib/restricted/boost/rational/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(restricted-boost-rational INTERFACE) +target_include_directories(restricted-boost-rational INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/rational/include +) +target_link_libraries(restricted-boost-rational INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-integer + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/rational/CMakeLists.txt b/contrib/restricted/boost/rational/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/rational/CMakeLists.txt +++ b/contrib/restricted/boost/rational/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/contrib/restricted/boost/regex/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/regex/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..b0c67b4c88 --- /dev/null +++ b/contrib/restricted/boost/regex/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(restricted-boost-regex) +target_compile_options(restricted-boost-regex PRIVATE + -DBOOST_HAS_ICU + -DBOOST_NO_CXX98_BINDERS + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-regex PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/include +) +target_link_libraries(restricted-boost-regex PUBLIC + contrib-libs-cxxsupp + contrib-libs-icu + restricted-boost-assert + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container_hash + restricted-boost-core + restricted-boost-integer + restricted-boost-mpl + restricted-boost-predef + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits +) +target_sources(restricted-boost-regex PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/src/posix_api.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/src/regex.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/src/regex_debug.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/src/static_mutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/regex/src/wide_posix_api.cpp +) diff --git a/contrib/restricted/boost/regex/CMakeLists.txt b/contrib/restricted/boost/regex/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/regex/CMakeLists.txt +++ b/contrib/restricted/boost/regex/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/contrib/restricted/boost/smart_ptr/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/smart_ptr/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..e13c238580 --- /dev/null +++ b/contrib/restricted/boost/smart_ptr/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_library(restricted-boost-smart_ptr INTERFACE) +target_include_directories(restricted-boost-smart_ptr INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/smart_ptr/include +) +target_link_libraries(restricted-boost-smart_ptr INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-core + restricted-boost-move + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/smart_ptr/CMakeLists.txt b/contrib/restricted/boost/smart_ptr/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/smart_ptr/CMakeLists.txt +++ b/contrib/restricted/boost/smart_ptr/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/contrib/restricted/boost/static_assert/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/static_assert/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..6506f1babd --- /dev/null +++ b/contrib/restricted/boost/static_assert/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(restricted-boost-static_assert INTERFACE) +target_include_directories(restricted-boost-static_assert INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/static_assert/include +) +target_link_libraries(restricted-boost-static_assert INTERFACE + contrib-libs-cxxsupp + restricted-boost-config +) diff --git a/contrib/restricted/boost/static_assert/CMakeLists.txt b/contrib/restricted/boost/static_assert/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/static_assert/CMakeLists.txt +++ b/contrib/restricted/boost/static_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/contrib/restricted/boost/system/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/system/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..49847620cb --- /dev/null +++ b/contrib/restricted/boost/system/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(restricted-boost-system INTERFACE) +target_include_directories(restricted-boost-system INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/system/include +) +target_link_libraries(restricted-boost-system INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-throw_exception + restricted-boost-variant2 + restricted-boost-winapi +) diff --git a/contrib/restricted/boost/system/CMakeLists.txt b/contrib/restricted/boost/system/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/system/CMakeLists.txt +++ b/contrib/restricted/boost/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/contrib/restricted/boost/thread/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/thread/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..683da25426 --- /dev/null +++ b/contrib/restricted/boost/thread/CMakeLists.darwin-arm64.txt @@ -0,0 +1,59 @@ + +# 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(restricted-boost-thread) +target_compile_options(restricted-boost-thread PUBLIC + -DBOOST_THREAD_USE_LIB + -DBOOST_THREAD_POSIX +) +target_compile_options(restricted-boost-thread PRIVATE + -DBOOST_THREAD_BUILD_LIB + -DBOOST_THREAD_DONT_USE_CHRONO + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-boost-thread PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/include +) +target_link_libraries(restricted-boost-thread PUBLIC + contrib-libs-cxxsupp + restricted-boost-algorithm + restricted-boost-assert + restricted-boost-atomic + restricted-boost-bind + restricted-boost-chrono + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container + restricted-boost-container_hash + restricted-boost-core + restricted-boost-date_time + restricted-boost-exception + restricted-boost-function + restricted-boost-intrusive + restricted-boost-io + restricted-boost-iterator + restricted-boost-lexical_cast + restricted-boost-move + restricted-boost-optional + restricted-boost-predef + restricted-boost-preprocessor + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-system + restricted-boost-throw_exception + restricted-boost-tuple + restricted-boost-type_traits + restricted-boost-utility + restricted-boost-winapi +) +target_sources(restricted-boost-thread PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/src/future.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/src/pthread/once.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/thread/src/pthread/thread.cpp +) diff --git a/contrib/restricted/boost/thread/CMakeLists.txt b/contrib/restricted/boost/thread/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/thread/CMakeLists.txt +++ b/contrib/restricted/boost/thread/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/contrib/restricted/boost/throw_exception/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/throw_exception/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..eefa32cee2 --- /dev/null +++ b/contrib/restricted/boost/throw_exception/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(restricted-boost-throw_exception INTERFACE) +target_include_directories(restricted-boost-throw_exception INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/throw_exception/include +) +target_link_libraries(restricted-boost-throw_exception INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config +) diff --git a/contrib/restricted/boost/throw_exception/CMakeLists.txt b/contrib/restricted/boost/throw_exception/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/throw_exception/CMakeLists.txt +++ b/contrib/restricted/boost/throw_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/contrib/restricted/boost/tokenizer/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/tokenizer/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..484614506f --- /dev/null +++ b/contrib/restricted/boost/tokenizer/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(restricted-boost-tokenizer INTERFACE) +target_include_directories(restricted-boost-tokenizer INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/tokenizer/include +) +target_link_libraries(restricted-boost-tokenizer INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-iterator + restricted-boost-mpl + restricted-boost-throw_exception + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/tokenizer/CMakeLists.txt b/contrib/restricted/boost/tokenizer/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/tokenizer/CMakeLists.txt +++ b/contrib/restricted/boost/tokenizer/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/contrib/restricted/boost/tuple/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/tuple/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..35051c1252 --- /dev/null +++ b/contrib/restricted/boost/tuple/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(restricted-boost-tuple INTERFACE) +target_include_directories(restricted-boost-tuple INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/tuple/include +) +target_link_libraries(restricted-boost-tuple INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-core + restricted-boost-static_assert + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/tuple/CMakeLists.txt b/contrib/restricted/boost/tuple/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/tuple/CMakeLists.txt +++ b/contrib/restricted/boost/tuple/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/contrib/restricted/boost/type_index/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/type_index/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..701e481195 --- /dev/null +++ b/contrib/restricted/boost/type_index/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_library(restricted-boost-type_index INTERFACE) +target_include_directories(restricted-boost-type_index INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/type_index/include +) +target_link_libraries(restricted-boost-type_index INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-container_hash + restricted-boost-core + restricted-boost-preprocessor + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/type_index/CMakeLists.txt b/contrib/restricted/boost/type_index/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/type_index/CMakeLists.txt +++ b/contrib/restricted/boost/type_index/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/contrib/restricted/boost/type_traits/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/type_traits/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..a32d4a750e --- /dev/null +++ b/contrib/restricted/boost/type_traits/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(restricted-boost-type_traits INTERFACE) +target_include_directories(restricted-boost-type_traits INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/type_traits/include +) +target_link_libraries(restricted-boost-type_traits INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-static_assert +) diff --git a/contrib/restricted/boost/type_traits/CMakeLists.txt b/contrib/restricted/boost/type_traits/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/type_traits/CMakeLists.txt +++ b/contrib/restricted/boost/type_traits/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/contrib/restricted/boost/typeof/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/typeof/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..04fff27108 --- /dev/null +++ b/contrib/restricted/boost/typeof/CMakeLists.darwin-arm64.txt @@ -0,0 +1,19 @@ + +# 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(restricted-boost-typeof INTERFACE) +target_include_directories(restricted-boost-typeof INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/typeof/include +) +target_link_libraries(restricted-boost-typeof INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-preprocessor + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/typeof/CMakeLists.txt b/contrib/restricted/boost/typeof/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/typeof/CMakeLists.txt +++ b/contrib/restricted/boost/typeof/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/contrib/restricted/boost/unordered/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/unordered/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..0a1dbba096 --- /dev/null +++ b/contrib/restricted/boost/unordered/CMakeLists.darwin-arm64.txt @@ -0,0 +1,29 @@ + +# 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(restricted-boost-unordered INTERFACE) +target_include_directories(restricted-boost-unordered INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/unordered/include +) +target_link_libraries(restricted-boost-unordered INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-container + restricted-boost-container_hash + restricted-boost-core + restricted-boost-detail + restricted-boost-move + restricted-boost-predef + restricted-boost-preprocessor + restricted-boost-smart_ptr + restricted-boost-throw_exception + restricted-boost-tuple + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/unordered/CMakeLists.txt b/contrib/restricted/boost/unordered/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/unordered/CMakeLists.txt +++ b/contrib/restricted/boost/unordered/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/contrib/restricted/boost/utility/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/utility/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..75fd878529 --- /dev/null +++ b/contrib/restricted/boost/utility/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_library(restricted-boost-utility INTERFACE) +target_include_directories(restricted-boost-utility INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/utility/include +) +target_link_libraries(restricted-boost-utility INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-core + restricted-boost-io + restricted-boost-preprocessor + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits +) diff --git a/contrib/restricted/boost/utility/CMakeLists.txt b/contrib/restricted/boost/utility/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/utility/CMakeLists.txt +++ b/contrib/restricted/boost/utility/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/contrib/restricted/boost/variant2/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/variant2/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..faec5d9097 --- /dev/null +++ b/contrib/restricted/boost/variant2/CMakeLists.darwin-arm64.txt @@ -0,0 +1,19 @@ + +# 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(restricted-boost-variant2 INTERFACE) +target_include_directories(restricted-boost-variant2 INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/variant2/include +) +target_link_libraries(restricted-boost-variant2 INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-config + restricted-boost-mp11 +) diff --git a/contrib/restricted/boost/variant2/CMakeLists.txt b/contrib/restricted/boost/variant2/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/variant2/CMakeLists.txt +++ b/contrib/restricted/boost/variant2/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/contrib/restricted/boost/winapi/CMakeLists.darwin-arm64.txt b/contrib/restricted/boost/winapi/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..13fd04341f --- /dev/null +++ b/contrib/restricted/boost/winapi/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(restricted-boost-winapi INTERFACE) +target_include_directories(restricted-boost-winapi INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/winapi/include +) +target_link_libraries(restricted-boost-winapi INTERFACE + contrib-libs-cxxsupp + restricted-boost-config + restricted-boost-predef +) diff --git a/contrib/restricted/boost/winapi/CMakeLists.txt b/contrib/restricted/boost/winapi/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/boost/winapi/CMakeLists.txt +++ b/contrib/restricted/boost/winapi/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/contrib/restricted/cityhash-1.0.2/CMakeLists.darwin-arm64.txt b/contrib/restricted/cityhash-1.0.2/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..d7518da2f4 --- /dev/null +++ b/contrib/restricted/cityhash-1.0.2/CMakeLists.darwin-arm64.txt @@ -0,0 +1,19 @@ + +# 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(contrib-restricted-cityhash-1.0.2) +target_include_directories(contrib-restricted-cityhash-1.0.2 PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/cityhash-1.0.2 +) +target_link_libraries(contrib-restricted-cityhash-1.0.2 PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-restricted-cityhash-1.0.2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/cityhash-1.0.2/city.cc +) diff --git a/contrib/restricted/cityhash-1.0.2/CMakeLists.txt b/contrib/restricted/cityhash-1.0.2/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/cityhash-1.0.2/CMakeLists.txt +++ b/contrib/restricted/cityhash-1.0.2/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/contrib/restricted/dragonbox/CMakeLists.darwin-arm64.txt b/contrib/restricted/dragonbox/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..4e0fcd5b99 --- /dev/null +++ b/contrib/restricted/dragonbox/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(dragonbox) +target_compile_options(dragonbox PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(dragonbox PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox/include +) +target_link_libraries(dragonbox PUBLIC + contrib-libs-cxxsupp +) +target_sources(dragonbox PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox/source/dragonbox_to_chars.cpp +) diff --git a/contrib/restricted/dragonbox/CMakeLists.txt b/contrib/restricted/dragonbox/CMakeLists.txt index 606ff46b4b..1beba2829f 100644 --- a/contrib/restricted/dragonbox/CMakeLists.txt +++ b/contrib/restricted/dragonbox/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 (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/contrib/restricted/fast_float/CMakeLists.darwin-arm64.txt b/contrib/restricted/fast_float/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..277929ec2e --- /dev/null +++ b/contrib/restricted/fast_float/CMakeLists.darwin-arm64.txt @@ -0,0 +1,10 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(contrib-restricted-fast_float INTERFACE) diff --git a/contrib/restricted/fast_float/CMakeLists.txt b/contrib/restricted/fast_float/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/fast_float/CMakeLists.txt +++ b/contrib/restricted/fast_float/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/contrib/restricted/google/benchmark/CMakeLists.darwin-arm64.txt b/contrib/restricted/google/benchmark/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..0e16d88f39 --- /dev/null +++ b/contrib/restricted/google/benchmark/CMakeLists.darwin-arm64.txt @@ -0,0 +1,50 @@ + +# 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(restricted-google-benchmark) +target_compile_options(restricted-google-benchmark PUBLIC + -DBENCHMARK_STATIC_DEFINE +) +target_compile_options(restricted-google-benchmark PRIVATE + -DHAVE_POSIX_REGEX + -DHAVE_PTHREAD_AFFINITY + -DHAVE_STD_REGEX + -DHAVE_STEADY_CLOCK + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-google-benchmark PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/include +) +target_include_directories(restricted-google-benchmark PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src +) +target_link_libraries(restricted-google-benchmark PUBLIC + contrib-libs-cxxsupp +) +target_sources(restricted-google-benchmark PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_api_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_name.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_register.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/benchmark_runner.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/check.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/colorprint.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/commandlineflags.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/complexity.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/console_reporter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/counter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/csv_reporter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/json_reporter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/perf_counters.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/reporter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/statistics.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/string_util.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/sysinfo.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/google/benchmark/src/timers.cc +) diff --git a/contrib/restricted/google/benchmark/CMakeLists.txt b/contrib/restricted/google/benchmark/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/google/benchmark/CMakeLists.txt +++ b/contrib/restricted/google/benchmark/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/contrib/restricted/googletest/googlemock/CMakeLists.darwin-arm64.txt b/contrib/restricted/googletest/googlemock/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..01df6b6ce7 --- /dev/null +++ b/contrib/restricted/googletest/googlemock/CMakeLists.darwin-arm64.txt @@ -0,0 +1,28 @@ + +# 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(restricted-googletest-googlemock) +target_compile_options(restricted-googletest-googlemock PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-googletest-googlemock PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googlemock/include +) +target_include_directories(restricted-googletest-googlemock PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googlemock + ${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest + ${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest/include +) +target_link_libraries(restricted-googletest-googlemock PUBLIC + contrib-libs-cxxsupp + restricted-googletest-googletest +) +target_sources(restricted-googletest-googlemock PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googlemock/src/gmock-all.cc +) diff --git a/contrib/restricted/googletest/googlemock/CMakeLists.txt b/contrib/restricted/googletest/googlemock/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/googletest/googlemock/CMakeLists.txt +++ b/contrib/restricted/googletest/googlemock/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/contrib/restricted/googletest/googletest/CMakeLists.darwin-arm64.txt b/contrib/restricted/googletest/googletest/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..6d2f7beb8e --- /dev/null +++ b/contrib/restricted/googletest/googletest/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(restricted-googletest-googletest) +target_compile_options(restricted-googletest-googletest PUBLIC + -DGTEST_HAS_POSIX_RE=0 + -DGTEST_HAS_STD_WSTRING=1 + -DGTEST_USES_RE2=1 +) +target_compile_options(restricted-googletest-googletest PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-googletest-googletest PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest/include +) +target_include_directories(restricted-googletest-googletest PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest +) +target_link_libraries(restricted-googletest-googletest PUBLIC + contrib-libs-cxxsupp + contrib-libs-re2 +) +target_sources(restricted-googletest-googletest PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/googletest/googletest/src/gtest-all.cc +) diff --git a/contrib/restricted/googletest/googletest/CMakeLists.txt b/contrib/restricted/googletest/googletest/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/googletest/googletest/CMakeLists.txt +++ b/contrib/restricted/googletest/googletest/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/contrib/restricted/http-parser/CMakeLists.darwin-arm64.txt b/contrib/restricted/http-parser/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..1e88ed56de --- /dev/null +++ b/contrib/restricted/http-parser/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(contrib-restricted-http-parser) +target_compile_options(contrib-restricted-http-parser PRIVATE + -DHTTP_MAX_HEADER_SIZE=0x7fffffff + -DHTTP_PARSER_STRICT=0 + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(contrib-restricted-http-parser PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/http-parser +) +target_sources(contrib-restricted-http-parser PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/http-parser/http_parser.c +) diff --git a/contrib/restricted/http-parser/CMakeLists.txt b/contrib/restricted/http-parser/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/http-parser/CMakeLists.txt +++ b/contrib/restricted/http-parser/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/contrib/restricted/libffi/configs/aarch64-apple-macos/fficonfig.h b/contrib/restricted/libffi/configs/aarch64-apple-macos/fficonfig.h new file mode 100644 index 0000000000..7f3a68b1c8 --- /dev/null +++ b/contrib/restricted/libffi/configs/aarch64-apple-macos/fficonfig.h @@ -0,0 +1,211 @@ +/* fficonfig.h. Generated from fficonfig.h.in by configure. */ +/* fficonfig.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Define to 1 if using 'alloca.c'. */ +/* #undef C_ALLOCA */ + +/* Define to the flags needed for the .section .eh_frame directive. */ +#define EH_FRAME_FLAGS "aw" + +/* Define this if you want extra debugging. */ +/* #undef FFI_DEBUG */ + +/* Cannot use PROT_EXEC on this target, so, we revert to alternative means */ +#define FFI_EXEC_TRAMPOLINE_TABLE 1 + +/* Define this if you want to enable pax emulated trampolines */ +/* #undef FFI_MMAP_EXEC_EMUTRAMP_PAX */ + +/* Cannot use malloc on this target, so, we revert to alternative means */ +/* #undef FFI_MMAP_EXEC_WRIT */ + +/* Define this if you do not want support for the raw API. */ +/* #undef FFI_NO_RAW_API */ + +/* Define this if you do not want support for aggregate types. */ +/* #undef FFI_NO_STRUCTS */ + +/* Define to 1 if you have 'alloca', as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define to 1 if <alloca.h> works. */ +#define HAVE_ALLOCA_H 1 + +/* Define if your assembler supports .cfi_* directives. */ +/* #undef HAVE_AS_CFI_PSEUDO_OP */ + +/* Define if your assembler supports .register. */ +/* #undef HAVE_AS_REGISTER_PSEUDO_OP */ + +/* Define if the compiler uses zarch features. */ +/* #undef HAVE_AS_S390_ZARCH */ + +/* Define if your assembler and linker support unaligned PC relative relocs. + */ +/* #undef HAVE_AS_SPARC_UA_PCREL */ + +/* Define if your assembler supports unwind section type. */ +/* #undef HAVE_AS_X86_64_UNWIND_SECTION_TYPE */ + +/* Define if your assembler supports PC relative relocs. */ +/* #undef HAVE_AS_X86_PCREL */ + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#define HAVE_DLFCN_H 1 + +/* Define if __attribute__((visibility("hidden"))) is supported. */ +#define HAVE_HIDDEN_VISIBILITY_ATTRIBUTE 1 + +/* Define to 1 if you have the <inttypes.h> header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define if you have the long double type and it is bigger than a double */ +/* #undef HAVE_LONG_DOUBLE */ + +/* Define if you support more than one size of the long double type */ +/* #undef HAVE_LONG_DOUBLE_VARIANT */ + +/* Define to 1 if you have the `memcpy' function. */ +#define HAVE_MEMCPY 1 + +/* Define to 1 if you have the `mkostemp' function. */ +#define HAVE_MKOSTEMP 1 + +/* Define to 1 if you have the `mmap' function. */ +#define HAVE_MMAP 1 + +/* Define if mmap with MAP_ANON(YMOUS) works. */ +#define HAVE_MMAP_ANON 1 + +/* Define if mmap of /dev/zero works. */ +#define HAVE_MMAP_DEV_ZERO 1 + +/* Define if read-only mmap of a plain file works. */ +#define HAVE_MMAP_FILE 1 + +/* Define if .eh_frame sections should be read-only. */ +/* #undef HAVE_RO_EH_FRAME */ + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdio.h> header file. */ +#define HAVE_STDIO_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the <sys/mman.h> header file. */ +#define HAVE_SYS_MMAN_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if GNU symbol versioning is used for libatomic. */ +/* #undef LIBFFI_GNU_SYMBOL_VERSIONING */ + +/* Define to the sub-directory where libtool stores uninstalled libraries. */ +#define LT_OBJDIR ".libs/" + +/* Name of package */ +#define PACKAGE "libffi" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "http://github.com/libffi/libffi/issues" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "libffi" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "libffi 3.3" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "libffi" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "3.3" + +/* The size of `double', as computed by sizeof. */ +#define SIZEOF_DOUBLE 8 + +/* The size of `long double', as computed by sizeof. */ +#define SIZEOF_LONG_DOUBLE 8 + +/* The size of `size_t', as computed by sizeof. */ +#define SIZEOF_SIZE_T 8 + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at runtime. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +/* #undef STACK_DIRECTION */ + +/* Define to 1 if all of the C90 standard headers exist (not just the ones + required in a freestanding environment). This macro is provided for + backward compatibility; new code need not use it. */ +#define STDC_HEADERS 1 + +/* Define if symbols are underscored. */ +#define SYMBOL_UNDERSCORE 1 + +/* Define this if you are using Purify and want to suppress spurious messages. + */ +/* #undef USING_PURIFY */ + +/* Version number of package */ +#define VERSION "3.3" + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* Define to `unsigned int' if <sys/types.h> does not define. */ +/* #undef size_t */ + + +#ifdef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE +#ifdef LIBFFI_ASM +#ifdef __APPLE__ +#define FFI_HIDDEN(name) .private_extern name +#else +#define FFI_HIDDEN(name) .hidden name +#endif +#else +#define FFI_HIDDEN __attribute__ ((visibility ("hidden"))) +#endif +#else +#ifdef LIBFFI_ASM +#define FFI_HIDDEN(name) +#else +#define FFI_HIDDEN +#endif +#endif + diff --git a/contrib/restricted/libffi/configs/aarch64-apple-macos/include/ffi.h b/contrib/restricted/libffi/configs/aarch64-apple-macos/include/ffi.h new file mode 100644 index 0000000000..8b35bda83c --- /dev/null +++ b/contrib/restricted/libffi/configs/aarch64-apple-macos/include/ffi.h @@ -0,0 +1,515 @@ +/* -----------------------------------------------------------------*-C-*- + libffi 3.3 - Copyright (c) 2011, 2014, 2019 Anthony Green + - Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc. + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the ``Software''), to deal in the Software without + restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + + ----------------------------------------------------------------------- */ + +/* ------------------------------------------------------------------- + Most of the API is documented in doc/libffi.texi. + + The raw API is designed to bypass some of the argument packing and + unpacking on architectures for which it can be avoided. Routines + are provided to emulate the raw API if the underlying platform + doesn't allow faster implementation. + + More details on the raw API can be found in: + + http://gcc.gnu.org/ml/java/1999-q3/msg00138.html + + and + + http://gcc.gnu.org/ml/java/1999-q3/msg00174.html + -------------------------------------------------------------------- */ + +#ifndef LIBFFI_H +#define LIBFFI_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* Specify which architecture libffi is configured for. */ +#ifndef AARCH64 +#define AARCH64 +#endif + +/* ---- System configuration information --------------------------------- */ + +#include <ffitarget.h> + +#ifndef LIBFFI_ASM + +#if defined(_MSC_VER) && !defined(__clang__) +#define __attribute__(X) +#endif + +#include <stddef.h> +#include <limits.h> + +/* LONG_LONG_MAX is not always defined (not if STRICT_ANSI, for example). + But we can find it either under the correct ANSI name, or under GNU + C's internal name. */ + +#define FFI_64_BIT_MAX 9223372036854775807 + +#ifdef LONG_LONG_MAX +# define FFI_LONG_LONG_MAX LONG_LONG_MAX +#else +# ifdef LLONG_MAX +# define FFI_LONG_LONG_MAX LLONG_MAX +# ifdef _AIX52 /* or newer has C99 LLONG_MAX */ +# undef FFI_64_BIT_MAX +# define FFI_64_BIT_MAX 9223372036854775807LL +# endif /* _AIX52 or newer */ +# else +# ifdef __GNUC__ +# define FFI_LONG_LONG_MAX __LONG_LONG_MAX__ +# endif +# ifdef _AIX /* AIX 5.1 and earlier have LONGLONG_MAX */ +# ifndef __PPC64__ +# if defined (__IBMC__) || defined (__IBMCPP__) +# define FFI_LONG_LONG_MAX LONGLONG_MAX +# endif +# endif /* __PPC64__ */ +# undef FFI_64_BIT_MAX +# define FFI_64_BIT_MAX 9223372036854775807LL +# endif +# endif +#endif + +/* The closure code assumes that this works on pointers, i.e. a size_t + can hold a pointer. */ + +typedef struct _ffi_type +{ + size_t size; + unsigned short alignment; + unsigned short type; + struct _ffi_type **elements; +} ffi_type; + +/* Need minimal decorations for DLLs to work on Windows. GCC has + autoimport and autoexport. Always mark externally visible symbols + as dllimport for MSVC clients, even if it means an extra indirection + when using the static version of the library. + Besides, as a workaround, they can define FFI_BUILDING if they + *know* they are going to link with the static library. */ +#if defined _MSC_VER +# if defined FFI_BUILDING_DLL /* Building libffi.DLL with msvcc.sh */ +# define FFI_API __declspec(dllexport) +# elif !defined FFI_BUILDING /* Importing libffi.DLL */ +# define FFI_API __declspec(dllimport) +# else /* Building/linking static library */ +# define FFI_API +# endif +#else +# define FFI_API +#endif + +/* The externally visible type declarations also need the MSVC DLL + decorations, or they will not be exported from the object file. */ +#if defined LIBFFI_HIDE_BASIC_TYPES +# define FFI_EXTERN FFI_API +#else +# define FFI_EXTERN extern FFI_API +#endif + +#ifndef LIBFFI_HIDE_BASIC_TYPES +#if SCHAR_MAX == 127 +# define ffi_type_uchar ffi_type_uint8 +# define ffi_type_schar ffi_type_sint8 +#else + #error "char size not supported" +#endif + +#if SHRT_MAX == 32767 +# define ffi_type_ushort ffi_type_uint16 +# define ffi_type_sshort ffi_type_sint16 +#elif SHRT_MAX == 2147483647 +# define ffi_type_ushort ffi_type_uint32 +# define ffi_type_sshort ffi_type_sint32 +#else + #error "short size not supported" +#endif + +#if INT_MAX == 32767 +# define ffi_type_uint ffi_type_uint16 +# define ffi_type_sint ffi_type_sint16 +#elif INT_MAX == 2147483647 +# define ffi_type_uint ffi_type_uint32 +# define ffi_type_sint ffi_type_sint32 +#elif INT_MAX == 9223372036854775807 +# define ffi_type_uint ffi_type_uint64 +# define ffi_type_sint ffi_type_sint64 +#else + #error "int size not supported" +#endif + +#if LONG_MAX == 2147483647 +# if FFI_LONG_LONG_MAX != FFI_64_BIT_MAX + #error "no 64-bit data type supported" +# endif +#elif LONG_MAX != FFI_64_BIT_MAX + #error "long size not supported" +#endif + +#if LONG_MAX == 2147483647 +# define ffi_type_ulong ffi_type_uint32 +# define ffi_type_slong ffi_type_sint32 +#elif LONG_MAX == FFI_64_BIT_MAX +# define ffi_type_ulong ffi_type_uint64 +# define ffi_type_slong ffi_type_sint64 +#else + #error "long size not supported" +#endif + +/* These are defined in types.c. */ +FFI_EXTERN ffi_type ffi_type_void; +FFI_EXTERN ffi_type ffi_type_uint8; +FFI_EXTERN ffi_type ffi_type_sint8; +FFI_EXTERN ffi_type ffi_type_uint16; +FFI_EXTERN ffi_type ffi_type_sint16; +FFI_EXTERN ffi_type ffi_type_uint32; +FFI_EXTERN ffi_type ffi_type_sint32; +FFI_EXTERN ffi_type ffi_type_uint64; +FFI_EXTERN ffi_type ffi_type_sint64; +FFI_EXTERN ffi_type ffi_type_float; +FFI_EXTERN ffi_type ffi_type_double; +FFI_EXTERN ffi_type ffi_type_pointer; + +#if 0 +FFI_EXTERN ffi_type ffi_type_longdouble; +#else +#define ffi_type_longdouble ffi_type_double +#endif + +#ifdef FFI_TARGET_HAS_COMPLEX_TYPE +FFI_EXTERN ffi_type ffi_type_complex_float; +FFI_EXTERN ffi_type ffi_type_complex_double; +#if 0 +FFI_EXTERN ffi_type ffi_type_complex_longdouble; +#else +#define ffi_type_complex_longdouble ffi_type_complex_double +#endif +#endif +#endif /* LIBFFI_HIDE_BASIC_TYPES */ + +typedef enum { + FFI_OK = 0, + FFI_BAD_TYPEDEF, + FFI_BAD_ABI +} ffi_status; + +typedef struct { + ffi_abi abi; + unsigned nargs; + ffi_type **arg_types; + ffi_type *rtype; + unsigned bytes; + unsigned flags; +#ifdef FFI_EXTRA_CIF_FIELDS + FFI_EXTRA_CIF_FIELDS; +#endif +} ffi_cif; + +/* ---- Definitions for the raw API -------------------------------------- */ + +#ifndef FFI_SIZEOF_ARG +# if LONG_MAX == 2147483647 +# define FFI_SIZEOF_ARG 4 +# elif LONG_MAX == FFI_64_BIT_MAX +# define FFI_SIZEOF_ARG 8 +# endif +#endif + +#ifndef FFI_SIZEOF_JAVA_RAW +# define FFI_SIZEOF_JAVA_RAW FFI_SIZEOF_ARG +#endif + +typedef union { + ffi_sarg sint; + ffi_arg uint; + float flt; + char data[FFI_SIZEOF_ARG]; + void* ptr; +} ffi_raw; + +#if FFI_SIZEOF_JAVA_RAW == 4 && FFI_SIZEOF_ARG == 8 +/* This is a special case for mips64/n32 ABI (and perhaps others) where + sizeof(void *) is 4 and FFI_SIZEOF_ARG is 8. */ +typedef union { + signed int sint; + unsigned int uint; + float flt; + char data[FFI_SIZEOF_JAVA_RAW]; + void* ptr; +} ffi_java_raw; +#else +typedef ffi_raw ffi_java_raw; +#endif + + +FFI_API +void ffi_raw_call (ffi_cif *cif, + void (*fn)(void), + void *rvalue, + ffi_raw *avalue); + +FFI_API void ffi_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_raw *raw); +FFI_API void ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args); +FFI_API size_t ffi_raw_size (ffi_cif *cif); + +/* This is analogous to the raw API, except it uses Java parameter + packing, even on 64-bit machines. I.e. on 64-bit machines longs + and doubles are followed by an empty 64-bit word. */ + +#if !FFI_NATIVE_RAW_API +FFI_API +void ffi_java_raw_call (ffi_cif *cif, + void (*fn)(void), + void *rvalue, + ffi_java_raw *avalue) __attribute__((deprecated)); +#endif + +FFI_API +void ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw) __attribute__((deprecated)); +FFI_API +void ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) __attribute__((deprecated)); +FFI_API +size_t ffi_java_raw_size (ffi_cif *cif) __attribute__((deprecated)); + +/* ---- Definitions for closures ----------------------------------------- */ + +#if FFI_CLOSURES + +#ifdef _MSC_VER +__declspec(align(8)) +#endif +typedef struct { +#if 1 + void *trampoline_table; + void *trampoline_table_entry; +#else + char tramp[FFI_TRAMPOLINE_SIZE]; +#endif + ffi_cif *cif; + void (*fun)(ffi_cif*,void*,void**,void*); + void *user_data; +} ffi_closure +#ifdef __GNUC__ + __attribute__((aligned (8))) +#endif + ; + +#ifndef __GNUC__ +# ifdef __sgi +# pragma pack 0 +# endif +#endif + +FFI_API void *ffi_closure_alloc (size_t size, void **code); +FFI_API void ffi_closure_free (void *); + +FFI_API ffi_status +ffi_prep_closure (ffi_closure*, + ffi_cif *, + void (*fun)(ffi_cif*,void*,void**,void*), + void *user_data) +#if defined(__GNUC__) && (((__GNUC__ * 100) + __GNUC_MINOR__) >= 405) + __attribute__((deprecated ("use ffi_prep_closure_loc instead"))) +#elif defined(__GNUC__) && __GNUC__ >= 3 + __attribute__((deprecated)) +#endif + ; + +FFI_API ffi_status +ffi_prep_closure_loc (ffi_closure*, + ffi_cif *, + void (*fun)(ffi_cif*,void*,void**,void*), + void *user_data, + void*codeloc); + +#ifdef __sgi +# pragma pack 8 +#endif +typedef struct { +#if 1 + void *trampoline_table; + void *trampoline_table_entry; +#else + char tramp[FFI_TRAMPOLINE_SIZE]; +#endif + ffi_cif *cif; + +#if !FFI_NATIVE_RAW_API + + /* If this is enabled, then a raw closure has the same layout + as a regular closure. We use this to install an intermediate + handler to do the transaltion, void** -> ffi_raw*. */ + + void (*translate_args)(ffi_cif*,void*,void**,void*); + void *this_closure; + +#endif + + void (*fun)(ffi_cif*,void*,ffi_raw*,void*); + void *user_data; + +} ffi_raw_closure; + +typedef struct { +#if 1 + void *trampoline_table; + void *trampoline_table_entry; +#else + char tramp[FFI_TRAMPOLINE_SIZE]; +#endif + + ffi_cif *cif; + +#if !FFI_NATIVE_RAW_API + + /* If this is enabled, then a raw closure has the same layout + as a regular closure. We use this to install an intermediate + handler to do the translation, void** -> ffi_raw*. */ + + void (*translate_args)(ffi_cif*,void*,void**,void*); + void *this_closure; + +#endif + + void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*); + void *user_data; + +} ffi_java_raw_closure; + +FFI_API ffi_status +ffi_prep_raw_closure (ffi_raw_closure*, + ffi_cif *cif, + void (*fun)(ffi_cif*,void*,ffi_raw*,void*), + void *user_data); + +FFI_API ffi_status +ffi_prep_raw_closure_loc (ffi_raw_closure*, + ffi_cif *cif, + void (*fun)(ffi_cif*,void*,ffi_raw*,void*), + void *user_data, + void *codeloc); + +#if !FFI_NATIVE_RAW_API +FFI_API ffi_status +ffi_prep_java_raw_closure (ffi_java_raw_closure*, + ffi_cif *cif, + void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*), + void *user_data) __attribute__((deprecated)); + +FFI_API ffi_status +ffi_prep_java_raw_closure_loc (ffi_java_raw_closure*, + ffi_cif *cif, + void (*fun)(ffi_cif*,void*,ffi_java_raw*,void*), + void *user_data, + void *codeloc) __attribute__((deprecated)); +#endif + +#endif /* FFI_CLOSURES */ + +#if FFI_GO_CLOSURES + +typedef struct { + void *tramp; + ffi_cif *cif; + void (*fun)(ffi_cif*,void*,void**,void*); +} ffi_go_closure; + +FFI_API ffi_status ffi_prep_go_closure (ffi_go_closure*, ffi_cif *, + void (*fun)(ffi_cif*,void*,void**,void*)); + +FFI_API void ffi_call_go (ffi_cif *cif, void (*fn)(void), void *rvalue, + void **avalue, void *closure); + +#endif /* FFI_GO_CLOSURES */ + +/* ---- Public interface definition -------------------------------------- */ + +FFI_API +ffi_status ffi_prep_cif(ffi_cif *cif, + ffi_abi abi, + unsigned int nargs, + ffi_type *rtype, + ffi_type **atypes); + +FFI_API +ffi_status ffi_prep_cif_var(ffi_cif *cif, + ffi_abi abi, + unsigned int nfixedargs, + unsigned int ntotalargs, + ffi_type *rtype, + ffi_type **atypes); + +FFI_API +void ffi_call(ffi_cif *cif, + void (*fn)(void), + void *rvalue, + void **avalue); + +FFI_API +ffi_status ffi_get_struct_offsets (ffi_abi abi, ffi_type *struct_type, + size_t *offsets); + +/* Useful for eliminating compiler warnings. */ +#define FFI_FN(f) ((void (*)(void))f) + +/* ---- Definitions shared with assembly code ---------------------------- */ + +#endif + +/* If these change, update src/mips/ffitarget.h. */ +#define FFI_TYPE_VOID 0 +#define FFI_TYPE_INT 1 +#define FFI_TYPE_FLOAT 2 +#define FFI_TYPE_DOUBLE 3 +#if 0 +#define FFI_TYPE_LONGDOUBLE 4 +#else +#define FFI_TYPE_LONGDOUBLE FFI_TYPE_DOUBLE +#endif +#define FFI_TYPE_UINT8 5 +#define FFI_TYPE_SINT8 6 +#define FFI_TYPE_UINT16 7 +#define FFI_TYPE_SINT16 8 +#define FFI_TYPE_UINT32 9 +#define FFI_TYPE_SINT32 10 +#define FFI_TYPE_UINT64 11 +#define FFI_TYPE_SINT64 12 +#define FFI_TYPE_STRUCT 13 +#define FFI_TYPE_POINTER 14 +#define FFI_TYPE_COMPLEX 15 + +/* This should always refer to the last type code (for sanity checks). */ +#define FFI_TYPE_LAST FFI_TYPE_COMPLEX + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/contrib/restricted/libffi/configs/aarch64-apple-macos/include/ffitarget.h b/contrib/restricted/libffi/configs/aarch64-apple-macos/include/ffitarget.h new file mode 100644 index 0000000000..ecb6d2deae --- /dev/null +++ b/contrib/restricted/libffi/configs/aarch64-apple-macos/include/ffitarget.h @@ -0,0 +1,92 @@ +/* Copyright (c) 2009, 2010, 2011, 2012 ARM Ltd. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +``Software''), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ + +#ifndef LIBFFI_TARGET_H +#define LIBFFI_TARGET_H + +#ifndef LIBFFI_H +#error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." +#endif + +#ifndef LIBFFI_ASM +#ifdef __ILP32__ +#define FFI_SIZEOF_ARG 8 +#define FFI_SIZEOF_JAVA_RAW 4 +typedef unsigned long long ffi_arg; +typedef signed long long ffi_sarg; +#elif defined(_M_ARM64) +#define FFI_SIZEOF_ARG 8 +typedef unsigned long long ffi_arg; +typedef signed long long ffi_sarg; +#else +typedef unsigned long ffi_arg; +typedef signed long ffi_sarg; +#endif + +typedef enum ffi_abi + { + FFI_FIRST_ABI = 0, + FFI_SYSV, + FFI_LAST_ABI, + FFI_DEFAULT_ABI = FFI_SYSV + } ffi_abi; +#endif + +/* ---- Definitions for closures ----------------------------------------- */ + +#define FFI_CLOSURES 1 +#define FFI_NATIVE_RAW_API 0 + +#if defined (FFI_EXEC_TRAMPOLINE_TABLE) && FFI_EXEC_TRAMPOLINE_TABLE + +#ifdef __MACH__ +#define FFI_TRAMPOLINE_SIZE 16 +#define FFI_TRAMPOLINE_CLOSURE_OFFSET 16 +#else +#error "No trampoline table implementation" +#endif + +#else +#define FFI_TRAMPOLINE_SIZE 24 +#define FFI_TRAMPOLINE_CLOSURE_OFFSET FFI_TRAMPOLINE_SIZE +#endif + +#ifdef _M_ARM64 +#define FFI_EXTRA_CIF_FIELDS unsigned is_variadic +#endif + +/* ---- Internal ---- */ + +#if defined (__APPLE__) +#define FFI_TARGET_SPECIFIC_VARIADIC +#define FFI_EXTRA_CIF_FIELDS unsigned aarch64_nfixedargs +#elif !defined(_M_ARM64) +/* iOS and Windows reserve x18 for the system. Disable Go closures until + a new static chain is chosen. */ +#define FFI_GO_CLOSURES 1 +#endif + +#ifndef _M_ARM64 +/* No complex type on Windows */ +#define FFI_TARGET_HAS_COMPLEX_TYPE +#endif + +#endif diff --git a/contrib/restricted/nlohmann_json/CMakeLists.darwin-arm64.txt b/contrib/restricted/nlohmann_json/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..0c96110bcc --- /dev/null +++ b/contrib/restricted/nlohmann_json/CMakeLists.darwin-arm64.txt @@ -0,0 +1,16 @@ + +# 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(contrib-restricted-nlohmann_json INTERFACE) +target_include_directories(contrib-restricted-nlohmann_json INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/nlohmann_json/include +) +target_link_libraries(contrib-restricted-nlohmann_json INTERFACE + contrib-libs-cxxsupp +) diff --git a/contrib/restricted/nlohmann_json/CMakeLists.txt b/contrib/restricted/nlohmann_json/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/nlohmann_json/CMakeLists.txt +++ b/contrib/restricted/nlohmann_json/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/contrib/restricted/patched/replxx/CMakeLists.darwin-arm64.txt b/contrib/restricted/patched/replxx/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..27787413ab --- /dev/null +++ b/contrib/restricted/patched/replxx/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(restricted-patched-replxx) +target_compile_options(restricted-patched-replxx PUBLIC + -DREPLXX_STATIC +) +target_compile_options(restricted-patched-replxx PRIVATE + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(restricted-patched-replxx PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/include +) +target_include_directories(restricted-patched-replxx PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src +) +target_link_libraries(restricted-patched-replxx PUBLIC + contrib-libs-cxxsupp +) +target_sources(restricted-patched-replxx PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/ConvertUTF.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/conversion.cxx + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/escape.cxx + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/history.cxx + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/prompt.cxx + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/replxx.cxx + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/replxx_impl.cxx + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/terminal.cxx + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/util.cxx + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/wcwidth.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/patched/replxx/src/windows.cxx +) diff --git a/contrib/restricted/patched/replxx/CMakeLists.txt b/contrib/restricted/patched/replxx/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/patched/replxx/CMakeLists.txt +++ b/contrib/restricted/patched/replxx/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/contrib/restricted/thrift/CMakeLists.darwin-arm64.txt b/contrib/restricted/thrift/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..c7e6326e93 --- /dev/null +++ b/contrib/restricted/thrift/CMakeLists.darwin-arm64.txt @@ -0,0 +1,82 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(contrib-restricted-thrift) +target_compile_options(contrib-restricted-thrift PRIVATE + -Wno-deprecated-declarations + -Wno-unused-function + -Wno-unused-parameter + -Wno-unused-private-field + -Wno-unused-variable + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(contrib-restricted-thrift PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift +) +target_link_libraries(contrib-restricted-thrift PUBLIC + contrib-libs-cxxsupp + contrib-libs-libevent + contrib-libs-openssl + contrib-libs-zlib + restricted-boost-interprocess + restricted-boost-locale + restricted-boost-math + restricted-boost-system + restricted-boost-thread +) +target_sources(contrib-restricted-thrift PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/TApplicationException.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/TOutput.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/VirtualProfiling.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/async/TAsyncChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/async/TAsyncProtocolProcessor.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/async/TConcurrentClientSyncInfo.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/async/TEvhttpClientChannel.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/async/TEvhttpServer.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/StdMonitor.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/StdMutex.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/StdThreadFactory.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/ThreadManager.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/TimerManager.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/Util.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/processor/PeekProcessor.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/TBase64Utils.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/TDebugProtocol.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/THeaderProtocol.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/TJSONProtocol.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/TMultiplexedProtocol.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/TProtocol.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TConnectedClient.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TNonblockingServer.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TServer.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TServerFramework.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TSimpleServer.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TThreadPoolServer.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TThreadedServer.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TBufferTransports.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TFDTransport.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TFileTransport.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/THeaderTransport.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/THttpClient.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/THttpServer.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/THttpTransport.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TNonblockingSSLServerSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TNonblockingServerSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TPipe.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TPipeServer.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TSSLServerSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TSSLSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TServerSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TSimpleFileTransport.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TSocket.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TSocketPool.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TTransportException.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TTransportUtils.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TZlibTransport.cpp +) diff --git a/contrib/restricted/thrift/CMakeLists.txt b/contrib/restricted/thrift/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/thrift/CMakeLists.txt +++ b/contrib/restricted/thrift/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/contrib/restricted/uriparser/CMakeLists.darwin-arm64.txt b/contrib/restricted/uriparser/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..2163bfff7c --- /dev/null +++ b/contrib/restricted/uriparser/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(contrib-restricted-uriparser) +target_compile_options(contrib-restricted-uriparser PRIVATE + -DURI_LIBRARY_BUILD + -DURI_VISIBILITY + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_include_directories(contrib-restricted-uriparser PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/include +) +target_include_directories(contrib-restricted-uriparser PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser +) +target_link_libraries(contrib-restricted-uriparser PUBLIC + contrib-libs-libc_compat +) +target_sources(contrib-restricted-uriparser PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriCommon.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriCompare.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriEscape.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriFile.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriIp4.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriIp4Base.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriMemory.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriNormalize.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriNormalizeBase.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriParse.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriParseBase.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriQuery.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriRecompose.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriResolve.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/uriparser/src/UriShorten.c +) diff --git a/contrib/restricted/uriparser/CMakeLists.txt b/contrib/restricted/uriparser/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/contrib/restricted/uriparser/CMakeLists.txt +++ b/contrib/restricted/uriparser/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) |