aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/digest/argonish/internal/proxies
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/proxies
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/digest/argonish/internal/proxies')
-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
12 files changed, 121 insertions, 17 deletions
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