aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/containers
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
commit0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch)
tree4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/containers
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/containers')
-rw-r--r--library/cpp/containers/2d_array/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/2d_array/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/2d_array/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/2d_array/CMakeLists.txt16
-rw-r--r--library/cpp/containers/absl_flat_hash/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/containers/absl_flat_hash/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/containers/absl_flat_hash/CMakeLists.linux.txt23
-rw-r--r--library/cpp/containers/absl_flat_hash/CMakeLists.txt21
-rw-r--r--library/cpp/containers/atomizer/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/containers/atomizer/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/containers/atomizer/CMakeLists.linux.txt19
-rw-r--r--library/cpp/containers/atomizer/CMakeLists.txt17
-rw-r--r--library/cpp/containers/bitseq/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/containers/bitseq/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/containers/bitseq/CMakeLists.linux.txt21
-rw-r--r--library/cpp/containers/bitseq/CMakeLists.txt19
-rw-r--r--library/cpp/containers/compact_vector/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/compact_vector/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/compact_vector/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/compact_vector/CMakeLists.txt16
-rw-r--r--library/cpp/containers/comptrie/CMakeLists.darwin.txt31
-rw-r--r--library/cpp/containers/comptrie/CMakeLists.linux-aarch64.txt32
-rw-r--r--library/cpp/containers/comptrie/CMakeLists.linux.txt32
-rw-r--r--library/cpp/containers/comptrie/CMakeLists.txt30
-rw-r--r--library/cpp/containers/disjoint_interval_tree/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/disjoint_interval_tree/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/disjoint_interval_tree/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/disjoint_interval_tree/CMakeLists.txt16
-rw-r--r--library/cpp/containers/flat_hash/CMakeLists.darwin.txt30
-rw-r--r--library/cpp/containers/flat_hash/CMakeLists.linux-aarch64.txt31
-rw-r--r--library/cpp/containers/flat_hash/CMakeLists.linux.txt31
-rw-r--r--library/cpp/containers/flat_hash/CMakeLists.txt29
-rw-r--r--library/cpp/containers/intrusive_avl_tree/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/intrusive_avl_tree/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/intrusive_avl_tree/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/intrusive_avl_tree/CMakeLists.txt16
-rw-r--r--library/cpp/containers/intrusive_rb_tree/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/intrusive_rb_tree/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/intrusive_rb_tree/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/intrusive_rb_tree/CMakeLists.txt16
-rw-r--r--library/cpp/containers/paged_vector/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/paged_vector/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/paged_vector/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/paged_vector/CMakeLists.txt16
-rw-r--r--library/cpp/containers/ring_buffer/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/ring_buffer/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/ring_buffer/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/ring_buffer/CMakeLists.txt16
-rw-r--r--library/cpp/containers/sorted_vector/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/sorted_vector/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/sorted_vector/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/sorted_vector/CMakeLists.txt16
-rw-r--r--library/cpp/containers/stack_array/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/containers/stack_array/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/containers/stack_array/CMakeLists.linux.txt19
-rw-r--r--library/cpp/containers/stack_array/CMakeLists.txt17
-rw-r--r--library/cpp/containers/stack_vector/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/stack_vector/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/stack_vector/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/stack_vector/CMakeLists.txt16
-rw-r--r--library/cpp/containers/str_map/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/str_map/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/str_map/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/str_map/CMakeLists.txt16
-rw-r--r--library/cpp/containers/top_keeper/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/top_keeper/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/top_keeper/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/top_keeper/CMakeLists.txt16
68 files changed, 1131 insertions, 190 deletions
diff --git a/library/cpp/containers/2d_array/CMakeLists.darwin.txt b/library/cpp/containers/2d_array/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..cd7339a2fb9
--- /dev/null
+++ b/library/cpp/containers/2d_array/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-2d_array)
+target_link_libraries(cpp-containers-2d_array PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-2d_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/2d_array/2d_array.cpp
+)
diff --git a/library/cpp/containers/2d_array/CMakeLists.linux-aarch64.txt b/library/cpp/containers/2d_array/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..ed411391b78
--- /dev/null
+++ b/library/cpp/containers/2d_array/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-2d_array)
+target_link_libraries(cpp-containers-2d_array PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-2d_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/2d_array/2d_array.cpp
+)
diff --git a/library/cpp/containers/2d_array/CMakeLists.linux.txt b/library/cpp/containers/2d_array/CMakeLists.linux.txt
new file mode 100644
index 00000000000..ed411391b78
--- /dev/null
+++ b/library/cpp/containers/2d_array/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-2d_array)
+target_link_libraries(cpp-containers-2d_array PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-2d_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/2d_array/2d_array.cpp
+)
diff --git a/library/cpp/containers/2d_array/CMakeLists.txt b/library/cpp/containers/2d_array/CMakeLists.txt
index cd7339a2fb9..3e0811fb22e 100644
--- a/library/cpp/containers/2d_array/CMakeLists.txt
+++ b/library/cpp/containers/2d_array/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-2d_array)
-target_link_libraries(cpp-containers-2d_array PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-2d_array PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/2d_array/2d_array.cpp
-)
+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/library/cpp/containers/absl_flat_hash/CMakeLists.darwin.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..aeed1a3f3d3
--- /dev/null
+++ b/library/cpp/containers/absl_flat_hash/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(cpp-containers-absl_flat_hash)
+target_include_directories(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_link_libraries(cpp-containers-absl_flat_hash PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ abseil-cpp-absl-container
+)
+target_sources(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_set.cpp
+)
diff --git a/library/cpp/containers/absl_flat_hash/CMakeLists.linux-aarch64.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..fe55f4aef79
--- /dev/null
+++ b/library/cpp/containers/absl_flat_hash/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(cpp-containers-absl_flat_hash)
+target_include_directories(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_link_libraries(cpp-containers-absl_flat_hash PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ abseil-cpp-absl-container
+)
+target_sources(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_set.cpp
+)
diff --git a/library/cpp/containers/absl_flat_hash/CMakeLists.linux.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.linux.txt
new file mode 100644
index 00000000000..fe55f4aef79
--- /dev/null
+++ b/library/cpp/containers/absl_flat_hash/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(cpp-containers-absl_flat_hash)
+target_include_directories(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_link_libraries(cpp-containers-absl_flat_hash PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ abseil-cpp-absl-container
+)
+target_sources(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_set.cpp
+)
diff --git a/library/cpp/containers/absl_flat_hash/CMakeLists.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.txt
index aeed1a3f3d3..3e0811fb22e 100644
--- a/library/cpp/containers/absl_flat_hash/CMakeLists.txt
+++ b/library/cpp/containers/absl_flat_hash/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-absl_flat_hash)
-target_include_directories(cpp-containers-absl_flat_hash PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
-)
-target_link_libraries(cpp-containers-absl_flat_hash PUBLIC
- contrib-libs-cxxsupp
- yutil
- abseil-cpp-absl-container
-)
-target_sources(cpp-containers-absl_flat_hash PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_map.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_set.cpp
-)
+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/library/cpp/containers/atomizer/CMakeLists.darwin.txt b/library/cpp/containers/atomizer/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..296d4292ad8
--- /dev/null
+++ b/library/cpp/containers/atomizer/CMakeLists.darwin.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-atomizer)
+target_link_libraries(cpp-containers-atomizer PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-str_map
+)
+target_sources(cpp-containers-atomizer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/atomizer/atomizer.cpp
+)
diff --git a/library/cpp/containers/atomizer/CMakeLists.linux-aarch64.txt b/library/cpp/containers/atomizer/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..dabe6444166
--- /dev/null
+++ b/library/cpp/containers/atomizer/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,19 @@
+
+# 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(cpp-containers-atomizer)
+target_link_libraries(cpp-containers-atomizer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-str_map
+)
+target_sources(cpp-containers-atomizer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/atomizer/atomizer.cpp
+)
diff --git a/library/cpp/containers/atomizer/CMakeLists.linux.txt b/library/cpp/containers/atomizer/CMakeLists.linux.txt
new file mode 100644
index 00000000000..dabe6444166
--- /dev/null
+++ b/library/cpp/containers/atomizer/CMakeLists.linux.txt
@@ -0,0 +1,19 @@
+
+# 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(cpp-containers-atomizer)
+target_link_libraries(cpp-containers-atomizer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-str_map
+)
+target_sources(cpp-containers-atomizer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/atomizer/atomizer.cpp
+)
diff --git a/library/cpp/containers/atomizer/CMakeLists.txt b/library/cpp/containers/atomizer/CMakeLists.txt
index 296d4292ad8..3e0811fb22e 100644
--- a/library/cpp/containers/atomizer/CMakeLists.txt
+++ b/library/cpp/containers/atomizer/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-atomizer)
-target_link_libraries(cpp-containers-atomizer PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-containers-str_map
-)
-target_sources(cpp-containers-atomizer PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/atomizer/atomizer.cpp
-)
+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/library/cpp/containers/bitseq/CMakeLists.darwin.txt b/library/cpp/containers/bitseq/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..1d730a2627a
--- /dev/null
+++ b/library/cpp/containers/bitseq/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(cpp-containers-bitseq)
+target_link_libraries(cpp-containers-bitseq PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ util-draft
+ library-cpp-pop_count
+)
+target_sources(cpp-containers-bitseq PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/bitvector.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/readonly_bitvector.cpp
+)
diff --git a/library/cpp/containers/bitseq/CMakeLists.linux-aarch64.txt b/library/cpp/containers/bitseq/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..8b9cc5e039a
--- /dev/null
+++ b/library/cpp/containers/bitseq/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(cpp-containers-bitseq)
+target_link_libraries(cpp-containers-bitseq PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ util-draft
+ library-cpp-pop_count
+)
+target_sources(cpp-containers-bitseq PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/bitvector.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/readonly_bitvector.cpp
+)
diff --git a/library/cpp/containers/bitseq/CMakeLists.linux.txt b/library/cpp/containers/bitseq/CMakeLists.linux.txt
new file mode 100644
index 00000000000..8b9cc5e039a
--- /dev/null
+++ b/library/cpp/containers/bitseq/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(cpp-containers-bitseq)
+target_link_libraries(cpp-containers-bitseq PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ util-draft
+ library-cpp-pop_count
+)
+target_sources(cpp-containers-bitseq PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/bitvector.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/readonly_bitvector.cpp
+)
diff --git a/library/cpp/containers/bitseq/CMakeLists.txt b/library/cpp/containers/bitseq/CMakeLists.txt
index 1d730a2627a..3e0811fb22e 100644
--- a/library/cpp/containers/bitseq/CMakeLists.txt
+++ b/library/cpp/containers/bitseq/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-bitseq)
-target_link_libraries(cpp-containers-bitseq PUBLIC
- contrib-libs-cxxsupp
- yutil
- util-draft
- library-cpp-pop_count
-)
-target_sources(cpp-containers-bitseq PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/bitvector.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/readonly_bitvector.cpp
-)
+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/library/cpp/containers/compact_vector/CMakeLists.darwin.txt b/library/cpp/containers/compact_vector/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..f5e51e3fb6c
--- /dev/null
+++ b/library/cpp/containers/compact_vector/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-compact_vector)
+target_link_libraries(cpp-containers-compact_vector PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-compact_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/compact_vector/compact_vector.cpp
+)
diff --git a/library/cpp/containers/compact_vector/CMakeLists.linux-aarch64.txt b/library/cpp/containers/compact_vector/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..705b18ee378
--- /dev/null
+++ b/library/cpp/containers/compact_vector/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-compact_vector)
+target_link_libraries(cpp-containers-compact_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-compact_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/compact_vector/compact_vector.cpp
+)
diff --git a/library/cpp/containers/compact_vector/CMakeLists.linux.txt b/library/cpp/containers/compact_vector/CMakeLists.linux.txt
new file mode 100644
index 00000000000..705b18ee378
--- /dev/null
+++ b/library/cpp/containers/compact_vector/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-compact_vector)
+target_link_libraries(cpp-containers-compact_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-compact_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/compact_vector/compact_vector.cpp
+)
diff --git a/library/cpp/containers/compact_vector/CMakeLists.txt b/library/cpp/containers/compact_vector/CMakeLists.txt
index f5e51e3fb6c..3e0811fb22e 100644
--- a/library/cpp/containers/compact_vector/CMakeLists.txt
+++ b/library/cpp/containers/compact_vector/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-compact_vector)
-target_link_libraries(cpp-containers-compact_vector PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-compact_vector PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/compact_vector/compact_vector.cpp
-)
+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/library/cpp/containers/comptrie/CMakeLists.darwin.txt b/library/cpp/containers/comptrie/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..b1a1259c3a7
--- /dev/null
+++ b/library/cpp/containers/comptrie/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(cpp-containers-comptrie)
+target_link_libraries(cpp-containers-comptrie PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-packers
+ cpp-containers-compact_vector
+ cpp-on_disk-chunks
+ util-draft
+)
+target_sources(cpp-containers-comptrie PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/make_fast_layout.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/minimize.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/node.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/opaque_trie_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/prefix_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/search_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/write_trie_backwards.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/writeable_node.cpp
+)
diff --git a/library/cpp/containers/comptrie/CMakeLists.linux-aarch64.txt b/library/cpp/containers/comptrie/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..cb761f4ab04
--- /dev/null
+++ b/library/cpp/containers/comptrie/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(cpp-containers-comptrie)
+target_link_libraries(cpp-containers-comptrie PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-packers
+ cpp-containers-compact_vector
+ cpp-on_disk-chunks
+ util-draft
+)
+target_sources(cpp-containers-comptrie PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/make_fast_layout.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/minimize.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/node.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/opaque_trie_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/prefix_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/search_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/write_trie_backwards.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/writeable_node.cpp
+)
diff --git a/library/cpp/containers/comptrie/CMakeLists.linux.txt b/library/cpp/containers/comptrie/CMakeLists.linux.txt
new file mode 100644
index 00000000000..cb761f4ab04
--- /dev/null
+++ b/library/cpp/containers/comptrie/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(cpp-containers-comptrie)
+target_link_libraries(cpp-containers-comptrie PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-packers
+ cpp-containers-compact_vector
+ cpp-on_disk-chunks
+ util-draft
+)
+target_sources(cpp-containers-comptrie PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/make_fast_layout.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/minimize.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/node.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/opaque_trie_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/prefix_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/search_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/write_trie_backwards.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/writeable_node.cpp
+)
diff --git a/library/cpp/containers/comptrie/CMakeLists.txt b/library/cpp/containers/comptrie/CMakeLists.txt
index b1a1259c3a7..3e0811fb22e 100644
--- a/library/cpp/containers/comptrie/CMakeLists.txt
+++ b/library/cpp/containers/comptrie/CMakeLists.txt
@@ -6,26 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-comptrie)
-target_link_libraries(cpp-containers-comptrie PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-packers
- cpp-containers-compact_vector
- cpp-on_disk-chunks
- util-draft
-)
-target_sources(cpp-containers-comptrie PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_builder.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_impl.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/make_fast_layout.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/minimize.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/node.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/opaque_trie_iterator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/prefix_iterator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/search_iterator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/write_trie_backwards.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/writeable_node.cpp
-)
+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/library/cpp/containers/disjoint_interval_tree/CMakeLists.darwin.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..88d6b886b3e
--- /dev/null
+++ b/library/cpp/containers/disjoint_interval_tree/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-disjoint_interval_tree)
+target_link_libraries(cpp-containers-disjoint_interval_tree PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-disjoint_interval_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/disjoint_interval_tree/disjoint_interval_tree.cpp
+)
diff --git a/library/cpp/containers/disjoint_interval_tree/CMakeLists.linux-aarch64.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..5a00fb808fa
--- /dev/null
+++ b/library/cpp/containers/disjoint_interval_tree/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-disjoint_interval_tree)
+target_link_libraries(cpp-containers-disjoint_interval_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-disjoint_interval_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/disjoint_interval_tree/disjoint_interval_tree.cpp
+)
diff --git a/library/cpp/containers/disjoint_interval_tree/CMakeLists.linux.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.linux.txt
new file mode 100644
index 00000000000..5a00fb808fa
--- /dev/null
+++ b/library/cpp/containers/disjoint_interval_tree/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-disjoint_interval_tree)
+target_link_libraries(cpp-containers-disjoint_interval_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-disjoint_interval_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/disjoint_interval_tree/disjoint_interval_tree.cpp
+)
diff --git a/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt
index 88d6b886b3e..3e0811fb22e 100644
--- a/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt
+++ b/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-disjoint_interval_tree)
-target_link_libraries(cpp-containers-disjoint_interval_tree PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-disjoint_interval_tree PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/disjoint_interval_tree/disjoint_interval_tree.cpp
-)
+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/library/cpp/containers/flat_hash/CMakeLists.darwin.txt b/library/cpp/containers/flat_hash/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..11e1864b0a7
--- /dev/null
+++ b/library/cpp/containers/flat_hash/CMakeLists.darwin.txt
@@ -0,0 +1,30 @@
+
+# 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(cpp-containers-flat_hash)
+target_link_libraries(cpp-containers-flat_hash PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/flat_hash.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/container.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/size_fitter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/value_marker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/containers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/expanders.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/probings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/size_fitters.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/table.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/value_markers.cpp
+)
diff --git a/library/cpp/containers/flat_hash/CMakeLists.linux-aarch64.txt b/library/cpp/containers/flat_hash/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..89b72651436
--- /dev/null
+++ b/library/cpp/containers/flat_hash/CMakeLists.linux-aarch64.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(cpp-containers-flat_hash)
+target_link_libraries(cpp-containers-flat_hash PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/flat_hash.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/container.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/size_fitter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/value_marker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/containers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/expanders.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/probings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/size_fitters.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/table.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/value_markers.cpp
+)
diff --git a/library/cpp/containers/flat_hash/CMakeLists.linux.txt b/library/cpp/containers/flat_hash/CMakeLists.linux.txt
new file mode 100644
index 00000000000..89b72651436
--- /dev/null
+++ b/library/cpp/containers/flat_hash/CMakeLists.linux.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(cpp-containers-flat_hash)
+target_link_libraries(cpp-containers-flat_hash PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/flat_hash.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/container.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/size_fitter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/value_marker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/containers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/expanders.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/probings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/size_fitters.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/table.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/value_markers.cpp
+)
diff --git a/library/cpp/containers/flat_hash/CMakeLists.txt b/library/cpp/containers/flat_hash/CMakeLists.txt
index 11e1864b0a7..3e0811fb22e 100644
--- a/library/cpp/containers/flat_hash/CMakeLists.txt
+++ b/library/cpp/containers/flat_hash/CMakeLists.txt
@@ -6,25 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-flat_hash)
-target_link_libraries(cpp-containers-flat_hash PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-flat_hash PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/flat_hash.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/container.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/iterator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/size_fitter.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/value_marker.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/containers.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/expanders.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/iterator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/map.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/probings.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/set.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/size_fitters.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/table.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/value_markers.cpp
-)
+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/library/cpp/containers/intrusive_avl_tree/CMakeLists.darwin.txt b/library/cpp/containers/intrusive_avl_tree/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..58f8367088f
--- /dev/null
+++ b/library/cpp/containers/intrusive_avl_tree/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-intrusive_avl_tree)
+target_link_libraries(cpp-containers-intrusive_avl_tree PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_avl_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_avl_tree/avltree.cpp
+)
diff --git a/library/cpp/containers/intrusive_avl_tree/CMakeLists.linux-aarch64.txt b/library/cpp/containers/intrusive_avl_tree/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..8ac656ad603
--- /dev/null
+++ b/library/cpp/containers/intrusive_avl_tree/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-intrusive_avl_tree)
+target_link_libraries(cpp-containers-intrusive_avl_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_avl_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_avl_tree/avltree.cpp
+)
diff --git a/library/cpp/containers/intrusive_avl_tree/CMakeLists.linux.txt b/library/cpp/containers/intrusive_avl_tree/CMakeLists.linux.txt
new file mode 100644
index 00000000000..8ac656ad603
--- /dev/null
+++ b/library/cpp/containers/intrusive_avl_tree/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-intrusive_avl_tree)
+target_link_libraries(cpp-containers-intrusive_avl_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_avl_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_avl_tree/avltree.cpp
+)
diff --git a/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt b/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt
index 58f8367088f..3e0811fb22e 100644
--- a/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt
+++ b/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-intrusive_avl_tree)
-target_link_libraries(cpp-containers-intrusive_avl_tree PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-intrusive_avl_tree PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_avl_tree/avltree.cpp
-)
+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/library/cpp/containers/intrusive_rb_tree/CMakeLists.darwin.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..0c626f6cba9
--- /dev/null
+++ b/library/cpp/containers/intrusive_rb_tree/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-intrusive_rb_tree)
+target_link_libraries(cpp-containers-intrusive_rb_tree PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_rb_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_rb_tree/rb_tree.cpp
+)
diff --git a/library/cpp/containers/intrusive_rb_tree/CMakeLists.linux-aarch64.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..8a46ac4ef01
--- /dev/null
+++ b/library/cpp/containers/intrusive_rb_tree/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-intrusive_rb_tree)
+target_link_libraries(cpp-containers-intrusive_rb_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_rb_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_rb_tree/rb_tree.cpp
+)
diff --git a/library/cpp/containers/intrusive_rb_tree/CMakeLists.linux.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.linux.txt
new file mode 100644
index 00000000000..8a46ac4ef01
--- /dev/null
+++ b/library/cpp/containers/intrusive_rb_tree/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-intrusive_rb_tree)
+target_link_libraries(cpp-containers-intrusive_rb_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_rb_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_rb_tree/rb_tree.cpp
+)
diff --git a/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt
index 0c626f6cba9..3e0811fb22e 100644
--- a/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt
+++ b/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-intrusive_rb_tree)
-target_link_libraries(cpp-containers-intrusive_rb_tree PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-intrusive_rb_tree PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_rb_tree/rb_tree.cpp
-)
+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/library/cpp/containers/paged_vector/CMakeLists.darwin.txt b/library/cpp/containers/paged_vector/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..8a88a594828
--- /dev/null
+++ b/library/cpp/containers/paged_vector/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-paged_vector)
+target_link_libraries(cpp-containers-paged_vector PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-paged_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/paged_vector/paged_vector.cpp
+)
diff --git a/library/cpp/containers/paged_vector/CMakeLists.linux-aarch64.txt b/library/cpp/containers/paged_vector/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..31e11d56f98
--- /dev/null
+++ b/library/cpp/containers/paged_vector/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-paged_vector)
+target_link_libraries(cpp-containers-paged_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-paged_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/paged_vector/paged_vector.cpp
+)
diff --git a/library/cpp/containers/paged_vector/CMakeLists.linux.txt b/library/cpp/containers/paged_vector/CMakeLists.linux.txt
new file mode 100644
index 00000000000..31e11d56f98
--- /dev/null
+++ b/library/cpp/containers/paged_vector/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-paged_vector)
+target_link_libraries(cpp-containers-paged_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-paged_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/paged_vector/paged_vector.cpp
+)
diff --git a/library/cpp/containers/paged_vector/CMakeLists.txt b/library/cpp/containers/paged_vector/CMakeLists.txt
index 8a88a594828..3e0811fb22e 100644
--- a/library/cpp/containers/paged_vector/CMakeLists.txt
+++ b/library/cpp/containers/paged_vector/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-paged_vector)
-target_link_libraries(cpp-containers-paged_vector PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-paged_vector PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/paged_vector/paged_vector.cpp
-)
+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/library/cpp/containers/ring_buffer/CMakeLists.darwin.txt b/library/cpp/containers/ring_buffer/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..b59b1af604e
--- /dev/null
+++ b/library/cpp/containers/ring_buffer/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-ring_buffer)
+target_link_libraries(cpp-containers-ring_buffer PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-ring_buffer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/ring_buffer/ring_buffer.cpp
+)
diff --git a/library/cpp/containers/ring_buffer/CMakeLists.linux-aarch64.txt b/library/cpp/containers/ring_buffer/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..f0cd02503cd
--- /dev/null
+++ b/library/cpp/containers/ring_buffer/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-ring_buffer)
+target_link_libraries(cpp-containers-ring_buffer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-ring_buffer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/ring_buffer/ring_buffer.cpp
+)
diff --git a/library/cpp/containers/ring_buffer/CMakeLists.linux.txt b/library/cpp/containers/ring_buffer/CMakeLists.linux.txt
new file mode 100644
index 00000000000..f0cd02503cd
--- /dev/null
+++ b/library/cpp/containers/ring_buffer/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-ring_buffer)
+target_link_libraries(cpp-containers-ring_buffer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-ring_buffer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/ring_buffer/ring_buffer.cpp
+)
diff --git a/library/cpp/containers/ring_buffer/CMakeLists.txt b/library/cpp/containers/ring_buffer/CMakeLists.txt
index b59b1af604e..3e0811fb22e 100644
--- a/library/cpp/containers/ring_buffer/CMakeLists.txt
+++ b/library/cpp/containers/ring_buffer/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-ring_buffer)
-target_link_libraries(cpp-containers-ring_buffer PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-ring_buffer PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/ring_buffer/ring_buffer.cpp
-)
+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/library/cpp/containers/sorted_vector/CMakeLists.darwin.txt b/library/cpp/containers/sorted_vector/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..26b0a476882
--- /dev/null
+++ b/library/cpp/containers/sorted_vector/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-sorted_vector)
+target_link_libraries(cpp-containers-sorted_vector PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-sorted_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/sorted_vector/sorted_vector.cpp
+)
diff --git a/library/cpp/containers/sorted_vector/CMakeLists.linux-aarch64.txt b/library/cpp/containers/sorted_vector/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..5333cc9b7ab
--- /dev/null
+++ b/library/cpp/containers/sorted_vector/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-sorted_vector)
+target_link_libraries(cpp-containers-sorted_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-sorted_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/sorted_vector/sorted_vector.cpp
+)
diff --git a/library/cpp/containers/sorted_vector/CMakeLists.linux.txt b/library/cpp/containers/sorted_vector/CMakeLists.linux.txt
new file mode 100644
index 00000000000..5333cc9b7ab
--- /dev/null
+++ b/library/cpp/containers/sorted_vector/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-sorted_vector)
+target_link_libraries(cpp-containers-sorted_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-sorted_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/sorted_vector/sorted_vector.cpp
+)
diff --git a/library/cpp/containers/sorted_vector/CMakeLists.txt b/library/cpp/containers/sorted_vector/CMakeLists.txt
index 26b0a476882..3e0811fb22e 100644
--- a/library/cpp/containers/sorted_vector/CMakeLists.txt
+++ b/library/cpp/containers/sorted_vector/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-sorted_vector)
-target_link_libraries(cpp-containers-sorted_vector PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-sorted_vector PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/sorted_vector/sorted_vector.cpp
-)
+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/library/cpp/containers/stack_array/CMakeLists.darwin.txt b/library/cpp/containers/stack_array/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..6062e296aac
--- /dev/null
+++ b/library/cpp/containers/stack_array/CMakeLists.darwin.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-stack_array)
+target_link_libraries(cpp-containers-stack_array PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/range_ops.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/stack_array.cpp
+)
diff --git a/library/cpp/containers/stack_array/CMakeLists.linux-aarch64.txt b/library/cpp/containers/stack_array/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..2efefec797a
--- /dev/null
+++ b/library/cpp/containers/stack_array/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,19 @@
+
+# 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(cpp-containers-stack_array)
+target_link_libraries(cpp-containers-stack_array PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/range_ops.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/stack_array.cpp
+)
diff --git a/library/cpp/containers/stack_array/CMakeLists.linux.txt b/library/cpp/containers/stack_array/CMakeLists.linux.txt
new file mode 100644
index 00000000000..2efefec797a
--- /dev/null
+++ b/library/cpp/containers/stack_array/CMakeLists.linux.txt
@@ -0,0 +1,19 @@
+
+# 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(cpp-containers-stack_array)
+target_link_libraries(cpp-containers-stack_array PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/range_ops.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/stack_array.cpp
+)
diff --git a/library/cpp/containers/stack_array/CMakeLists.txt b/library/cpp/containers/stack_array/CMakeLists.txt
index 6062e296aac..3e0811fb22e 100644
--- a/library/cpp/containers/stack_array/CMakeLists.txt
+++ b/library/cpp/containers/stack_array/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-stack_array)
-target_link_libraries(cpp-containers-stack_array PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-stack_array PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/range_ops.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/stack_array.cpp
-)
+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/library/cpp/containers/stack_vector/CMakeLists.darwin.txt b/library/cpp/containers/stack_vector/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..89a2a0aca84
--- /dev/null
+++ b/library/cpp/containers/stack_vector/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-stack_vector)
+target_link_libraries(cpp-containers-stack_vector PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_vector/stack_vec.cpp
+)
diff --git a/library/cpp/containers/stack_vector/CMakeLists.linux-aarch64.txt b/library/cpp/containers/stack_vector/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..370a7e0d441
--- /dev/null
+++ b/library/cpp/containers/stack_vector/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-stack_vector)
+target_link_libraries(cpp-containers-stack_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_vector/stack_vec.cpp
+)
diff --git a/library/cpp/containers/stack_vector/CMakeLists.linux.txt b/library/cpp/containers/stack_vector/CMakeLists.linux.txt
new file mode 100644
index 00000000000..370a7e0d441
--- /dev/null
+++ b/library/cpp/containers/stack_vector/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-stack_vector)
+target_link_libraries(cpp-containers-stack_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_vector/stack_vec.cpp
+)
diff --git a/library/cpp/containers/stack_vector/CMakeLists.txt b/library/cpp/containers/stack_vector/CMakeLists.txt
index 89a2a0aca84..3e0811fb22e 100644
--- a/library/cpp/containers/stack_vector/CMakeLists.txt
+++ b/library/cpp/containers/stack_vector/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-stack_vector)
-target_link_libraries(cpp-containers-stack_vector PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-stack_vector PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_vector/stack_vec.cpp
-)
+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/library/cpp/containers/str_map/CMakeLists.darwin.txt b/library/cpp/containers/str_map/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..24888fd3a4d
--- /dev/null
+++ b/library/cpp/containers/str_map/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-str_map)
+target_link_libraries(cpp-containers-str_map PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-str_map PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/str_map/str_map.cpp
+)
diff --git a/library/cpp/containers/str_map/CMakeLists.linux-aarch64.txt b/library/cpp/containers/str_map/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..2669acee3d5
--- /dev/null
+++ b/library/cpp/containers/str_map/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-str_map)
+target_link_libraries(cpp-containers-str_map PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-str_map PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/str_map/str_map.cpp
+)
diff --git a/library/cpp/containers/str_map/CMakeLists.linux.txt b/library/cpp/containers/str_map/CMakeLists.linux.txt
new file mode 100644
index 00000000000..2669acee3d5
--- /dev/null
+++ b/library/cpp/containers/str_map/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-str_map)
+target_link_libraries(cpp-containers-str_map PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-str_map PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/str_map/str_map.cpp
+)
diff --git a/library/cpp/containers/str_map/CMakeLists.txt b/library/cpp/containers/str_map/CMakeLists.txt
index 24888fd3a4d..3e0811fb22e 100644
--- a/library/cpp/containers/str_map/CMakeLists.txt
+++ b/library/cpp/containers/str_map/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-str_map)
-target_link_libraries(cpp-containers-str_map PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-str_map PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/str_map/str_map.cpp
-)
+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/library/cpp/containers/top_keeper/CMakeLists.darwin.txt b/library/cpp/containers/top_keeper/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..a3f6fac5003
--- /dev/null
+++ b/library/cpp/containers/top_keeper/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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(cpp-containers-top_keeper)
+target_link_libraries(cpp-containers-top_keeper PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-top_keeper PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/top_keeper/top_keeper.cpp
+)
diff --git a/library/cpp/containers/top_keeper/CMakeLists.linux-aarch64.txt b/library/cpp/containers/top_keeper/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..a150f56fdd8
--- /dev/null
+++ b/library/cpp/containers/top_keeper/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-top_keeper)
+target_link_libraries(cpp-containers-top_keeper PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-top_keeper PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/top_keeper/top_keeper.cpp
+)
diff --git a/library/cpp/containers/top_keeper/CMakeLists.linux.txt b/library/cpp/containers/top_keeper/CMakeLists.linux.txt
new file mode 100644
index 00000000000..a150f56fdd8
--- /dev/null
+++ b/library/cpp/containers/top_keeper/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(cpp-containers-top_keeper)
+target_link_libraries(cpp-containers-top_keeper PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-top_keeper PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/top_keeper/top_keeper.cpp
+)
diff --git a/library/cpp/containers/top_keeper/CMakeLists.txt b/library/cpp/containers/top_keeper/CMakeLists.txt
index a3f6fac5003..3e0811fb22e 100644
--- a/library/cpp/containers/top_keeper/CMakeLists.txt
+++ b/library/cpp/containers/top_keeper/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-top_keeper)
-target_link_libraries(cpp-containers-top_keeper PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-top_keeper PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/top_keeper/top_keeper.cpp
-)
+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()