aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest/old_crc
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2023-08-30 20:31:54 +0300
committersvidyuk <svidyuk@yandex-team.com>2023-08-30 20:50:06 +0300
commitc76aaf823d18acf064939d806427b39cea1bbe16 (patch)
treed85585d1cea05124f3f264965654164b38a0591e /library/cpp/digest/old_crc
parente7fbce1e36ca8d9a32abcc07805749d572a83dd3 (diff)
downloadydb-c76aaf823d18acf064939d806427b39cea1bbe16.tar.gz
Fix input variable missprint
Diffstat (limited to 'library/cpp/digest/old_crc')
-rw-r--r--library/cpp/digest/old_crc/CMakeLists.darwin-x86_64.txt16
-rw-r--r--library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt16
-rw-r--r--library/cpp/digest/old_crc/CMakeLists.linux-x86_64.txt16
-rw-r--r--library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt16
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.darwin-x86_64.txt27
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt32
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.linux-x86_64.txt34
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.txt17
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt22
9 files changed, 188 insertions, 8 deletions
diff --git a/library/cpp/digest/old_crc/CMakeLists.darwin-x86_64.txt b/library/cpp/digest/old_crc/CMakeLists.darwin-x86_64.txt
index e9d2c33ffe..a4caa8c756 100644
--- a/library/cpp/digest/old_crc/CMakeLists.darwin-x86_64.txt
+++ b/library/cpp/digest/old_crc/CMakeLists.darwin-x86_64.txt
@@ -6,6 +6,13 @@
# original buildsystem will not be accepted.
+add_subdirectory(gencrc)
+get_built_tool_path(
+ TOOL_gencrc_bin
+ TOOL_gencrc_dependency
+ library/cpp/digest/old_crc/gencrc
+ gencrc
+)
add_library(cpp-digest-old_crc)
target_link_libraries(cpp-digest-old_crc PUBLIC
@@ -20,9 +27,14 @@ add_custom_command(
OUTPUT
${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
DEPENDS
- ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc
+ ${TOOL_gencrc_bin}
COMMAND
- ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc
+ ${TOOL_gencrc_bin}
>
crc.inc
)
+if(NOT CMAKE_CROSSCOMPILING)
+ add_dependencies(cpp-digest-old_crc
+ gencrc
+)
+endif()
diff --git a/library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt b/library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt
index 63c1c715b1..a0883b65f5 100644
--- a/library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt
@@ -6,6 +6,13 @@
# original buildsystem will not be accepted.
+add_subdirectory(gencrc)
+get_built_tool_path(
+ TOOL_gencrc_bin
+ TOOL_gencrc_dependency
+ library/cpp/digest/old_crc/gencrc
+ gencrc
+)
add_library(cpp-digest-old_crc)
target_link_libraries(cpp-digest-old_crc PUBLIC
@@ -21,9 +28,14 @@ add_custom_command(
OUTPUT
${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
DEPENDS
- ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc
+ ${TOOL_gencrc_bin}
COMMAND
- ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc
+ ${TOOL_gencrc_bin}
>
crc.inc
)
+if(NOT CMAKE_CROSSCOMPILING)
+ add_dependencies(cpp-digest-old_crc
+ gencrc
+)
+endif()
diff --git a/library/cpp/digest/old_crc/CMakeLists.linux-x86_64.txt b/library/cpp/digest/old_crc/CMakeLists.linux-x86_64.txt
index 63c1c715b1..a0883b65f5 100644
--- a/library/cpp/digest/old_crc/CMakeLists.linux-x86_64.txt
+++ b/library/cpp/digest/old_crc/CMakeLists.linux-x86_64.txt
@@ -6,6 +6,13 @@
# original buildsystem will not be accepted.
+add_subdirectory(gencrc)
+get_built_tool_path(
+ TOOL_gencrc_bin
+ TOOL_gencrc_dependency
+ library/cpp/digest/old_crc/gencrc
+ gencrc
+)
add_library(cpp-digest-old_crc)
target_link_libraries(cpp-digest-old_crc PUBLIC
@@ -21,9 +28,14 @@ add_custom_command(
OUTPUT
${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
DEPENDS
- ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc
+ ${TOOL_gencrc_bin}
COMMAND
- ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc
+ ${TOOL_gencrc_bin}
>
crc.inc
)
+if(NOT CMAKE_CROSSCOMPILING)
+ add_dependencies(cpp-digest-old_crc
+ gencrc
+)
+endif()
diff --git a/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt b/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt
index 46890b5496..a4caa8c756 100644
--- a/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt
+++ b/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt
@@ -6,6 +6,13 @@
# original buildsystem will not be accepted.
+add_subdirectory(gencrc)
+get_built_tool_path(
+ TOOL_gencrc_bin
+ TOOL_gencrc_dependency
+ library/cpp/digest/old_crc/gencrc
+ gencrc
+)
add_library(cpp-digest-old_crc)
target_link_libraries(cpp-digest-old_crc PUBLIC
@@ -20,9 +27,14 @@ add_custom_command(
OUTPUT
${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
DEPENDS
- ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc.exe
+ ${TOOL_gencrc_bin}
COMMAND
- ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc.exe
+ ${TOOL_gencrc_bin}
>
crc.inc
)
+if(NOT CMAKE_CROSSCOMPILING)
+ add_dependencies(cpp-digest-old_crc
+ gencrc
+)
+endif()
diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin-x86_64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin-x86_64.txt
new file mode 100644
index 0000000000..64e8d803e5
--- /dev/null
+++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin-x86_64.txt
@@ -0,0 +1,27 @@
+
+# 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(gencrc)
+target_link_libraries(gencrc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+)
+target_link_options(gencrc PRIVATE
+ -Wl,-platform_version,macos,11.0,11.0
+ -fPIC
+ -fPIC
+)
+target_sources(gencrc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp
+)
+target_allocator(gencrc
+ system_allocator
+)
+vcs_info(gencrc)
diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..f4a3176047
--- /dev/null
+++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,32 @@
+
+# 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(gencrc)
+target_link_libraries(gencrc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_link_options(gencrc PRIVATE
+ -ldl
+ -lrt
+ -Wl,--no-as-needed
+ -fPIC
+ -fPIC
+ -lpthread
+ -lrt
+ -ldl
+)
+target_sources(gencrc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp
+)
+target_allocator(gencrc
+ cpp-malloc-jemalloc
+)
+vcs_info(gencrc)
diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-x86_64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-x86_64.txt
new file mode 100644
index 0000000000..33bcd9c559
--- /dev/null
+++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-x86_64.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(gencrc)
+target_link_libraries(gencrc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+)
+target_link_options(gencrc PRIVATE
+ -ldl
+ -lrt
+ -Wl,--no-as-needed
+ -fPIC
+ -fPIC
+ -lpthread
+ -lrt
+ -ldl
+)
+target_sources(gencrc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp
+)
+target_allocator(gencrc
+ cpp-malloc-tcmalloc
+ libs-tcmalloc-no_percpu_cache
+)
+vcs_info(gencrc)
diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt
new file mode 100644
index 0000000000..f8b31df0c1
--- /dev/null
+++ b/library/cpp/digest/old_crc/gencrc/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/library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt
new file mode 100644
index 0000000000..b2bfec2ccb
--- /dev/null
+++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt
@@ -0,0 +1,22 @@
+
+# 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(gencrc)
+target_link_libraries(gencrc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+)
+target_sources(gencrc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp
+)
+target_allocator(gencrc
+ system_allocator
+)
+vcs_info(gencrc)