diff options
author | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
commit | 0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch) | |
tree | 4d8a246db168f7beaafcd06d486c034115c2123d /contrib/restricted/abseil-cpp | |
parent | d1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff) | |
download | ydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz |
Sync linux-headers instead of using system ones
Diffstat (limited to 'contrib/restricted/abseil-cpp')
76 files changed, 1773 insertions, 378 deletions
diff --git a/contrib/restricted/abseil-cpp/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/CMakeLists.darwin.txt new file mode 100644 index 0000000000..e2df59ffd5 --- /dev/null +++ b/contrib/restricted/abseil-cpp/CMakeLists.darwin.txt @@ -0,0 +1,31 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_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-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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..78f7e79c45 --- /dev/null +++ b/contrib/restricted/abseil-cpp/CMakeLists.linux-aarch64.txt @@ -0,0 +1,32 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(absl) + +add_library(contrib-restricted-abseil-cpp INTERFACE) +target_link_libraries(contrib-restricted-abseil-cpp INTERFACE + contrib-libs-linux-headers + 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-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.linux.txt b/contrib/restricted/abseil-cpp/CMakeLists.linux.txt new file mode 100644 index 0000000000..78f7e79c45 --- /dev/null +++ b/contrib/restricted/abseil-cpp/CMakeLists.linux.txt @@ -0,0 +1,32 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(absl) + +add_library(contrib-restricted-abseil-cpp INTERFACE) +target_link_libraries(contrib-restricted-abseil-cpp INTERFACE + contrib-libs-linux-headers + 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-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 e2df59ffd5..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/CMakeLists.txt @@ -6,26 +6,10 @@ # 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-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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.darwin.txt new file mode 100644 index 0000000000..58e0590374 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.darwin.txt @@ -0,0 +1,10 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-algorithm INTERFACE) diff --git a/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..ba6c70fa81 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.linux-aarch64.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-algorithm INTERFACE) +target_link_libraries(abseil-cpp-absl-algorithm INTERFACE + contrib-libs-linux-headers +) diff --git a/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.linux.txt new file mode 100644 index 0000000000..ba6c70fa81 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.linux.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-algorithm INTERFACE) +target_link_libraries(abseil-cpp-absl-algorithm INTERFACE + contrib-libs-linux-headers +) diff --git a/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt index 58e0590374..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt @@ -6,5 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-algorithm INTERFACE) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.darwin.txt new file mode 100644 index 0000000000..dd051d76da --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.darwin.txt @@ -0,0 +1,33 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-base) +target_compile_options(abseil-cpp-absl-base PRIVATE + -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 +) +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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..0ea1c9533c --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.linux-aarch64.txt @@ -0,0 +1,34 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-base) +target_compile_options(abseil-cpp-absl-base PRIVATE + -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-linux-headers + contrib-libs-cxxsupp +) +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.linux.txt b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.linux.txt new file mode 100644 index 0000000000..0ea1c9533c --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.linux.txt @@ -0,0 +1,34 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-base) +target_compile_options(abseil-cpp-absl-base PRIVATE + -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-linux-headers + contrib-libs-cxxsupp +) +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 dd051d76da..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt @@ -6,28 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-base) -target_compile_options(abseil-cpp-absl-base PRIVATE - -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 -) -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/container/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.darwin.txt new file mode 100644 index 0000000000..a0760cc376 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.darwin.txt @@ -0,0 +1,34 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-container) +target_compile_options(abseil-cpp-absl-container PRIVATE + -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 +) +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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..d5480d1efa --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.linux-aarch64.txt @@ -0,0 +1,35 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-container) +target_compile_options(abseil-cpp-absl-container PRIVATE + -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-linux-headers + 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 +) +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.linux.txt b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.linux.txt new file mode 100644 index 0000000000..d5480d1efa --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.linux.txt @@ -0,0 +1,35 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-container) +target_compile_options(abseil-cpp-absl-container PRIVATE + -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-linux-headers + 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 +) +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 a0760cc376..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/container/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.txt @@ -6,29 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-container) -target_compile_options(abseil-cpp-absl-container PRIVATE - -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 -) -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.darwin.txt new file mode 100644 index 0000000000..97f9bdaebf --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.darwin.txt @@ -0,0 +1,31 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-debugging) +target_compile_options(abseil-cpp-absl-debugging PRIVATE + -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 +) +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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..fef59067ce --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.linux-aarch64.txt @@ -0,0 +1,32 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-debugging) +target_compile_options(abseil-cpp-absl-debugging PRIVATE + -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-linux-headers + contrib-libs-cxxsupp + abseil-cpp-absl-base +) +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.linux.txt b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.linux.txt new file mode 100644 index 0000000000..fef59067ce --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.linux.txt @@ -0,0 +1,32 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-debugging) +target_compile_options(abseil-cpp-absl-debugging PRIVATE + -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-linux-headers + contrib-libs-cxxsupp + abseil-cpp-absl-base +) +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 97f9bdaebf..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.txt @@ -6,26 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-debugging) -target_compile_options(abseil-cpp-absl-debugging PRIVATE - -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 -) -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.darwin.txt new file mode 100644 index 0000000000..eed5a69152 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.darwin.txt @@ -0,0 +1,44 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-flags) +target_compile_options(abseil-cpp-absl-flags PRIVATE + -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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..acc600f3c7 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.linux-aarch64.txt @@ -0,0 +1,45 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-flags) +target_compile_options(abseil-cpp-absl-flags PRIVATE + -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-linux-headers + 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.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.linux.txt new file mode 100644 index 0000000000..acc600f3c7 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.linux.txt @@ -0,0 +1,45 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-flags) +target_compile_options(abseil-cpp-absl-flags PRIVATE + -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-linux-headers + 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 eed5a69152..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.txt @@ -6,39 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-flags) -target_compile_options(abseil-cpp-absl-flags PRIVATE - -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.darwin.txt new file mode 100644 index 0000000000..31ea222c83 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.darwin.txt @@ -0,0 +1,10 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-functional INTERFACE) diff --git a/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..e81f74c98d --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.linux-aarch64.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-functional INTERFACE) +target_link_libraries(abseil-cpp-absl-functional INTERFACE + contrib-libs-linux-headers +) diff --git a/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.linux.txt new file mode 100644 index 0000000000..e81f74c98d --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.linux.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-functional INTERFACE) +target_link_libraries(abseil-cpp-absl-functional INTERFACE + contrib-libs-linux-headers +) diff --git a/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt index 31ea222c83..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt @@ -6,5 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-functional INTERFACE) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.darwin.txt new file mode 100644 index 0000000000..9182b14467 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.darwin.txt @@ -0,0 +1,28 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-hash) +target_compile_options(abseil-cpp-absl-hash PRIVATE + -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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..175a5ea295 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.linux-aarch64.txt @@ -0,0 +1,29 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-hash) +target_compile_options(abseil-cpp-absl-hash PRIVATE + -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-linux-headers + 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.linux.txt b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.linux.txt new file mode 100644 index 0000000000..175a5ea295 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-hash) +target_compile_options(abseil-cpp-absl-hash PRIVATE + -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-linux-headers + 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 9182b14467..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.txt @@ -6,23 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-hash) -target_compile_options(abseil-cpp-absl-hash PRIVATE - -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.darwin.txt new file mode 100644 index 0000000000..81b3787c3c --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.darwin.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..b60878811c --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.linux-aarch64.txt @@ -0,0 +1,14 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-memory INTERFACE) +target_link_libraries(abseil-cpp-absl-memory INTERFACE + contrib-libs-linux-headers + abseil-cpp-absl-meta +) diff --git a/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.linux.txt new file mode 100644 index 0000000000..b60878811c --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.linux.txt @@ -0,0 +1,14 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-memory INTERFACE) +target_link_libraries(abseil-cpp-absl-memory INTERFACE + contrib-libs-linux-headers + 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 81b3787c3c..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.txt @@ -6,8 +6,10 @@ # 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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.darwin.txt new file mode 100644 index 0000000000..d1eedebfd8 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.darwin.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..d95d1f42e8 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.linux-aarch64.txt @@ -0,0 +1,14 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-meta INTERFACE) +target_link_libraries(abseil-cpp-absl-meta INTERFACE + contrib-libs-linux-headers + abseil-cpp-absl-base +) diff --git a/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.linux.txt new file mode 100644 index 0000000000..d95d1f42e8 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.linux.txt @@ -0,0 +1,14 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-meta INTERFACE) +target_link_libraries(abseil-cpp-absl-meta INTERFACE + contrib-libs-linux-headers + 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 d1eedebfd8..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.txt @@ -6,8 +6,10 @@ # 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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.darwin.txt new file mode 100644 index 0000000000..a32bb67e9d --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.darwin.txt @@ -0,0 +1,22 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-numeric) +target_compile_options(abseil-cpp-absl-numeric PRIVATE + -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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..ad6e62fbe9 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.linux-aarch64.txt @@ -0,0 +1,23 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-numeric) +target_compile_options(abseil-cpp-absl-numeric PRIVATE + -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-linux-headers + 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.linux.txt b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.linux.txt new file mode 100644 index 0000000000..ad6e62fbe9 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.linux.txt @@ -0,0 +1,23 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-numeric) +target_compile_options(abseil-cpp-absl-numeric PRIVATE + -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-linux-headers + 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 a32bb67e9d..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.txt @@ -6,17 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-numeric) -target_compile_options(abseil-cpp-absl-numeric PRIVATE - -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.darwin.txt new file mode 100644 index 0000000000..6f6f92f488 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.darwin.txt @@ -0,0 +1,23 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-profiling) +target_compile_options(abseil-cpp-absl-profiling PRIVATE + -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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..9807344372 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.linux-aarch64.txt @@ -0,0 +1,24 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-profiling) +target_compile_options(abseil-cpp-absl-profiling PRIVATE + -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-linux-headers + 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.linux.txt b/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.linux.txt new file mode 100644 index 0000000000..9807344372 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.linux.txt @@ -0,0 +1,24 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-profiling) +target_compile_options(abseil-cpp-absl-profiling PRIVATE + -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-linux-headers + 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 6f6f92f488..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/profiling/CMakeLists.txt @@ -6,18 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-profiling) -target_compile_options(abseil-cpp-absl-profiling PRIVATE - -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/random/CMakeLists.darwin.txt new file mode 100644 index 0000000000..93d96b8652 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/CMakeLists.darwin.txt @@ -0,0 +1,38 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-random) +target_compile_options(abseil-cpp-absl-random PRIVATE + -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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/random/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..ce595a2703 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/CMakeLists.linux-aarch64.txt @@ -0,0 +1,39 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-random) +target_compile_options(abseil-cpp-absl-random PRIVATE + -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-linux-headers + 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.linux.txt b/contrib/restricted/abseil-cpp/absl/random/CMakeLists.linux.txt new file mode 100644 index 0000000000..ce595a2703 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/CMakeLists.linux.txt @@ -0,0 +1,39 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-random) +target_compile_options(abseil-cpp-absl-random PRIVATE + -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-linux-headers + 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 93d96b8652..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/random/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/CMakeLists.txt @@ -6,33 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-random) -target_compile_options(abseil-cpp-absl-random PRIVATE - -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/status/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.darwin.txt new file mode 100644 index 0000000000..fe715ecf01 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.darwin.txt @@ -0,0 +1,31 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-status) +target_compile_options(abseil-cpp-absl-status PRIVATE + -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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..dda032476b --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.linux-aarch64.txt @@ -0,0 +1,32 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-status) +target_compile_options(abseil-cpp-absl-status PRIVATE + -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-linux-headers + 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.linux.txt b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.linux.txt new file mode 100644 index 0000000000..dda032476b --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.linux.txt @@ -0,0 +1,32 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-status) +target_compile_options(abseil-cpp-absl-status PRIVATE + -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-linux-headers + 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 fe715ecf01..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/status/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.txt @@ -6,26 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-status) -target_compile_options(abseil-cpp-absl-status PRIVATE - -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.darwin.txt new file mode 100644 index 0000000000..2b7480bab5 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.darwin.txt @@ -0,0 +1,60 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-strings) +target_compile_options(abseil-cpp-absl-strings PRIVATE + -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/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/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/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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..a110e646b9 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.linux-aarch64.txt @@ -0,0 +1,61 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-strings) +target_compile_options(abseil-cpp-absl-strings PRIVATE + -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-linux-headers + 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/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/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/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.linux.txt b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.linux.txt new file mode 100644 index 0000000000..a110e646b9 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.linux.txt @@ -0,0 +1,61 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-strings) +target_compile_options(abseil-cpp-absl-strings PRIVATE + -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-linux-headers + 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/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/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/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 2b7480bab5..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.txt @@ -6,55 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-strings) -target_compile_options(abseil-cpp-absl-strings PRIVATE - -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/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/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/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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.darwin.txt new file mode 100644 index 0000000000..61e7c91d84 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.darwin.txt @@ -0,0 +1,34 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-synchronization) +target_compile_options(abseil-cpp-absl-synchronization PRIVATE + -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/graphcycles.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/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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..773200acf5 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.linux-aarch64.txt @@ -0,0 +1,35 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-synchronization) +target_compile_options(abseil-cpp-absl-synchronization PRIVATE + -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-linux-headers + 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/graphcycles.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/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.linux.txt b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.linux.txt new file mode 100644 index 0000000000..773200acf5 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.linux.txt @@ -0,0 +1,35 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-synchronization) +target_compile_options(abseil-cpp-absl-synchronization PRIVATE + -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-linux-headers + 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/graphcycles.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/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 61e7c91d84..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.txt @@ -6,29 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-synchronization) -target_compile_options(abseil-cpp-absl-synchronization PRIVATE - -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/graphcycles.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/waiter.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/mutex.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/notification.cc -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/time/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.darwin.txt new file mode 100644 index 0000000000..f5dd6ed063 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.darwin.txt @@ -0,0 +1,39 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-time) +target_compile_options(abseil-cpp-absl-time PRIVATE + -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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..778fd996f1 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.linux-aarch64.txt @@ -0,0 +1,40 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-time) +target_compile_options(abseil-cpp-absl-time PRIVATE + -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-linux-headers + 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.linux.txt b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.linux.txt new file mode 100644 index 0000000000..778fd996f1 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.linux.txt @@ -0,0 +1,40 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-time) +target_compile_options(abseil-cpp-absl-time PRIVATE + -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-linux-headers + 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 f5dd6ed063..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/time/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.txt @@ -6,34 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-time) -target_compile_options(abseil-cpp-absl-time PRIVATE - -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/types/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.darwin.txt new file mode 100644 index 0000000000..5eec20f310 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.darwin.txt @@ -0,0 +1,26 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-types) +target_compile_options(abseil-cpp-absl-types PRIVATE + -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.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..902eaa6100 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.linux-aarch64.txt @@ -0,0 +1,27 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-types) +target_compile_options(abseil-cpp-absl-types PRIVATE + -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-linux-headers + 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.linux.txt b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.linux.txt new file mode 100644 index 0000000000..902eaa6100 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.linux.txt @@ -0,0 +1,27 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-types) +target_compile_options(abseil-cpp-absl-types PRIVATE + -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-linux-headers + 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 5eec20f310..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/types/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.txt @@ -6,21 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-types) -target_compile_options(abseil-cpp-absl-types PRIVATE - -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 -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.darwin.txt b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.darwin.txt new file mode 100644 index 0000000000..e16533d219 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.darwin.txt @@ -0,0 +1,10 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-utility INTERFACE) diff --git a/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.linux-aarch64.txt b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..dbf672bac6 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.linux-aarch64.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-utility INTERFACE) +target_link_libraries(abseil-cpp-absl-utility INTERFACE + contrib-libs-linux-headers +) diff --git a/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.linux.txt new file mode 100644 index 0000000000..dbf672bac6 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.linux.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-utility INTERFACE) +target_link_libraries(abseil-cpp-absl-utility INTERFACE + contrib-libs-linux-headers +) diff --git a/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt index e16533d219..3e0811fb22 100644 --- a/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt @@ -6,5 +6,10 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-utility INTERFACE) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() |