aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest/argonish/internal
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
commit0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch)
tree4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/digest/argonish/internal
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/digest/argonish/internal')
-rw-r--r--library/cpp/digest/argonish/internal/argon2/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/digest/argonish/internal/argon2/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/digest/argonish/internal/argon2/CMakeLists.linux.txt18
-rw-r--r--library/cpp/digest/argonish/internal/argon2/CMakeLists.txt16
-rw-r--r--library/cpp/digest/argonish/internal/blake2b/CMakeLists.darwin.txt15
-rw-r--r--library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux-aarch64.txt16
-rw-r--r--library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux.txt16
-rw-r--r--library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt14
-rw-r--r--library/cpp/digest/argonish/internal/blamka/CMakeLists.darwin.txt15
-rw-r--r--library/cpp/digest/argonish/internal/blamka/CMakeLists.linux-aarch64.txt16
-rw-r--r--library/cpp/digest/argonish/internal/blamka/CMakeLists.linux.txt16
-rw-r--r--library/cpp/digest/argonish/internal/blamka/CMakeLists.txt14
-rw-r--r--library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt1
-rw-r--r--library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.darwin.txt14
-rw-r--r--library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux-aarch64.txt15
-rw-r--r--library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux.txt15
-rw-r--r--library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt13
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux.txt20
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt18
-rw-r--r--library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt1
-rw-r--r--library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt1
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt1
-rw-r--r--library/cpp/digest/argonish/internal/rotations/CMakeLists.darwin.txt14
-rw-r--r--library/cpp/digest/argonish/internal/rotations/CMakeLists.linux-aarch64.txt15
-rw-r--r--library/cpp/digest/argonish/internal/rotations/CMakeLists.linux.txt15
-rw-r--r--library/cpp/digest/argonish/internal/rotations/CMakeLists.txt13
28 files changed, 340 insertions, 46 deletions
diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..cded958216
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/argon2/CMakeLists.darwin.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_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/argon2/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ffa2bb1146
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/argon2/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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_library(argonish-internal-argon2 INTERFACE)
+target_link_libraries(argonish-internal-argon2 INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-blamka
+ argonish-internal-blake2b
+ cpp-threading-poor_man_openmp
+)
diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ffa2bb1146
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/argon2/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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_library(argonish-internal-argon2 INTERFACE)
+target_link_libraries(argonish-internal-argon2 INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-blamka
+ argonish-internal-blake2b
+ cpp-threading-poor_man_openmp
+)
diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt
index cded958216..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt
@@ -6,12 +6,10 @@
# 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
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3b3ff75316
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.darwin.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_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/blake2b/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b33e219cd5
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,16 @@
+
+# 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_library(argonish-internal-blake2b INTERFACE)
+target_link_libraries(argonish-internal-blake2b INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-rotations
+)
diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b33e219cd5
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux.txt
@@ -0,0 +1,16 @@
+
+# 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_library(argonish-internal-blake2b INTERFACE)
+target_link_libraries(argonish-internal-blake2b INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-rotations
+)
diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt
index 3b3ff75316..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt
@@ -6,10 +6,10 @@
# 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
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/digest/argonish/internal/blamka/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..61d5ee7284
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.darwin.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_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/blamka/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..9faf79895e
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,16 @@
+
+# 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_library(argonish-internal-blamka INTERFACE)
+target_link_libraries(argonish-internal-blamka INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-rotations
+)
diff --git a/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9faf79895e
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux.txt
@@ -0,0 +1,16 @@
+
+# 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_library(argonish-internal-blamka INTERFACE)
+target_link_libraries(argonish-internal-blamka INTERFACE
+ contrib-libs-linux-headers
+ 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 61d5ee7284..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt
@@ -6,10 +6,10 @@
# 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
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt
index 4b8bb68b72..1abe77ffed 100644
--- a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt
+++ b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_library(internal-proxies-avx2)
target_link_libraries(internal-proxies-avx2 PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
internal-proxies-macro
argonish-internal-argon2
diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..804d6035e6
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.darwin.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_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/macro/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..c20224ddd6
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux-aarch64.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_library(internal-proxies-macro INTERFACE)
+target_link_libraries(internal-proxies-macro INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux.txt
new file mode 100644
index 0000000000..c20224ddd6
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux.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_library(internal-proxies-macro INTERFACE)
+target_link_libraries(internal-proxies-macro INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt
index 804d6035e6..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt
@@ -6,9 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(internal-proxies-macro INTERFACE)
-target_link_libraries(internal-proxies-macro INTERFACE
- contrib-libs-cxxsupp
- yutil
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..86f8c18d61
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.darwin.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_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/ref/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a19f8b6157
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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_library(internal-proxies-ref)
+target_link_libraries(internal-proxies-ref PUBLIC
+ contrib-libs-linux-headers
+ 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/ref/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a19f8b6157
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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_library(internal-proxies-ref)
+target_link_libraries(internal-proxies-ref PUBLIC
+ contrib-libs-linux-headers
+ 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/ref/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt
index 86f8c18d61..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt
@@ -6,14 +6,10 @@
# 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
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt
index 353f9e487e..23f190dfb3 100644
--- a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt
+++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_library(internal-proxies-sse2)
target_link_libraries(internal-proxies-sse2 PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
internal-proxies-macro
argonish-internal-argon2
diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt
index 004aaa1e52..b96cac18a2 100644
--- a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt
+++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_library(internal-proxies-sse41)
target_link_libraries(internal-proxies-sse41 PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
internal-proxies-macro
argonish-internal-argon2
diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt
index 1a30e0e974..e3320f059b 100644
--- a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt
+++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_library(internal-proxies-ssse3)
target_link_libraries(internal-proxies-ssse3 PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
internal-proxies-macro
argonish-internal-argon2
diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..ebaa6579db
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.darwin.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_library(argonish-internal-rotations INTERFACE)
+target_link_libraries(argonish-internal-rotations INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..55cea73177
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux-aarch64.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_library(argonish-internal-rotations INTERFACE)
+target_link_libraries(argonish-internal-rotations INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux.txt
new file mode 100644
index 0000000000..55cea73177
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux.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_library(argonish-internal-rotations INTERFACE)
+target_link_libraries(argonish-internal-rotations INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt
index ebaa6579db..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt
@@ -6,9 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(argonish-internal-rotations INTERFACE)
-target_link_libraries(argonish-internal-rotations INTERFACE
- contrib-libs-cxxsupp
- yutil
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()