diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-24 17:52:14 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-24 17:52:14 +0300 |
commit | 154700b20366969d89b7f6b6ffcedf6be3a1deae (patch) | |
tree | 84c3ecf3cb6ca91983676fe6b79f0904d66a9462 | |
parent | e593c74c608a3cd3ec6189c63ec44ed28616340e (diff) | |
download | ydb-154700b20366969d89b7f6b6ffcedf6be3a1deae.tar.gz |
intermediate changes
ref:70ac1bca1acbb458c863fb4686263967ea009057
52 files changed, 171 insertions, 72 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7658709f99..71f86a831f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,107 @@ project(YDB LANGUAGES C CXX ASM) set(BUILD_SHARED_LIBS Off) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_EXTENSIONS Off) +set(CMAKE_C_FLAGS "\ + -m64 \ + -g \ + -ggnu-pubnames \ + -fexceptions \ + -fno-common \ + -fuse-init-array \ + -fcolor-diagnostics \ + -faligned-allocation \ + -ffunction-sections \ + -fdata-sections \ + -Wall \ + -Wextra \ + -Wno-parentheses \ + -Wno-implicit-const-int-float-conversion \ + -Wno-unknown-warning-option \ + -D_THREAD_SAFE \ + -D_PTHREADS \ + -D_REENTRANT \ + -D_LARGEFILE_SOURCE \ + -D__STDC_CONSTANT_MACROS \ + -D__STDC_FORMAT_MACROS \ + -D_FILE_OFFSET_BITS=64 \ + -D_GNU_SOURCE \ + -D_YNDX_LIBUNWIND_ENABLE_EXCEPTION_BACKTRACE \ + -D__LONG_LONG_SUPPORTED \ + -DSSE_ENABLED=1 \ + -DSSE3_ENABLED=1 \ + -DSSSE3_ENABLED=1 \ + -DSSE41_ENABLED=1 \ + -DSSE42_ENABLED=1 \ + -DPOPCNT_ENABLED=1 \ + -DCX16_ENABLED=1 \ + -D_libunwind_ \ + -DLIBCXX_BUILDING_LIBCXXRT \ + -msse2 \ + -msse3 \ + -mssse3 \ + -msse4.1 \ + -msse4.2 \ + -mpopcnt \ + -mcx16 \ + " +) +set(CMAKE_CXX_FLAGS "\ + -m64 \ + -g \ + -ggnu-pubnames \ + -fexceptions \ + -fno-common \ + -fuse-init-array \ + -fcolor-diagnostics \ + -faligned-allocation \ + -ffunction-sections \ + -fdata-sections \ + -Wall \ + -Wextra \ + -Wno-parentheses \ + -Wno-implicit-const-int-float-conversion \ + -Wno-unknown-warning-option \ + -D_THREAD_SAFE \ + -D_PTHREADS \ + -D_REENTRANT \ + -D_LARGEFILE_SOURCE \ + -D__STDC_CONSTANT_MACROS \ + -D__STDC_FORMAT_MACROS \ + -D_FILE_OFFSET_BITS=64 \ + -D_GNU_SOURCE \ + -D_YNDX_LIBUNWIND_ENABLE_EXCEPTION_BACKTRACE \ + -D__LONG_LONG_SUPPORTED \ + -DSSE_ENABLED=1 \ + -DSSE3_ENABLED=1 \ + -DSSSE3_ENABLED=1 \ + -DSSE41_ENABLED=1 \ + -DSSE42_ENABLED=1 \ + -DPOPCNT_ENABLED=1 \ + -DCX16_ENABLED=1 \ + -D_libunwind_ \ + -DLIBCXX_BUILDING_LIBCXXRT \ + -msse2 \ + -msse3 \ + -mssse3 \ + -msse4.1 \ + -msse4.2 \ + -mpopcnt \ + -mcx16 \ + -Woverloaded-virtual \ + -Wimport-preprocessor-directive-pedantic \ + -Wno-undefined-var-template \ + -Wno-return-std-move \ + -Wno-address-of-packed-member \ + -Wno-defaulted-function-deleted \ + -Wno-pessimizing-move \ + -Wno-range-loop-construct \ + -Wno-deprecated-anon-enum-enum-conversion \ + -Wno-deprecated-enum-enum-conversion \ + -Wno-deprecated-enum-float-conversion \ + -Wno-ambiguous-reversed-operator \ + -Wno-deprecated-volatile \ + " +) list(APPEND CMAKE_MODULE_PATH ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/cmake) include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) diff --git a/build/ya.conf.json b/build/ya.conf.json index 53fcc89176..94d79eec61 100644 --- a/build/ya.conf.json +++ b/build/ya.conf.json @@ -7548,7 +7548,7 @@ }, "ycmerge": { "formula": { - "sandbox_id": 1210948344, + "sandbox_id": 1225325604, "match": "ycmerge" }, "executable": { diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 3dd2b790ec..c581c22c8d 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -5973,6 +5973,10 @@ macro _SRC("in", SRC, SRCFLAGS...) { .SEM=$CONFIGURE_FILE(${SRC} ${nopath;noext:SRC}) } +macro MANUAL_GENERATION(Outs...) { + .SEM=ignored ${output;hide;noauto:Outs} +} + # tag:src-processing macro _SRC("sc", SRC, SRCFLAGS...) { .CMD=${tool:"tools/domschemec"} --in ${input:SRC} --out ${output;norel:SRC.h} ${output_include;hide:"util/generic/strbuf.h"} ${output_include;hide:"util/generic/string.h"} ${output_include;hide:"util/generic/vector.h"} ${output_include;hide:"util/string/cast.h"} ${SRCFLAGS} ${kv;hide:"p SC"} ${kv;hide:"pc yellow"} diff --git a/cmake/protobuf.cmake b/cmake/protobuf.cmake index 155caa1443..ef3a9d4cfb 100644 --- a/cmake/protobuf.cmake +++ b/cmake/protobuf.cmake @@ -10,7 +10,13 @@ endfunction() function(target_proto_messages Tgt Scope) get_property(ProtocExtraOutsSuf TARGET ${Tgt} PROPERTY PROTOC_EXTRA_OUTS) foreach(proto ${ARGN}) - file(RELATIVE_PATH protoRel ${CMAKE_SOURCE_DIR} ${proto}) + if (proto MATCHES ${CMAKE_SOURCE_DIR}) + file(RELATIVE_PATH protoRel ${CMAKE_SOURCE_DIR} ${proto}) + elseif(proto MATCHES ${CMAKE_BINARY_DIR}) + file(RELATIVE_PATH protoRel ${CMAKE_BINARY_DIR} ${proto}) + else() + set(protoRel ${proto}) + endif() get_filename_component(OutputBase ${protoRel} NAME_WLE) get_filename_component(OutputDir ${CMAKE_BINARY_DIR}/${protoRel} DIRECTORY) list(TRANSFORM ProtocExtraOutsSuf PREPEND ${OutputDir}/${OutputBase} OUTPUT_VARIABLE ProtocExtraOuts) diff --git a/contrib/libs/apache/arrow/CMakeLists.txt b/contrib/libs/apache/arrow/CMakeLists.txt index aa40b3dd92..fc5752c54a 100644 --- a/contrib/libs/apache/arrow/CMakeLists.txt +++ b/contrib/libs/apache/arrow/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(libs-apache-arrow) target_compile_options(libs-apache-arrow PUBLIC diff --git a/contrib/libs/apache/orc/CMakeLists.txt b/contrib/libs/apache/orc/CMakeLists.txt index 2daf3c5578..3dea41a2dc 100644 --- a/contrib/libs/apache/orc/CMakeLists.txt +++ b/contrib/libs/apache/orc/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(libs-apache-orc) target_include_directories(libs-apache-orc PRIVATE diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.txt b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.txt index a54f538057..4fc6248ad8 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.txt +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(libs-aws-sdk-cpp-aws-cpp-sdk-core) target_compile_options(libs-aws-sdk-cpp-aws-cpp-sdk-core PRIVATE diff --git a/contrib/libs/curl/CMakeLists.txt b/contrib/libs/curl/CMakeLists.txt index 9288e61ad4..2fd5f95bd6 100644 --- a/contrib/libs/curl/CMakeLists.txt +++ b/contrib/libs/curl/CMakeLists.txt @@ -1,6 +1,6 @@ -find_package(OpenSSL) -find_package(ZLIB) -find_package(c-ares) +find_package(OpenSSL REQUIRED) +find_package(ZLIB REQUIRED) +find_package(c-ares REQUIRED) add_library(contrib-libs-curl) target_compile_options(contrib-libs-curl PUBLIC diff --git a/contrib/libs/grpc/grpc++/CMakeLists.txt b/contrib/libs/grpc/grpc++/CMakeLists.txt index 5d05e9fc9d..37e39a7620 100644 --- a/contrib/libs/grpc/grpc++/CMakeLists.txt +++ b/contrib/libs/grpc/grpc++/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(libs-grpc-grpc++) target_compile_options(libs-grpc-grpc++ PRIVATE diff --git a/contrib/libs/grpc/grpc/CMakeLists.txt b/contrib/libs/grpc/grpc/CMakeLists.txt index 4c4397f64d..600ce41b22 100644 --- a/contrib/libs/grpc/grpc/CMakeLists.txt +++ b/contrib/libs/grpc/grpc/CMakeLists.txt @@ -1,6 +1,6 @@ -find_package(OpenSSL) -find_package(ZLIB) -find_package(c-ares) +find_package(OpenSSL REQUIRED) +find_package(ZLIB REQUIRED) +find_package(c-ares REQUIRED) add_library(libs-grpc-grpc) target_compile_options(libs-grpc-grpc PRIVATE diff --git a/contrib/libs/hdr_histogram/CMakeLists.txt b/contrib/libs/hdr_histogram/CMakeLists.txt index 2d987779e8..a6feec3595 100644 --- a/contrib/libs/hdr_histogram/CMakeLists.txt +++ b/contrib/libs/hdr_histogram/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(contrib-libs-hdr_histogram) target_include_directories(contrib-libs-hdr_histogram PRIVATE diff --git a/contrib/libs/jwt-cpp/CMakeLists.txt b/contrib/libs/jwt-cpp/CMakeLists.txt index 12571feb65..89bb5317ad 100644 --- a/contrib/libs/jwt-cpp/CMakeLists.txt +++ b/contrib/libs/jwt-cpp/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(contrib-libs-jwt-cpp INTERFACE) target_link_libraries(contrib-libs-jwt-cpp INTERFACE diff --git a/contrib/libs/libevent/event_openssl/CMakeLists.txt b/contrib/libs/libevent/event_openssl/CMakeLists.txt index 976898ab8c..7d41a791ff 100644 --- a/contrib/libs/libevent/event_openssl/CMakeLists.txt +++ b/contrib/libs/libevent/event_openssl/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(libs-libevent-event_openssl) target_compile_options(libs-libevent-event_openssl PRIVATE diff --git a/contrib/libs/libxml/CMakeLists.txt b/contrib/libs/libxml/CMakeLists.txt index 3efc791fbe..b678a95771 100644 --- a/contrib/libs/libxml/CMakeLists.txt +++ b/contrib/libs/libxml/CMakeLists.txt @@ -1,5 +1,5 @@ -find_package(Iconv) -find_package(ZLIB) +find_package(Iconv REQUIRED) +find_package(ZLIB REQUIRED) add_library(contrib-libs-libxml) target_compile_options(contrib-libs-libxml PUBLIC diff --git a/contrib/libs/llvm12/lib/Support/CMakeLists.txt b/contrib/libs/llvm12/lib/Support/CMakeLists.txt index d45fe3341b..fb3119479a 100644 --- a/contrib/libs/llvm12/lib/Support/CMakeLists.txt +++ b/contrib/libs/llvm12/lib/Support/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(llvm12-lib-Support) target_include_directories(llvm12-lib-Support PRIVATE diff --git a/contrib/libs/poco/Crypto/CMakeLists.txt b/contrib/libs/poco/Crypto/CMakeLists.txt index 39f64a1c98..eaeebeaab3 100644 --- a/contrib/libs/poco/Crypto/CMakeLists.txt +++ b/contrib/libs/poco/Crypto/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(libs-poco-Crypto) target_include_directories(libs-poco-Crypto PUBLIC diff --git a/contrib/libs/poco/Foundation/CMakeLists.txt b/contrib/libs/poco/Foundation/CMakeLists.txt index 0b01f82e06..6622570f2d 100644 --- a/contrib/libs/poco/Foundation/CMakeLists.txt +++ b/contrib/libs/poco/Foundation/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(libs-poco-Foundation) target_include_directories(libs-poco-Foundation PUBLIC diff --git a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt index c5871b5325..3f163027d2 100644 --- a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt +++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(libs-poco-NetSSL_OpenSSL) target_include_directories(libs-poco-NetSSL_OpenSSL PUBLIC diff --git a/contrib/libs/protobuf/CMakeLists.txt b/contrib/libs/protobuf/CMakeLists.txt index e9a4fd025e..2494eba896 100644 --- a/contrib/libs/protobuf/CMakeLists.txt +++ b/contrib/libs/protobuf/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(contrib-libs-protobuf) target_compile_options(contrib-libs-protobuf PRIVATE diff --git a/contrib/libs/re2/re2/re2.cc b/contrib/libs/re2/re2/re2.cc index 47fb385e4e..ad126d00bd 100644 --- a/contrib/libs/re2/re2/re2.cc +++ b/contrib/libs/re2/re2/re2.cc @@ -1050,14 +1050,12 @@ bool Parse(const char* str, size_t n, std::string* dest) { return true; } -#if defined(ARCADIA_ROOT) template <> bool Parse(const char* str, size_t n, TString* dest) { if (dest == NULL) return true; dest->assign(str, n); return true; } -#endif template <> bool Parse(const char* str, size_t n, StringPiece* dest) { diff --git a/contrib/libs/re2/re2/re2.h b/contrib/libs/re2/re2/re2.h index f8f8043daf..c9694d35ac 100644 --- a/contrib/libs/re2/re2/re2.h +++ b/contrib/libs/re2/re2/re2.h @@ -210,9 +210,7 @@ #include <string> #include <type_traits> #include <vector> -#if defined(ARCADIA_ROOT) #include <util/generic/string.h> -#endif #if defined(__APPLE__) #include <TargetConditionals.h> @@ -283,10 +281,8 @@ class RE2 { #endif RE2(const StringPiece& pattern); RE2(const StringPiece& pattern, const Options& options); -#if defined(ARCADIA_ROOT) // ambiguity resolution. RE2(const TString& pattern) : RE2(StringPiece(pattern)) {} -#endif ~RE2(); // Returns whether RE2 was created properly. @@ -464,7 +460,6 @@ class RE2 { static bool Replace(std::string* str, const RE2& re, const StringPiece& rewrite); -#if defined(ARCADIA_ROOT) static bool Replace(TString *str, const RE2& pattern, const StringPiece& rewrite) { @@ -473,7 +468,6 @@ class RE2 { *str = tmp; return res; } -#endif // Like Replace(), except replaces successive non-overlapping occurrences // of the pattern in the string with the rewrite. E.g. @@ -492,7 +486,6 @@ class RE2 { const RE2& re, const StringPiece& rewrite); -#if defined(ARCADIA_ROOT) static int GlobalReplace(TString* str, const RE2& pattern, const StringPiece& rewrite) { @@ -501,7 +494,6 @@ class RE2 { *str = tmp; return res; } -#endif // Like Replace, except that if the pattern matches, "rewrite" // is copied into "out" with substitutions. The non-matching @@ -516,7 +508,6 @@ class RE2 { const StringPiece& rewrite, std::string* out); -#if defined(ARCADIA_ROOT) static bool Extract(const StringPiece& text, const RE2& pattern, const StringPiece& rewrite, @@ -526,7 +517,6 @@ class RE2 { *out = tmp; return res; } -#endif // Escapes all potentially meaningful regexp characters in // 'unquoted'. The returned string, used as a regular expression, @@ -621,7 +611,6 @@ class RE2 { return CheckRewriteString(rewrite, static_cast<std::string*>(error)); } -#if defined(ARCADIA_ROOT) bool CheckRewriteString(const StringPiece& rewrite, TString* error) const { if (error) { std::string tmp; @@ -632,7 +621,6 @@ class RE2 { return CheckRewriteString(rewrite, nullptr); } } -#endif // Returns the maximum submatch needed for the rewrite to be done by // Replace(). E.g. if rewrite == "foo \\2,\\1", returns 2. @@ -847,9 +835,7 @@ template <typename T> struct Parse3ary : public std::false_type {}; template <> struct Parse3ary<void> : public std::true_type {}; template <> struct Parse3ary<std::string> : public std::true_type {}; template <> struct Parse3ary<StringPiece> : public std::true_type {}; -#if defined(ARCADIA_ROOT) template <> struct Parse3ary<TString> : public std::true_type {}; -#endif template <> struct Parse3ary<char> : public std::true_type {}; template <> struct Parse3ary<signed char> : public std::true_type {}; template <> struct Parse3ary<unsigned char> : public std::true_type {}; diff --git a/contrib/libs/re2/re2/stringpiece.h b/contrib/libs/re2/re2/stringpiece.h index ef73683401..ef7cef99e6 100644 --- a/contrib/libs/re2/re2/stringpiece.h +++ b/contrib/libs/re2/re2/stringpiece.h @@ -33,9 +33,7 @@ #if __has_include(<string_view>) && __cplusplus >= 201703L #include <string_view> #endif -#if defined(ARCADIA_ROOT) #include <util/generic/string.h> -#endif namespace re2 { @@ -70,10 +68,8 @@ class StringPiece { : data_(str), size_(str == NULL ? 0 : strlen(str)) {} StringPiece(const char* str, size_type len) : data_(str), size_(len) {} -#if defined(ARCADIA_ROOT) StringPiece(const TString& str) : StringPiece(str.data(), str.size()) {} -#endif const_iterator begin() const { return data_; } const_iterator end() const { return data_ + size_; } diff --git a/contrib/restricted/aws/aws-c-cal/CMakeLists.txt b/contrib/restricted/aws/aws-c-cal/CMakeLists.txt index edd4356947..49ce9f5c7e 100644 --- a/contrib/restricted/aws/aws-c-cal/CMakeLists.txt +++ b/contrib/restricted/aws/aws-c-cal/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(restricted-aws-aws-c-cal) target_include_directories(restricted-aws-aws-c-cal PUBLIC diff --git a/contrib/restricted/aws/s2n/CMakeLists.txt b/contrib/restricted/aws/s2n/CMakeLists.txt index 0f08a248a1..a448538bf9 100644 --- a/contrib/restricted/aws/s2n/CMakeLists.txt +++ b/contrib/restricted/aws/s2n/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(restricted-aws-s2n) target_compile_options(restricted-aws-s2n PRIVATE diff --git a/contrib/restricted/boost/libs/iostreams/CMakeLists.txt b/contrib/restricted/boost/libs/iostreams/CMakeLists.txt index 05485b9396..2a984b68bb 100644 --- a/contrib/restricted/boost/libs/iostreams/CMakeLists.txt +++ b/contrib/restricted/boost/libs/iostreams/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(boost-libs-iostreams) target_compile_options(boost-libs-iostreams PRIVATE diff --git a/contrib/restricted/thrift/CMakeLists.txt b/contrib/restricted/thrift/CMakeLists.txt index 1a51a52d12..057d70e79d 100644 --- a/contrib/restricted/thrift/CMakeLists.txt +++ b/contrib/restricted/thrift/CMakeLists.txt @@ -1,5 +1,5 @@ -find_package(OpenSSL) -find_package(ZLIB) +find_package(OpenSSL REQUIRED) +find_package(ZLIB REQUIRED) add_library(contrib-restricted-thrift) target_compile_options(contrib-restricted-thrift PRIVATE diff --git a/contrib/tools/python3/src/Modules/CMakeLists.txt b/contrib/tools/python3/src/Modules/CMakeLists.txt index e179872773..d5e241308a 100644 --- a/contrib/tools/python3/src/Modules/CMakeLists.txt +++ b/contrib/tools/python3/src/Modules/CMakeLists.txt @@ -1,5 +1,5 @@ -find_package(OpenSSL) -find_package(ZLIB) +find_package(OpenSSL REQUIRED) +find_package(ZLIB REQUIRED) add_library(python3-src-Modules) target_compile_options(python3-src-Modules PRIVATE diff --git a/library/cpp/actors/dnscachelib/CMakeLists.txt b/library/cpp/actors/dnscachelib/CMakeLists.txt index 9dd2d25435..ce385e4928 100644 --- a/library/cpp/actors/dnscachelib/CMakeLists.txt +++ b/library/cpp/actors/dnscachelib/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(c-ares) +find_package(c-ares REQUIRED) add_library(cpp-actors-dnscachelib) target_link_libraries(cpp-actors-dnscachelib PUBLIC diff --git a/library/cpp/actors/dnsresolver/CMakeLists.txt b/library/cpp/actors/dnsresolver/CMakeLists.txt index f465734a92..6022d74926 100644 --- a/library/cpp/actors/dnsresolver/CMakeLists.txt +++ b/library/cpp/actors/dnsresolver/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(c-ares) +find_package(c-ares REQUIRED) add_library(cpp-actors-dnsresolver) target_include_directories(cpp-actors-dnsresolver PRIVATE diff --git a/library/cpp/actors/http/CMakeLists.txt b/library/cpp/actors/http/CMakeLists.txt index a1e2b6e0c9..45a119dd75 100644 --- a/library/cpp/actors/http/CMakeLists.txt +++ b/library/cpp/actors/http/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(cpp-actors-http) target_link_libraries(cpp-actors-http PUBLIC diff --git a/library/cpp/actors/interconnect/CMakeLists.txt b/library/cpp/actors/interconnect/CMakeLists.txt index 62b2b3cc52..30c71f7494 100644 --- a/library/cpp/actors/interconnect/CMakeLists.txt +++ b/library/cpp/actors/interconnect/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(cpp-actors-interconnect) target_link_libraries(cpp-actors-interconnect PUBLIC diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt index 0b134998b8..b1dfa7fef0 100644 --- a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(blockcodecs-codecs-zlib INTERFACE) target_link_libraries(blockcodecs-codecs-zlib INTERFACE diff --git a/library/cpp/build_info/CMakeLists.txt b/library/cpp/build_info/CMakeLists.txt index 32dbcd3f34..dcba13a2ad 100644 --- a/library/cpp/build_info/CMakeLists.txt +++ b/library/cpp/build_info/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Python2) +find_package(Python2 REQUIRED) add_library(library-cpp-build_info) target_link_libraries(library-cpp-build_info PUBLIC diff --git a/library/cpp/charset/CMakeLists.txt b/library/cpp/charset/CMakeLists.txt index 6cadbc7418..a4508910f2 100644 --- a/library/cpp/charset/CMakeLists.txt +++ b/library/cpp/charset/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Iconv) +find_package(Iconv REQUIRED) add_library(library-cpp-charset) target_link_libraries(library-cpp-charset PUBLIC diff --git a/library/cpp/http/fetch/CMakeLists.txt b/library/cpp/http/fetch/CMakeLists.txt index 52f844c8d1..0c7731c9da 100644 --- a/library/cpp/http/fetch/CMakeLists.txt +++ b/library/cpp/http/fetch/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(cpp-http-fetch) target_link_libraries(cpp-http-fetch PUBLIC diff --git a/library/cpp/monlib/encode/spack/CMakeLists.txt b/library/cpp/monlib/encode/spack/CMakeLists.txt index e6372ee651..e5009b873d 100644 --- a/library/cpp/monlib/encode/spack/CMakeLists.txt +++ b/library/cpp/monlib/encode/spack/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(monlib-encode-spack) target_link_libraries(monlib-encode-spack PUBLIC diff --git a/library/cpp/openssl/holders/CMakeLists.txt b/library/cpp/openssl/holders/CMakeLists.txt index fa28e78956..a1070e8b60 100644 --- a/library/cpp/openssl/holders/CMakeLists.txt +++ b/library/cpp/openssl/holders/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(cpp-openssl-holders) target_link_libraries(cpp-openssl-holders PUBLIC diff --git a/library/cpp/openssl/init/CMakeLists.txt b/library/cpp/openssl/init/CMakeLists.txt index 3ec2c1ece4..b54158108d 100644 --- a/library/cpp/openssl/init/CMakeLists.txt +++ b/library/cpp/openssl/init/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(cpp-openssl-init) target_link_libraries(cpp-openssl-init PUBLIC diff --git a/library/cpp/openssl/io/CMakeLists.txt b/library/cpp/openssl/io/CMakeLists.txt index 7d1369237e..3e235c9564 100644 --- a/library/cpp/openssl/io/CMakeLists.txt +++ b/library/cpp/openssl/io/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(cpp-openssl-io) target_link_libraries(cpp-openssl-io PUBLIC diff --git a/library/cpp/openssl/method/CMakeLists.txt b/library/cpp/openssl/method/CMakeLists.txt index 729948fc0f..6884fe9f74 100644 --- a/library/cpp/openssl/method/CMakeLists.txt +++ b/library/cpp/openssl/method/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(cpp-openssl-method) target_link_libraries(cpp-openssl-method PUBLIC diff --git a/library/cpp/threading/future/subscription/ya.make b/library/cpp/threading/future/subscription/ya.make index cb75731dbf..7ea9b372ed 100644 --- a/library/cpp/threading/future/subscription/ya.make +++ b/library/cpp/threading/future/subscription/ya.make @@ -4,6 +4,10 @@ OWNER( ishfb ) +SUBSCRIBER( + swarmer +) + LIBRARY() SRCS( diff --git a/library/cpp/threading/future/ya.make b/library/cpp/threading/future/ya.make index 6591031f46..fb3ec3c7a3 100644 --- a/library/cpp/threading/future/ya.make +++ b/library/cpp/threading/future/ya.make @@ -2,6 +2,10 @@ OWNER( g:rtmr ) +SUBSCRIBER( + swarmer +) + LIBRARY() SRCS( diff --git a/library/cpp/tld/CMakeLists.txt b/library/cpp/tld/CMakeLists.txt index 21eab54fef..14652e31de 100644 --- a/library/cpp/tld/CMakeLists.txt +++ b/library/cpp/tld/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(Python2) +find_package(Python2 REQUIRED) add_library(library-cpp-tld) target_link_libraries(library-cpp-tld PUBLIC diff --git a/library/cpp/unicode/punycode/CMakeLists.txt b/library/cpp/unicode/punycode/CMakeLists.txt index 9766efd5d1..3a59a46ac1 100644 --- a/library/cpp/unicode/punycode/CMakeLists.txt +++ b/library/cpp/unicode/punycode/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(libidn) +find_package(libidn REQUIRED) add_library(cpp-unicode-punycode) target_link_libraries(cpp-unicode-punycode PUBLIC diff --git a/library/cpp/uri/CMakeLists.txt b/library/cpp/uri/CMakeLists.txt index 332a12e943..5f5d54a9f0 100644 --- a/library/cpp/uri/CMakeLists.txt +++ b/library/cpp/uri/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(libidn) +find_package(libidn REQUIRED) add_library(library-cpp-uri) target_link_libraries(library-cpp-uri PUBLIC diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt index e219c34d63..f0d69c200d 100644 --- a/util/CMakeLists.txt +++ b/util/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(ZLIB) +find_package(ZLIB REQUIRED) add_library(yutil) target_compile_options(yutil PRIVATE diff --git a/ydb/core/ymq/actor/CMakeLists.txt b/ydb/core/ymq/actor/CMakeLists.txt index cab0253e25..1f642c38bc 100644 --- a/ydb/core/ymq/actor/CMakeLists.txt +++ b/ydb/core/ymq/actor/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(core-ymq-actor) target_compile_options(core-ymq-actor PRIVATE diff --git a/ydb/core/ymq/base/CMakeLists.txt b/ydb/core/ymq/base/CMakeLists.txt index 36ad5f1bbc..b6192509b0 100644 --- a/ydb/core/ymq/base/CMakeLists.txt +++ b/ydb/core/ymq/base/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(core-ymq-base) target_link_libraries(core-ymq-base PUBLIC diff --git a/ydb/core/yq/libs/hmac/CMakeLists.txt b/ydb/core/yq/libs/hmac/CMakeLists.txt index 60a7ee0d37..e6a7618c95 100644 --- a/ydb/core/yq/libs/hmac/CMakeLists.txt +++ b/ydb/core/yq/libs/hmac/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(yq-libs-hmac) target_link_libraries(yq-libs-hmac PUBLIC diff --git a/ydb/library/http_proxy/authorization/CMakeLists.txt b/ydb/library/http_proxy/authorization/CMakeLists.txt index 96b2f66867..54fc6d2754 100644 --- a/ydb/library/http_proxy/authorization/CMakeLists.txt +++ b/ydb/library/http_proxy/authorization/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(library-http_proxy-authorization) target_link_libraries(library-http_proxy-authorization PUBLIC diff --git a/ydb/library/pdisk_io/CMakeLists.txt b/ydb/library/pdisk_io/CMakeLists.txt index 3c0d067ff5..e5af6e4be2 100644 --- a/ydb/library/pdisk_io/CMakeLists.txt +++ b/ydb/library/pdisk_io/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(AIO) +find_package(AIO REQUIRED) add_library(ydb-library-pdisk_io) target_link_libraries(ydb-library-pdisk_io PUBLIC diff --git a/ydb/library/yql/udfs/common/digest/CMakeLists.txt b/ydb/library/yql/udfs/common/digest/CMakeLists.txt index f15971c8cb..a47a7e5345 100644 --- a/ydb/library/yql/udfs/common/digest/CMakeLists.txt +++ b/ydb/library/yql/udfs/common/digest/CMakeLists.txt @@ -1,4 +1,4 @@ -find_package(OpenSSL) +find_package(OpenSSL REQUIRED) add_library(digest_udf INTERFACE) target_link_libraries(digest_udf INTERFACE |