aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorrobot-ya-builder <robot-ya-builder@yandex-team.com>2022-09-01 05:47:31 +0300
committerrobot-ya-builder <robot-ya-builder@yandex-team.com>2022-09-01 05:47:31 +0300
commite83b936566d59e48df0aa4c414beaf0c4519c772 (patch)
tree43d715760743f81e2060d6ee6f4d4c9d8693751e /contrib
parentfc8096bf8173562afc5da58dbbb019af2ce1ee2f (diff)
downloadydb-e83b936566d59e48df0aa4c414beaf0c4519c772.tar.gz
Update external build system generation utility
* [cmake] Hierarchical add_subdirectroy structure * [cmake] Support for same file compilation multiple times with different flags
Diffstat (limited to 'contrib')
-rw-r--r--contrib/CMakeLists.txt11
-rw-r--r--contrib/libs/CMakeLists.txt59
-rw-r--r--contrib/libs/apache/CMakeLists.txt11
-rw-r--r--contrib/libs/aws-sdk-cpp/CMakeLists.txt10
-rw-r--r--contrib/libs/base64/CMakeLists.txt14
-rw-r--r--contrib/libs/brotli/CMakeLists.txt11
-rw-r--r--contrib/libs/cctz/CMakeLists.darwin.txt1
-rw-r--r--contrib/libs/cctz/CMakeLists.linux.txt1
-rw-r--r--contrib/libs/crcutil/CMakeLists.txt10
-rw-r--r--contrib/libs/cxxsupp/CMakeLists.txt4
-rw-r--r--contrib/libs/farmhash/CMakeLists.txt1
-rw-r--r--contrib/libs/farmhash/arch/CMakeLists.txt11
-rw-r--r--contrib/libs/grpc/CMakeLists.txt4
-rw-r--r--contrib/libs/grpc/src/CMakeLists.txt10
-rw-r--r--contrib/libs/grpc/src/compiler/CMakeLists.txt9
-rw-r--r--contrib/libs/grpc/src/core/CMakeLists.txt9
-rw-r--r--contrib/libs/grpc/third_party/CMakeLists.txt10
-rw-r--r--contrib/libs/highwayhash/CMakeLists.txt1
-rw-r--r--contrib/libs/highwayhash/arch/CMakeLists.txt10
-rw-r--r--contrib/libs/hyperscan/CMakeLists.txt4
-rw-r--r--contrib/libs/libevent/CMakeLists.txt4
-rw-r--r--contrib/libs/linuxvdso/CMakeLists.linux.txt1
-rw-r--r--contrib/libs/llvm12/CMakeLists.txt3
-rw-r--r--contrib/libs/llvm12/lib/Bitcode/CMakeLists.txt10
-rw-r--r--contrib/libs/llvm12/lib/Bitstream/CMakeLists.txt9
-rw-r--r--contrib/libs/llvm12/lib/CMakeLists.txt30
-rw-r--r--contrib/libs/llvm12/lib/CodeGen/CMakeLists.txt3
-rw-r--r--contrib/libs/llvm12/lib/DebugInfo/CMakeLists.txt13
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.darwin.txt36
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux.txt37
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.txt31
-rw-r--r--contrib/libs/llvm12/lib/Frontend/CMakeLists.txt9
-rw-r--r--contrib/libs/llvm12/lib/MC/CMakeLists.txt2
-rw-r--r--contrib/libs/llvm12/lib/Target/CMakeLists.txt1
-rw-r--r--contrib/libs/llvm12/lib/Target/X86/CMakeLists.txt4
-rw-r--r--contrib/libs/llvm12/lib/TextAPI/CMakeLists.txt9
-rw-r--r--contrib/libs/llvm12/lib/Transforms/CMakeLists.txt17
-rw-r--r--contrib/libs/llvm12/utils/CMakeLists.txt9
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt1
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt1
-rw-r--r--contrib/libs/pcre/CMakeLists.txt2
-rw-r--r--contrib/libs/poco/CMakeLists.txt15
-rw-r--r--contrib/libs/tcmalloc/CMakeLists.darwin.txt9
-rw-r--r--contrib/libs/tcmalloc/CMakeLists.linux.txt2
-rw-r--r--contrib/libs/tcmalloc/CMakeLists.txt4
-rw-r--r--contrib/restricted/CMakeLists.txt19
-rw-r--r--contrib/restricted/abseil-cpp-tstring/CMakeLists.txt9
-rw-r--r--contrib/restricted/abseil-cpp-tstring/y_absl/CMakeLists.txt26
-rw-r--r--contrib/restricted/abseil-cpp/CMakeLists.txt1
-rw-r--r--contrib/restricted/abseil-cpp/absl/CMakeLists.txt28
-rw-r--r--contrib/restricted/aws/CMakeLists.txt14
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt10
-rw-r--r--contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt10
-rw-r--r--contrib/restricted/aws/s2n/CMakeLists.darwin.txt80
-rw-r--r--contrib/restricted/aws/s2n/CMakeLists.linux.txt80
-rw-r--r--contrib/restricted/boost/CMakeLists.txt80
-rw-r--r--contrib/restricted/boost/libs/CMakeLists.txt9
-rw-r--r--contrib/restricted/googletest/CMakeLists.txt10
-rw-r--r--contrib/tools/CMakeLists.txt9
-rw-r--r--contrib/tools/protoc/CMakeLists.txt10
-rw-r--r--contrib/tools/protoc/plugins/CMakeLists.txt10
61 files changed, 841 insertions, 27 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt
new file mode 100644
index 0000000000..180cdc8bdc
--- /dev/null
+++ b/contrib/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+# 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(libs)
+add_subdirectory(restricted)
+add_subdirectory(tools)
diff --git a/contrib/libs/CMakeLists.txt b/contrib/libs/CMakeLists.txt
new file mode 100644
index 0000000000..c491c0a5b1
--- /dev/null
+++ b/contrib/libs/CMakeLists.txt
@@ -0,0 +1,59 @@
+
+# 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(antlr3_cpp_runtime)
+add_subdirectory(apache)
+add_subdirectory(aws-sdk-cpp)
+add_subdirectory(base64)
+add_subdirectory(brotli)
+add_subdirectory(cctz)
+add_subdirectory(crcutil)
+add_subdirectory(curl)
+add_subdirectory(cxxsupp)
+add_subdirectory(double-conversion)
+add_subdirectory(expat)
+add_subdirectory(farmhash)
+add_subdirectory(fastlz)
+add_subdirectory(fmt)
+add_subdirectory(googleapis-common-protos)
+add_subdirectory(grpc)
+add_subdirectory(hdr_histogram)
+add_subdirectory(highwayhash)
+add_subdirectory(hyperscan)
+add_subdirectory(icu)
+add_subdirectory(jemalloc)
+add_subdirectory(jwt-cpp)
+add_subdirectory(libbz2)
+add_subdirectory(libc_compat)
+add_subdirectory(libevent)
+add_subdirectory(libunwind)
+add_subdirectory(libxml)
+add_subdirectory(linuxvdso)
+add_subdirectory(llvm12)
+add_subdirectory(lz4)
+add_subdirectory(lzma)
+add_subdirectory(lzmasdk)
+add_subdirectory(nayuki_md5)
+add_subdirectory(nghttp2)
+add_subdirectory(pcre)
+add_subdirectory(pdqsort)
+add_subdirectory(poco)
+add_subdirectory(protobuf)
+add_subdirectory(protoc)
+add_subdirectory(rapidjson)
+add_subdirectory(re2)
+add_subdirectory(snappy)
+add_subdirectory(sparsehash)
+add_subdirectory(t1ha)
+add_subdirectory(tbb)
+add_subdirectory(tcmalloc)
+add_subdirectory(utf8proc)
+add_subdirectory(xxhash)
+add_subdirectory(yaml-cpp)
+add_subdirectory(zstd)
+add_subdirectory(zstd06)
diff --git a/contrib/libs/apache/CMakeLists.txt b/contrib/libs/apache/CMakeLists.txt
new file mode 100644
index 0000000000..e1bf69d210
--- /dev/null
+++ b/contrib/libs/apache/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+# 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(arrow)
+add_subdirectory(avro)
+add_subdirectory(orc)
diff --git a/contrib/libs/aws-sdk-cpp/CMakeLists.txt b/contrib/libs/aws-sdk-cpp/CMakeLists.txt
new file mode 100644
index 0000000000..cbf8273ba6
--- /dev/null
+++ b/contrib/libs/aws-sdk-cpp/CMakeLists.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_subdirectory(aws-cpp-sdk-core)
+add_subdirectory(aws-cpp-sdk-s3)
diff --git a/contrib/libs/base64/CMakeLists.txt b/contrib/libs/base64/CMakeLists.txt
new file mode 100644
index 0000000000..5744b7efd3
--- /dev/null
+++ b/contrib/libs/base64/CMakeLists.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_subdirectory(avx2)
+add_subdirectory(neon32)
+add_subdirectory(neon64)
+add_subdirectory(plain32)
+add_subdirectory(plain64)
+add_subdirectory(ssse3)
diff --git a/contrib/libs/brotli/CMakeLists.txt b/contrib/libs/brotli/CMakeLists.txt
new file mode 100644
index 0000000000..69449669e8
--- /dev/null
+++ b/contrib/libs/brotli/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+# 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(common)
+add_subdirectory(dec)
+add_subdirectory(enc)
diff --git a/contrib/libs/cctz/CMakeLists.darwin.txt b/contrib/libs/cctz/CMakeLists.darwin.txt
index 0e28714675..6068d1079a 100644
--- a/contrib/libs/cctz/CMakeLists.darwin.txt
+++ b/contrib/libs/cctz/CMakeLists.darwin.txt
@@ -6,6 +6,7 @@
# original buildsystem will not be accepted.
+add_subdirectory(tzdata)
add_library(contrib-libs-cctz)
target_compile_options(contrib-libs-cctz PRIVATE
diff --git a/contrib/libs/cctz/CMakeLists.linux.txt b/contrib/libs/cctz/CMakeLists.linux.txt
index fa995d5000..01e6420897 100644
--- a/contrib/libs/cctz/CMakeLists.linux.txt
+++ b/contrib/libs/cctz/CMakeLists.linux.txt
@@ -6,6 +6,7 @@
# original buildsystem will not be accepted.
+add_subdirectory(tzdata)
add_library(contrib-libs-cctz)
target_compile_options(contrib-libs-cctz PRIVATE
diff --git a/contrib/libs/crcutil/CMakeLists.txt b/contrib/libs/crcutil/CMakeLists.txt
index 2c59342155..4d458c863d 100644
--- a/contrib/libs/crcutil/CMakeLists.txt
+++ b/contrib/libs/crcutil/CMakeLists.txt
@@ -22,3 +22,13 @@ target_sources(contrib-libs-crcutil PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/interface.cc
${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_intrinsic_i386_mmx.cc
)
+target_sources_custom(contrib-libs-crcutil
+ .sse4
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/crc32c_sse4.cc
+ CUSTOM_FLAGS
+ -msse4.1
+ -msse4.2
+ -mpopcnt
+ -mcx16
+)
diff --git a/contrib/libs/cxxsupp/CMakeLists.txt b/contrib/libs/cxxsupp/CMakeLists.txt
index aa4ccf6398..236767d79f 100644
--- a/contrib/libs/cxxsupp/CMakeLists.txt
+++ b/contrib/libs/cxxsupp/CMakeLists.txt
@@ -6,6 +6,10 @@
# original buildsystem will not be accepted.
+add_subdirectory(builtins)
+add_subdirectory(libcxx)
+add_subdirectory(libcxxabi-parts)
+add_subdirectory(libcxxrt)
add_library(contrib-libs-cxxsupp INTERFACE)
target_link_libraries(contrib-libs-cxxsupp INTERFACE
diff --git a/contrib/libs/farmhash/CMakeLists.txt b/contrib/libs/farmhash/CMakeLists.txt
index 948de22915..28ba97595e 100644
--- a/contrib/libs/farmhash/CMakeLists.txt
+++ b/contrib/libs/farmhash/CMakeLists.txt
@@ -6,6 +6,7 @@
# original buildsystem will not be accepted.
+add_subdirectory(arch)
add_library(contrib-libs-farmhash)
target_compile_options(contrib-libs-farmhash PRIVATE
diff --git a/contrib/libs/farmhash/arch/CMakeLists.txt b/contrib/libs/farmhash/arch/CMakeLists.txt
new file mode 100644
index 0000000000..8a05f09d4b
--- /dev/null
+++ b/contrib/libs/farmhash/arch/CMakeLists.txt
@@ -0,0 +1,11 @@
+
+# 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(sse41)
+add_subdirectory(sse42)
+add_subdirectory(sse42_aesni)
diff --git a/contrib/libs/grpc/CMakeLists.txt b/contrib/libs/grpc/CMakeLists.txt
index b53da127bc..4f25d8832f 100644
--- a/contrib/libs/grpc/CMakeLists.txt
+++ b/contrib/libs/grpc/CMakeLists.txt
@@ -6,6 +6,10 @@
# original buildsystem will not be accepted.
+add_subdirectory(grpc)
+add_subdirectory(grpc++)
+add_subdirectory(src)
+add_subdirectory(third_party)
add_library(contrib-libs-grpc INTERFACE)
target_link_libraries(contrib-libs-grpc INTERFACE
diff --git a/contrib/libs/grpc/src/CMakeLists.txt b/contrib/libs/grpc/src/CMakeLists.txt
new file mode 100644
index 0000000000..e78afa34c8
--- /dev/null
+++ b/contrib/libs/grpc/src/CMakeLists.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_subdirectory(compiler)
+add_subdirectory(core)
diff --git a/contrib/libs/grpc/src/compiler/CMakeLists.txt b/contrib/libs/grpc/src/compiler/CMakeLists.txt
new file mode 100644
index 0000000000..0a445ac050
--- /dev/null
+++ b/contrib/libs/grpc/src/compiler/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+# 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(grpc_plugin_support)
diff --git a/contrib/libs/grpc/src/core/CMakeLists.txt b/contrib/libs/grpc/src/core/CMakeLists.txt
new file mode 100644
index 0000000000..0396db380f
--- /dev/null
+++ b/contrib/libs/grpc/src/core/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+# 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(lib)
diff --git a/contrib/libs/grpc/third_party/CMakeLists.txt b/contrib/libs/grpc/third_party/CMakeLists.txt
new file mode 100644
index 0000000000..450719d3ba
--- /dev/null
+++ b/contrib/libs/grpc/third_party/CMakeLists.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_subdirectory(address_sorting)
+add_subdirectory(upb)
diff --git a/contrib/libs/highwayhash/CMakeLists.txt b/contrib/libs/highwayhash/CMakeLists.txt
index 52a595a707..b8b5c58b9f 100644
--- a/contrib/libs/highwayhash/CMakeLists.txt
+++ b/contrib/libs/highwayhash/CMakeLists.txt
@@ -6,6 +6,7 @@
# original buildsystem will not be accepted.
+add_subdirectory(arch)
add_library(contrib-libs-highwayhash)
target_compile_options(contrib-libs-highwayhash PRIVATE
diff --git a/contrib/libs/highwayhash/arch/CMakeLists.txt b/contrib/libs/highwayhash/arch/CMakeLists.txt
new file mode 100644
index 0000000000..fc6e7a4a0e
--- /dev/null
+++ b/contrib/libs/highwayhash/arch/CMakeLists.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_subdirectory(avx2)
+add_subdirectory(sse41)
diff --git a/contrib/libs/hyperscan/CMakeLists.txt b/contrib/libs/hyperscan/CMakeLists.txt
index 28d84c14f1..f3bb08de5c 100644
--- a/contrib/libs/hyperscan/CMakeLists.txt
+++ b/contrib/libs/hyperscan/CMakeLists.txt
@@ -6,6 +6,10 @@
# original buildsystem will not be accepted.
+add_subdirectory(runtime_avx2)
+add_subdirectory(runtime_avx512)
+add_subdirectory(runtime_core2)
+add_subdirectory(runtime_corei7)
add_library(contrib-libs-hyperscan)
target_compile_options(contrib-libs-hyperscan PRIVATE
diff --git a/contrib/libs/libevent/CMakeLists.txt b/contrib/libs/libevent/CMakeLists.txt
index 8f682d4097..1090ce426d 100644
--- a/contrib/libs/libevent/CMakeLists.txt
+++ b/contrib/libs/libevent/CMakeLists.txt
@@ -6,6 +6,10 @@
# original buildsystem will not be accepted.
+add_subdirectory(event_core)
+add_subdirectory(event_extra)
+add_subdirectory(event_openssl)
+add_subdirectory(event_thread)
add_library(contrib-libs-libevent INTERFACE)
target_include_directories(contrib-libs-libevent INTERFACE
diff --git a/contrib/libs/linuxvdso/CMakeLists.linux.txt b/contrib/libs/linuxvdso/CMakeLists.linux.txt
index 1a9a6ed70c..c9d397538d 100644
--- a/contrib/libs/linuxvdso/CMakeLists.linux.txt
+++ b/contrib/libs/linuxvdso/CMakeLists.linux.txt
@@ -6,6 +6,7 @@
# original buildsystem will not be accepted.
+add_subdirectory(original)
add_library(contrib-libs-linuxvdso)
target_link_libraries(contrib-libs-linuxvdso PUBLIC
diff --git a/contrib/libs/llvm12/CMakeLists.txt b/contrib/libs/llvm12/CMakeLists.txt
index e664110afd..ee668ea149 100644
--- a/contrib/libs/llvm12/CMakeLists.txt
+++ b/contrib/libs/llvm12/CMakeLists.txt
@@ -6,6 +6,9 @@
# original buildsystem will not be accepted.
+add_subdirectory(include)
+add_subdirectory(lib)
+add_subdirectory(utils)
add_library(contrib-libs-llvm12 INTERFACE)
target_include_directories(contrib-libs-llvm12 INTERFACE
diff --git a/contrib/libs/llvm12/lib/Bitcode/CMakeLists.txt b/contrib/libs/llvm12/lib/Bitcode/CMakeLists.txt
new file mode 100644
index 0000000000..2c4b89cdf6
--- /dev/null
+++ b/contrib/libs/llvm12/lib/Bitcode/CMakeLists.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_subdirectory(Reader)
+add_subdirectory(Writer)
diff --git a/contrib/libs/llvm12/lib/Bitstream/CMakeLists.txt b/contrib/libs/llvm12/lib/Bitstream/CMakeLists.txt
new file mode 100644
index 0000000000..cd07ec46be
--- /dev/null
+++ b/contrib/libs/llvm12/lib/Bitstream/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+# 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(Reader)
diff --git a/contrib/libs/llvm12/lib/CMakeLists.txt b/contrib/libs/llvm12/lib/CMakeLists.txt
new file mode 100644
index 0000000000..7eb0a3dec9
--- /dev/null
+++ b/contrib/libs/llvm12/lib/CMakeLists.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_subdirectory(Analysis)
+add_subdirectory(AsmParser)
+add_subdirectory(BinaryFormat)
+add_subdirectory(Bitcode)
+add_subdirectory(Bitstream)
+add_subdirectory(CodeGen)
+add_subdirectory(DebugInfo)
+add_subdirectory(Demangle)
+add_subdirectory(ExecutionEngine)
+add_subdirectory(Frontend)
+add_subdirectory(IR)
+add_subdirectory(IRReader)
+add_subdirectory(Linker)
+add_subdirectory(MC)
+add_subdirectory(Object)
+add_subdirectory(ProfileData)
+add_subdirectory(Remarks)
+add_subdirectory(Support)
+add_subdirectory(TableGen)
+add_subdirectory(Target)
+add_subdirectory(TextAPI)
+add_subdirectory(Transforms)
diff --git a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.txt b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.txt
index e9be0827ee..1fa45f425d 100644
--- a/contrib/libs/llvm12/lib/CodeGen/CMakeLists.txt
+++ b/contrib/libs/llvm12/lib/CodeGen/CMakeLists.txt
@@ -6,6 +6,9 @@
# original buildsystem will not be accepted.
+add_subdirectory(AsmPrinter)
+add_subdirectory(GlobalISel)
+add_subdirectory(SelectionDAG)
add_library(llvm12-lib-CodeGen)
target_compile_options(llvm12-lib-CodeGen PRIVATE
diff --git a/contrib/libs/llvm12/lib/DebugInfo/CMakeLists.txt b/contrib/libs/llvm12/lib/DebugInfo/CMakeLists.txt
new file mode 100644
index 0000000000..865d0ebbff
--- /dev/null
+++ b/contrib/libs/llvm12/lib/DebugInfo/CMakeLists.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_subdirectory(CodeView)
+add_subdirectory(DWARF)
+add_subdirectory(MSF)
+add_subdirectory(PDB)
+add_subdirectory(Symbolize)
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.darwin.txt b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..40aae59a90
--- /dev/null
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.darwin.txt
@@ -0,0 +1,36 @@
+
+# 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(MCJIT)
+add_subdirectory(RuntimeDyld)
+
+add_library(llvm12-lib-ExecutionEngine)
+target_compile_options(llvm12-lib-ExecutionEngine PRIVATE
+ -Wno-everything
+)
+target_include_directories(llvm12-lib-ExecutionEngine PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine
+)
+target_link_libraries(llvm12-lib-ExecutionEngine PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-llvm12
+ libs-llvm12-include
+ lib-ExecutionEngine-RuntimeDyld
+ llvm12-lib-IR
+ llvm12-lib-MC
+ llvm12-lib-Object
+ llvm12-lib-Support
+ llvm12-lib-Target
+)
+target_sources(llvm12-lib-ExecutionEngine PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/ExecutionEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/ExecutionEngineBindings.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/GDBRegistrationListener.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/SectionMemoryManager.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/TargetSelect.cpp
+)
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux.txt
new file mode 100644
index 0000000000..74965dc236
--- /dev/null
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.linux.txt
@@ -0,0 +1,37 @@
+
+# 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(MCJIT)
+add_subdirectory(PerfJITEvents)
+add_subdirectory(RuntimeDyld)
+
+add_library(llvm12-lib-ExecutionEngine)
+target_compile_options(llvm12-lib-ExecutionEngine PRIVATE
+ -Wno-everything
+)
+target_include_directories(llvm12-lib-ExecutionEngine PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine
+)
+target_link_libraries(llvm12-lib-ExecutionEngine PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-llvm12
+ libs-llvm12-include
+ lib-ExecutionEngine-RuntimeDyld
+ llvm12-lib-IR
+ llvm12-lib-MC
+ llvm12-lib-Object
+ llvm12-lib-Support
+ llvm12-lib-Target
+)
+target_sources(llvm12-lib-ExecutionEngine PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/ExecutionEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/ExecutionEngineBindings.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/GDBRegistrationListener.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/SectionMemoryManager.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/TargetSelect.cpp
+)
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.txt b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.txt
index e26a6ef664..fc7b1ee73c 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/CMakeLists.txt
@@ -6,29 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(llvm12-lib-ExecutionEngine)
-target_compile_options(llvm12-lib-ExecutionEngine PRIVATE
- -Wno-everything
-)
-target_include_directories(llvm12-lib-ExecutionEngine PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine
-)
-target_link_libraries(llvm12-lib-ExecutionEngine PUBLIC
- contrib-libs-cxxsupp
- contrib-libs-llvm12
- libs-llvm12-include
- lib-ExecutionEngine-RuntimeDyld
- llvm12-lib-IR
- llvm12-lib-MC
- llvm12-lib-Object
- llvm12-lib-Support
- llvm12-lib-Target
-)
-target_sources(llvm12-lib-ExecutionEngine PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/ExecutionEngine.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/ExecutionEngineBindings.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/GDBRegistrationListener.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/SectionMemoryManager.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/TargetSelect.cpp
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX AND NOT APPLE)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/llvm12/lib/Frontend/CMakeLists.txt b/contrib/libs/llvm12/lib/Frontend/CMakeLists.txt
new file mode 100644
index 0000000000..8c1b874e3c
--- /dev/null
+++ b/contrib/libs/llvm12/lib/Frontend/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+# 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(OpenMP)
diff --git a/contrib/libs/llvm12/lib/MC/CMakeLists.txt b/contrib/libs/llvm12/lib/MC/CMakeLists.txt
index e30f70c19b..9daf06006e 100644
--- a/contrib/libs/llvm12/lib/MC/CMakeLists.txt
+++ b/contrib/libs/llvm12/lib/MC/CMakeLists.txt
@@ -6,6 +6,8 @@
# original buildsystem will not be accepted.
+add_subdirectory(MCDisassembler)
+add_subdirectory(MCParser)
add_library(llvm12-lib-MC)
target_compile_options(llvm12-lib-MC PRIVATE
diff --git a/contrib/libs/llvm12/lib/Target/CMakeLists.txt b/contrib/libs/llvm12/lib/Target/CMakeLists.txt
index 0506e18714..a2d54963f0 100644
--- a/contrib/libs/llvm12/lib/Target/CMakeLists.txt
+++ b/contrib/libs/llvm12/lib/Target/CMakeLists.txt
@@ -6,6 +6,7 @@
# original buildsystem will not be accepted.
+add_subdirectory(X86)
add_library(llvm12-lib-Target)
target_compile_options(llvm12-lib-Target PRIVATE
diff --git a/contrib/libs/llvm12/lib/Target/X86/CMakeLists.txt b/contrib/libs/llvm12/lib/Target/X86/CMakeLists.txt
index 82de35d9e8..ed1fc6d50e 100644
--- a/contrib/libs/llvm12/lib/Target/X86/CMakeLists.txt
+++ b/contrib/libs/llvm12/lib/Target/X86/CMakeLists.txt
@@ -6,6 +6,10 @@
# original buildsystem will not be accepted.
+add_subdirectory(AsmParser)
+add_subdirectory(Disassembler)
+add_subdirectory(MCTargetDesc)
+add_subdirectory(TargetInfo)
add_library(lib-Target-X86)
target_compile_options(lib-Target-X86 PRIVATE
diff --git a/contrib/libs/llvm12/lib/TextAPI/CMakeLists.txt b/contrib/libs/llvm12/lib/TextAPI/CMakeLists.txt
new file mode 100644
index 0000000000..e510446281
--- /dev/null
+++ b/contrib/libs/llvm12/lib/TextAPI/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+# 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(MachO)
diff --git a/contrib/libs/llvm12/lib/Transforms/CMakeLists.txt b/contrib/libs/llvm12/lib/Transforms/CMakeLists.txt
new file mode 100644
index 0000000000..bc8c9460d5
--- /dev/null
+++ b/contrib/libs/llvm12/lib/Transforms/CMakeLists.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_subdirectory(AggressiveInstCombine)
+add_subdirectory(CFGuard)
+add_subdirectory(IPO)
+add_subdirectory(InstCombine)
+add_subdirectory(Instrumentation)
+add_subdirectory(ObjCARC)
+add_subdirectory(Scalar)
+add_subdirectory(Utils)
+add_subdirectory(Vectorize)
diff --git a/contrib/libs/llvm12/utils/CMakeLists.txt b/contrib/libs/llvm12/utils/CMakeLists.txt
new file mode 100644
index 0000000000..96eb85cbfb
--- /dev/null
+++ b/contrib/libs/llvm12/utils/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+# 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(TableGen)
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt
index fbd169466f..a90cbd7db3 100644
--- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt
@@ -6,6 +6,7 @@
# original buildsystem will not be accepted.
+add_subdirectory(GlobalISel)
add_executable(llvm-tblgen)
target_compile_options(llvm-tblgen PRIVATE
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt
index b21240ea2f..8482d8f5bc 100644
--- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt
@@ -6,6 +6,7 @@
# original buildsystem will not be accepted.
+add_subdirectory(GlobalISel)
add_executable(llvm-tblgen)
target_compile_options(llvm-tblgen PRIVATE
diff --git a/contrib/libs/pcre/CMakeLists.txt b/contrib/libs/pcre/CMakeLists.txt
index 8c18cb2e24..93c0fd5ad0 100644
--- a/contrib/libs/pcre/CMakeLists.txt
+++ b/contrib/libs/pcre/CMakeLists.txt
@@ -6,6 +6,8 @@
# original buildsystem will not be accepted.
+add_subdirectory(pcre16)
+add_subdirectory(pcre32)
add_library(contrib-libs-pcre)
target_compile_options(contrib-libs-pcre PUBLIC
diff --git a/contrib/libs/poco/CMakeLists.txt b/contrib/libs/poco/CMakeLists.txt
new file mode 100644
index 0000000000..5ad2ad4720
--- /dev/null
+++ b/contrib/libs/poco/CMakeLists.txt
@@ -0,0 +1,15 @@
+
+# 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(Crypto)
+add_subdirectory(Foundation)
+add_subdirectory(JSON)
+add_subdirectory(Net)
+add_subdirectory(NetSSL_OpenSSL)
+add_subdirectory(Util)
+add_subdirectory(XML)
diff --git a/contrib/libs/tcmalloc/CMakeLists.darwin.txt b/contrib/libs/tcmalloc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..7898448e35
--- /dev/null
+++ b/contrib/libs/tcmalloc/CMakeLists.darwin.txt
@@ -0,0 +1,9 @@
+
+# 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(malloc_extension)
diff --git a/contrib/libs/tcmalloc/CMakeLists.linux.txt b/contrib/libs/tcmalloc/CMakeLists.linux.txt
index 8f96b977ae..51a7593d3c 100644
--- a/contrib/libs/tcmalloc/CMakeLists.linux.txt
+++ b/contrib/libs/tcmalloc/CMakeLists.linux.txt
@@ -6,6 +6,8 @@
# original buildsystem will not be accepted.
+add_subdirectory(malloc_extension)
+add_subdirectory(no_percpu_cache)
add_library(contrib-libs-tcmalloc)
target_compile_options(contrib-libs-tcmalloc PRIVATE
diff --git a/contrib/libs/tcmalloc/CMakeLists.txt b/contrib/libs/tcmalloc/CMakeLists.txt
index e8c98bfd99..fc7b1ee73c 100644
--- a/contrib/libs/tcmalloc/CMakeLists.txt
+++ b/contrib/libs/tcmalloc/CMakeLists.txt
@@ -6,6 +6,8 @@
# original buildsystem will not be accepted.
-if (UNIX AND NOT APPLE)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX AND NOT APPLE)
include(CMakeLists.linux.txt)
endif()
diff --git a/contrib/restricted/CMakeLists.txt b/contrib/restricted/CMakeLists.txt
new file mode 100644
index 0000000000..1a4500f168
--- /dev/null
+++ b/contrib/restricted/CMakeLists.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_subdirectory(abseil-cpp)
+add_subdirectory(abseil-cpp-tstring)
+add_subdirectory(aws)
+add_subdirectory(boost)
+add_subdirectory(cityhash-1.0.2)
+add_subdirectory(dragonbox)
+add_subdirectory(fast_float)
+add_subdirectory(googletest)
+add_subdirectory(nlohmann_json)
+add_subdirectory(thrift)
+add_subdirectory(uriparser)
diff --git a/contrib/restricted/abseil-cpp-tstring/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/CMakeLists.txt
new file mode 100644
index 0000000000..c03b62d32c
--- /dev/null
+++ b/contrib/restricted/abseil-cpp-tstring/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+# 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(y_absl)
diff --git a/contrib/restricted/abseil-cpp-tstring/y_absl/CMakeLists.txt b/contrib/restricted/abseil-cpp-tstring/y_absl/CMakeLists.txt
new file mode 100644
index 0000000000..52c183ff4f
--- /dev/null
+++ b/contrib/restricted/abseil-cpp-tstring/y_absl/CMakeLists.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_subdirectory(algorithm)
+add_subdirectory(base)
+add_subdirectory(city)
+add_subdirectory(container)
+add_subdirectory(debugging)
+add_subdirectory(demangle)
+add_subdirectory(functional)
+add_subdirectory(hash)
+add_subdirectory(memory)
+add_subdirectory(meta)
+add_subdirectory(numeric)
+add_subdirectory(profiling)
+add_subdirectory(status)
+add_subdirectory(strings)
+add_subdirectory(synchronization)
+add_subdirectory(time)
+add_subdirectory(types)
+add_subdirectory(utility)
diff --git a/contrib/restricted/abseil-cpp/CMakeLists.txt b/contrib/restricted/abseil-cpp/CMakeLists.txt
index 586fec4427..eba9dfc04c 100644
--- a/contrib/restricted/abseil-cpp/CMakeLists.txt
+++ b/contrib/restricted/abseil-cpp/CMakeLists.txt
@@ -6,6 +6,7 @@
# original buildsystem will not be accepted.
+add_subdirectory(absl)
add_library(contrib-restricted-abseil-cpp INTERFACE)
target_link_libraries(contrib-restricted-abseil-cpp INTERFACE
diff --git a/contrib/restricted/abseil-cpp/absl/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/CMakeLists.txt
new file mode 100644
index 0000000000..6b663fea8e
--- /dev/null
+++ b/contrib/restricted/abseil-cpp/absl/CMakeLists.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_subdirectory(algorithm)
+add_subdirectory(base)
+add_subdirectory(city)
+add_subdirectory(container)
+add_subdirectory(debugging)
+add_subdirectory(demangle)
+add_subdirectory(flags)
+add_subdirectory(functional)
+add_subdirectory(hash)
+add_subdirectory(memory)
+add_subdirectory(meta)
+add_subdirectory(numeric)
+add_subdirectory(profiling)
+add_subdirectory(random)
+add_subdirectory(status)
+add_subdirectory(strings)
+add_subdirectory(synchronization)
+add_subdirectory(time)
+add_subdirectory(types)
+add_subdirectory(utility)
diff --git a/contrib/restricted/aws/CMakeLists.txt b/contrib/restricted/aws/CMakeLists.txt
new file mode 100644
index 0000000000..d9e752ac46
--- /dev/null
+++ b/contrib/restricted/aws/CMakeLists.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_subdirectory(aws-c-cal)
+add_subdirectory(aws-c-common)
+add_subdirectory(aws-c-event-stream)
+add_subdirectory(aws-c-io)
+add_subdirectory(aws-checksums)
+add_subdirectory(s2n)
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
index 114443e668..53563bd504 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.darwin.txt
@@ -82,3 +82,13 @@ target_sources(restricted-aws-aws-c-common PRIVATE
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/asm/cpuid.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/cpuid.c
)
+target_sources_custom(restricted-aws-aws-c-common
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/encoding_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
diff --git a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
index f0bf855b3f..ce39ff5ab6 100644
--- a/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/aws-c-common/CMakeLists.linux.txt
@@ -78,3 +78,13 @@ target_sources(restricted-aws-aws-c-common PRIVATE
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/asm/cpuid.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/cpuid.c
)
+target_sources_custom(restricted-aws-aws-c-common
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-common/source/arch/intel/encoding_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
diff --git a/contrib/restricted/aws/s2n/CMakeLists.darwin.txt b/contrib/restricted/aws/s2n/CMakeLists.darwin.txt
index 94fffb19ab..01ab97e6c8 100644
--- a/contrib/restricted/aws/s2n/CMakeLists.darwin.txt
+++ b/contrib/restricted/aws/s2n/CMakeLists.darwin.txt
@@ -205,3 +205,83 @@ target_sources(restricted-aws-s2n PRIVATE
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_socket.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_timer.c
)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/KeccakP-1600-times4-SIMD256_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_cbd_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_consts_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_fips202x4_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_indcpa_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_poly_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_polyvec_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_rejsample_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
diff --git a/contrib/restricted/aws/s2n/CMakeLists.linux.txt b/contrib/restricted/aws/s2n/CMakeLists.linux.txt
index 30a2d11de2..2403724ef1 100644
--- a/contrib/restricted/aws/s2n/CMakeLists.linux.txt
+++ b/contrib/restricted/aws/s2n/CMakeLists.linux.txt
@@ -206,3 +206,83 @@ target_sources(restricted-aws-s2n PRIVATE
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_socket.c
${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_timer.c
)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/KeccakP-1600-times4-SIMD256_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_cbd_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_consts_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_fips202x4_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_indcpa_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_poly_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_polyvec_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
+target_sources_custom(restricted-aws-s2n
+ .avx2
+ SRCS
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/kyber512r3_rejsample_avx2.c
+ CUSTOM_FLAGS
+ -mavx2
+ -mfma
+ -mbmi
+ -mbmi2
+)
diff --git a/contrib/restricted/boost/CMakeLists.txt b/contrib/restricted/boost/CMakeLists.txt
index d07cc40684..199aa254c4 100644
--- a/contrib/restricted/boost/CMakeLists.txt
+++ b/contrib/restricted/boost/CMakeLists.txt
@@ -6,6 +6,86 @@
# original buildsystem will not be accepted.
+add_subdirectory(algorithm)
+add_subdirectory(align)
+add_subdirectory(any)
+add_subdirectory(array)
+add_subdirectory(assert)
+add_subdirectory(atomic)
+add_subdirectory(bind)
+add_subdirectory(chrono)
+add_subdirectory(circular_buffer)
+add_subdirectory(concept_check)
+add_subdirectory(config)
+add_subdirectory(container)
+add_subdirectory(container_hash)
+add_subdirectory(conversion)
+add_subdirectory(core)
+add_subdirectory(crc)
+add_subdirectory(date_time)
+add_subdirectory(detail)
+add_subdirectory(endian)
+add_subdirectory(exception)
+add_subdirectory(filesystem)
+add_subdirectory(foreach)
+add_subdirectory(format)
+add_subdirectory(function)
+add_subdirectory(function_types)
+add_subdirectory(functional)
+add_subdirectory(fusion)
+add_subdirectory(icl)
+add_subdirectory(integer)
+add_subdirectory(interprocess)
+add_subdirectory(interval)
+add_subdirectory(intrusive)
+add_subdirectory(io)
+add_subdirectory(iostreams)
+add_subdirectory(iterator)
+add_subdirectory(lambda)
+add_subdirectory(lexical_cast)
+add_subdirectory(libs)
+add_subdirectory(locale)
+add_subdirectory(logic)
+add_subdirectory(math)
+add_subdirectory(move)
+add_subdirectory(mp11)
+add_subdirectory(mpl)
+add_subdirectory(multi_array)
+add_subdirectory(multiprecision)
+add_subdirectory(numeric_conversion)
+add_subdirectory(optional)
+add_subdirectory(parameter)
+add_subdirectory(phoenix)
+add_subdirectory(polygon)
+add_subdirectory(pool)
+add_subdirectory(predef)
+add_subdirectory(preprocessor)
+add_subdirectory(program_options)
+add_subdirectory(proto)
+add_subdirectory(qvm)
+add_subdirectory(random)
+add_subdirectory(range)
+add_subdirectory(ratio)
+add_subdirectory(rational)
+add_subdirectory(regex)
+add_subdirectory(smart_ptr)
+add_subdirectory(spirit)
+add_subdirectory(static_assert)
+add_subdirectory(system)
+add_subdirectory(thread)
+add_subdirectory(throw_exception)
+add_subdirectory(tokenizer)
+add_subdirectory(tti)
+add_subdirectory(tuple)
+add_subdirectory(type_index)
+add_subdirectory(type_traits)
+add_subdirectory(typeof)
+add_subdirectory(unordered)
+add_subdirectory(utility)
+add_subdirectory(variant)
+add_subdirectory(vmd)
+add_subdirectory(winapi)
+add_subdirectory(xpressive)
add_library(contrib-restricted-boost INTERFACE)
target_include_directories(contrib-restricted-boost INTERFACE
diff --git a/contrib/restricted/boost/libs/CMakeLists.txt b/contrib/restricted/boost/libs/CMakeLists.txt
new file mode 100644
index 0000000000..9b6a0f564e
--- /dev/null
+++ b/contrib/restricted/boost/libs/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+# 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(graph)
diff --git a/contrib/restricted/googletest/CMakeLists.txt b/contrib/restricted/googletest/CMakeLists.txt
new file mode 100644
index 0000000000..a0dd95bcc3
--- /dev/null
+++ b/contrib/restricted/googletest/CMakeLists.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_subdirectory(googlemock)
+add_subdirectory(googletest)
diff --git a/contrib/tools/CMakeLists.txt b/contrib/tools/CMakeLists.txt
new file mode 100644
index 0000000000..07c36cc20d
--- /dev/null
+++ b/contrib/tools/CMakeLists.txt
@@ -0,0 +1,9 @@
+
+# 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(protoc)
diff --git a/contrib/tools/protoc/CMakeLists.txt b/contrib/tools/protoc/CMakeLists.txt
new file mode 100644
index 0000000000..5b078f6e25
--- /dev/null
+++ b/contrib/tools/protoc/CMakeLists.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_subdirectory(bin)
+add_subdirectory(plugins)
diff --git a/contrib/tools/protoc/plugins/CMakeLists.txt b/contrib/tools/protoc/plugins/CMakeLists.txt
new file mode 100644
index 0000000000..27af5d725b
--- /dev/null
+++ b/contrib/tools/protoc/plugins/CMakeLists.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_subdirectory(cpp_styleguide)
+add_subdirectory(grpc_cpp)