diff options
author | svidyuk <svidyuk@yandex-team.com> | 2023-08-30 20:31:54 +0300 |
---|---|---|
committer | svidyuk <svidyuk@yandex-team.com> | 2023-08-30 20:50:06 +0300 |
commit | c76aaf823d18acf064939d806427b39cea1bbe16 (patch) | |
tree | d85585d1cea05124f3f264965654164b38a0591e /tools | |
parent | e7fbce1e36ca8d9a32abcc07805749d572a83dd3 (diff) | |
download | ydb-c76aaf823d18acf064939d806427b39cea1bbe16.tar.gz |
Fix input variable missprint
Diffstat (limited to 'tools')
17 files changed, 378 insertions, 0 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 8543f49ec5..333c877abf 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -6,5 +6,6 @@ # original buildsystem will not be accepted. +add_subdirectory(archiver) add_subdirectory(enum_parser) add_subdirectory(rescompiler) diff --git a/tools/archiver/CMakeLists.darwin-x86_64.txt b/tools/archiver/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..1a15b734db --- /dev/null +++ b/tools/archiver/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,30 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(archiver) +target_link_libraries(archiver PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + library-cpp-archive + cpp-digest-md5 + cpp-getopt-small +) +target_link_options(archiver PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC +) +target_sources(archiver PRIVATE + ${CMAKE_SOURCE_DIR}/tools/archiver/main.cpp +) +target_allocator(archiver + system_allocator +) +vcs_info(archiver) diff --git a/tools/archiver/CMakeLists.linux-aarch64.txt b/tools/archiver/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..d3947a906d --- /dev/null +++ b/tools/archiver/CMakeLists.linux-aarch64.txt @@ -0,0 +1,35 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(archiver) +target_link_libraries(archiver PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-archive + cpp-digest-md5 + cpp-getopt-small +) +target_link_options(archiver PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(archiver PRIVATE + ${CMAKE_SOURCE_DIR}/tools/archiver/main.cpp +) +target_allocator(archiver + cpp-malloc-jemalloc +) +vcs_info(archiver) diff --git a/tools/archiver/CMakeLists.linux-x86_64.txt b/tools/archiver/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..7ae5f5ed7f --- /dev/null +++ b/tools/archiver/CMakeLists.linux-x86_64.txt @@ -0,0 +1,37 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(archiver) +target_link_libraries(archiver PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + library-cpp-archive + cpp-digest-md5 + cpp-getopt-small +) +target_link_options(archiver PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(archiver PRIVATE + ${CMAKE_SOURCE_DIR}/tools/archiver/main.cpp +) +target_allocator(archiver + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(archiver) diff --git a/tools/archiver/CMakeLists.txt b/tools/archiver/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/tools/archiver/CMakeLists.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/tools/archiver/CMakeLists.windows-x86_64.txt b/tools/archiver/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..8788affad6 --- /dev/null +++ b/tools/archiver/CMakeLists.windows-x86_64.txt @@ -0,0 +1,25 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(archiver) +target_link_libraries(archiver PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + library-cpp-archive + cpp-digest-md5 + cpp-getopt-small +) +target_sources(archiver PRIVATE + ${CMAKE_SOURCE_DIR}/tools/archiver/main.cpp +) +target_allocator(archiver + system_allocator +) +vcs_info(archiver) diff --git a/tools/enum_parser/CMakeLists.txt b/tools/enum_parser/CMakeLists.txt index 345081d9a4..eab3cf5b12 100644 --- a/tools/enum_parser/CMakeLists.txt +++ b/tools/enum_parser/CMakeLists.txt @@ -6,4 +6,6 @@ # original buildsystem will not be accepted. +add_subdirectory(enum_parser) add_subdirectory(enum_serialization_runtime) +add_subdirectory(parse_enum) diff --git a/tools/enum_parser/enum_parser/CMakeLists.darwin-x86_64.txt b/tools/enum_parser/enum_parser/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..59d95687ab --- /dev/null +++ b/tools/enum_parser/enum_parser/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,29 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(enum_parser) +target_link_libraries(enum_parser PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-getopt-small + tools-enum_parser-parse_enum +) +target_link_options(enum_parser PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -fPIC +) +target_sources(enum_parser PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/enum_parser/main.cpp +) +target_allocator(enum_parser + system_allocator +) +vcs_info(enum_parser) diff --git a/tools/enum_parser/enum_parser/CMakeLists.linux-aarch64.txt b/tools/enum_parser/enum_parser/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..04196e5f08 --- /dev/null +++ b/tools/enum_parser/enum_parser/CMakeLists.linux-aarch64.txt @@ -0,0 +1,34 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(enum_parser) +target_link_libraries(enum_parser PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-getopt-small + tools-enum_parser-parse_enum +) +target_link_options(enum_parser PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(enum_parser PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/enum_parser/main.cpp +) +target_allocator(enum_parser + cpp-malloc-jemalloc +) +vcs_info(enum_parser) diff --git a/tools/enum_parser/enum_parser/CMakeLists.linux-x86_64.txt b/tools/enum_parser/enum_parser/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..18ccff5c55 --- /dev/null +++ b/tools/enum_parser/enum_parser/CMakeLists.linux-x86_64.txt @@ -0,0 +1,36 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(enum_parser) +target_link_libraries(enum_parser PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-getopt-small + tools-enum_parser-parse_enum +) +target_link_options(enum_parser PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(enum_parser PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/enum_parser/main.cpp +) +target_allocator(enum_parser + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache +) +vcs_info(enum_parser) diff --git a/tools/enum_parser/enum_parser/CMakeLists.txt b/tools/enum_parser/enum_parser/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/tools/enum_parser/enum_parser/CMakeLists.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/tools/enum_parser/enum_parser/CMakeLists.windows-x86_64.txt b/tools/enum_parser/enum_parser/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2684df8d52 --- /dev/null +++ b/tools/enum_parser/enum_parser/CMakeLists.windows-x86_64.txt @@ -0,0 +1,24 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(enum_parser) +target_link_libraries(enum_parser PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-getopt-small + tools-enum_parser-parse_enum +) +target_sources(enum_parser PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/enum_parser/main.cpp +) +target_allocator(enum_parser + system_allocator +) +vcs_info(enum_parser) diff --git a/tools/enum_parser/parse_enum/CMakeLists.darwin-x86_64.txt b/tools/enum_parser/parse_enum/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..6facd47e75 --- /dev/null +++ b/tools/enum_parser/parse_enum/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(tools-enum_parser-parse_enum) +target_link_libraries(tools-enum_parser-parse_enum PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cppparser +) +target_sources(tools-enum_parser-parse_enum PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/parse_enum/parse_enum.cpp +) diff --git a/tools/enum_parser/parse_enum/CMakeLists.linux-aarch64.txt b/tools/enum_parser/parse_enum/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..4798912c9f --- /dev/null +++ b/tools/enum_parser/parse_enum/CMakeLists.linux-aarch64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(tools-enum_parser-parse_enum) +target_link_libraries(tools-enum_parser-parse_enum PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cppparser +) +target_sources(tools-enum_parser-parse_enum PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/parse_enum/parse_enum.cpp +) diff --git a/tools/enum_parser/parse_enum/CMakeLists.linux-x86_64.txt b/tools/enum_parser/parse_enum/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..4798912c9f --- /dev/null +++ b/tools/enum_parser/parse_enum/CMakeLists.linux-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(tools-enum_parser-parse_enum) +target_link_libraries(tools-enum_parser-parse_enum PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-cppparser +) +target_sources(tools-enum_parser-parse_enum PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/parse_enum/parse_enum.cpp +) diff --git a/tools/enum_parser/parse_enum/CMakeLists.txt b/tools/enum_parser/parse_enum/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/tools/enum_parser/parse_enum/CMakeLists.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/tools/enum_parser/parse_enum/CMakeLists.windows-x86_64.txt b/tools/enum_parser/parse_enum/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..6facd47e75 --- /dev/null +++ b/tools/enum_parser/parse_enum/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(tools-enum_parser-parse_enum) +target_link_libraries(tools-enum_parser-parse_enum PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cppparser +) +target_sources(tools-enum_parser-parse_enum PRIVATE + ${CMAKE_SOURCE_DIR}/tools/enum_parser/parse_enum/parse_enum.cpp +) |