diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
commit | 6324d075a5e80b6943b5de6b465b775050fe83df (patch) | |
tree | e02ce32e988042438f64df770a528164ac572879 /library/cpp/digest | |
parent | 039e25e1597bec288de44e5061c1b84e195add08 (diff) | |
download | ydb-6324d075a5e80b6943b5de6b465b775050fe83df.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/digest')
38 files changed, 413 insertions, 0 deletions
diff --git a/library/cpp/digest/argonish/CMakeLists.txt b/library/cpp/digest/argonish/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/argonish/CMakeLists.txt +++ b/library/cpp/digest/argonish/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..7b132051dad --- /dev/null +++ b/library/cpp/digest/argonish/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_subdirectory(internal) + +add_library(cpp-digest-argonish) +target_link_libraries(cpp-digest-argonish PUBLIC + contrib-libs-cxxsupp + yutil + cpp-threading-poor_man_openmp + internal-proxies-avx2 + internal-proxies-ref + internal-proxies-sse2 + internal-proxies-sse41 + internal-proxies-ssse3 +) +target_sources(cpp-digest-argonish PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/factory/factory.cpp +) diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..e2dbc9ace90 --- /dev/null +++ b/library/cpp/digest/argonish/internal/argon2/CMakeLists.windows-x86_64.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. + + + +add_library(argonish-internal-argon2 INTERFACE) +target_link_libraries(argonish-internal-argon2 INTERFACE + contrib-libs-cxxsupp + yutil + argonish-internal-blamka + argonish-internal-blake2b + cpp-threading-poor_man_openmp +) diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..63474af49f6 --- /dev/null +++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.windows-x86_64.txt @@ -0,0 +1,15 @@ + +# 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(argonish-internal-blake2b INTERFACE) +target_link_libraries(argonish-internal-blake2b INTERFACE + contrib-libs-cxxsupp + yutil + argonish-internal-rotations +) diff --git a/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/blamka/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..7e8d1fcb36b --- /dev/null +++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.windows-x86_64.txt @@ -0,0 +1,15 @@ + +# 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(argonish-internal-blamka INTERFACE) +target_link_libraries(argonish-internal-blamka INTERFACE + contrib-libs-cxxsupp + yutil + argonish-internal-rotations +) diff --git a/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..e34d1b90656 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/CMakeLists.windows-x86_64.txt @@ -0,0 +1,14 @@ + +# 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_subdirectory(avx2) +add_subdirectory(macro) +add_subdirectory(ref) +add_subdirectory(sse2) +add_subdirectory(sse41) +add_subdirectory(ssse3) diff --git a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt index a603bef54ed..bb0d0ecd25f 100644 --- a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt @@ -8,6 +8,8 @@ if (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..665a06a7b6f --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/avx2/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_library(internal-proxies-avx2) +target_link_libraries(internal-proxies-avx2 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-avx2 + .avx2 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/avx2/proxy_avx2.cpp + CUSTOM_FLAGS + /arch:AVX2 + /DAVX2_ENABLED=1 +) diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..bb153d887af --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.windows-x86_64.txt @@ -0,0 +1,14 @@ + +# 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(internal-proxies-macro INTERFACE) +target_link_libraries(internal-proxies-macro INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..f4ed53513cc --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.windows-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(internal-proxies-ref) +target_link_libraries(internal-proxies-ref PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources(internal-proxies-ref PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ref/proxy_ref.cpp +) diff --git a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt index a603bef54ed..bb0d0ecd25f 100644 --- a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt @@ -8,6 +8,8 @@ if (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..e929684c1e5 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# 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(internal-proxies-sse2) +target_link_libraries(internal-proxies-sse2 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-sse2 + .sse2 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse2/proxy_sse2.cpp + CUSTOM_FLAGS + /D__SSE2__=1 +) diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt index a603bef54ed..bb0d0ecd25f 100644 --- a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt @@ -8,6 +8,8 @@ if (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..68503d8c632 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# 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(internal-proxies-sse41) +target_link_libraries(internal-proxies-sse41 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-sse41 + .sse41 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse41/proxy_sse41.cpp + CUSTOM_FLAGS + /D__SSE4_1__=1 +) diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt index a603bef54ed..bb0d0ecd25f 100644 --- a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt @@ -8,6 +8,8 @@ if (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..71c2df1d19f --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# 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(internal-proxies-ssse3) +target_link_libraries(internal-proxies-ssse3 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources_custom(internal-proxies-ssse3 + .ssse3 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ssse3/proxy_ssse3.cpp + CUSTOM_FLAGS + /D__SSSE3__=1 +) diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..b4468ed3514 --- /dev/null +++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.windows-x86_64.txt @@ -0,0 +1,14 @@ + +# 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(argonish-internal-rotations INTERFACE) +target_link_libraries(argonish-internal-rotations INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/digest/crc32c/CMakeLists.txt b/library/cpp/digest/crc32c/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/crc32c/CMakeLists.txt +++ b/library/cpp/digest/crc32c/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/crc32c/CMakeLists.windows-x86_64.txt b/library/cpp/digest/crc32c/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..295652eae02 --- /dev/null +++ b/library/cpp/digest/crc32c/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(cpp-digest-crc32c) +target_link_libraries(cpp-digest-crc32c PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-crcutil +) +target_sources(cpp-digest-crc32c PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/crc32c/crc32c.cpp +) diff --git a/library/cpp/digest/lower_case/CMakeLists.txt b/library/cpp/digest/lower_case/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/lower_case/CMakeLists.txt +++ b/library/cpp/digest/lower_case/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/lower_case/CMakeLists.windows-x86_64.txt b/library/cpp/digest/lower_case/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..5ab4c75fd03 --- /dev/null +++ b/library/cpp/digest/lower_case/CMakeLists.windows-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(cpp-digest-lower_case) +target_link_libraries(cpp-digest-lower_case PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-digest-lower_case PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lciter.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lchash.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/hash_ops.cpp +) diff --git a/library/cpp/digest/md5/CMakeLists.txt b/library/cpp/digest/md5/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/md5/CMakeLists.txt +++ b/library/cpp/digest/md5/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/md5/CMakeLists.windows-x86_64.txt b/library/cpp/digest/md5/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..bbf3a1fc1e2 --- /dev/null +++ b/library/cpp/digest/md5/CMakeLists.windows-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(cpp-digest-md5) +target_link_libraries(cpp-digest-md5 PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-nayuki_md5 + cpp-string_utils-base64 +) +target_sources(cpp-digest-md5 PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/md5/md5.cpp +) diff --git a/library/cpp/digest/murmur/CMakeLists.txt b/library/cpp/digest/murmur/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/murmur/CMakeLists.txt +++ b/library/cpp/digest/murmur/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/murmur/CMakeLists.windows-x86_64.txt b/library/cpp/digest/murmur/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..ac2e722ed81 --- /dev/null +++ b/library/cpp/digest/murmur/CMakeLists.windows-x86_64.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. + + + +add_library(cpp-digest-murmur) +target_link_libraries(cpp-digest-murmur PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-digest-murmur PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/murmur/murmur.cpp +) diff --git a/library/cpp/digest/old_crc/CMakeLists.txt b/library/cpp/digest/old_crc/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/old_crc/CMakeLists.txt +++ b/library/cpp/digest/old_crc/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) 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 new file mode 100644 index 00000000000..a4caa8c7569 --- /dev/null +++ b/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt @@ -0,0 +1,40 @@ + +# 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_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 + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-digest-old_crc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/crc.cpp + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc +) +add_custom_command( + OUTPUT + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc + DEPENDS + ${TOOL_gencrc_bin} + COMMAND + ${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.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID 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 00000000000..ca1d923ee24 --- /dev/null +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# 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 + cpp-malloc-system + library-cpp-cpuid_check +) +target_sources(gencrc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp +) +vcs_info(gencrc) diff --git a/library/cpp/digest/sfh/CMakeLists.txt b/library/cpp/digest/sfh/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/digest/sfh/CMakeLists.txt +++ b/library/cpp/digest/sfh/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE 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_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/sfh/CMakeLists.windows-x86_64.txt b/library/cpp/digest/sfh/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..53ca09e84ec --- /dev/null +++ b/library/cpp/digest/sfh/CMakeLists.windows-x86_64.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. + + + +add_library(cpp-digest-sfh) +target_link_libraries(cpp-digest-sfh PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-digest-sfh PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/sfh/sfh.cpp +) |