diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/digest/argonish | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'library/cpp/digest/argonish')
14 files changed, 179 insertions, 0 deletions
diff --git a/library/cpp/digest/argonish/benchmark/ya.make b/library/cpp/digest/argonish/benchmark/ya.make new file mode 100644 index 0000000000..8d7d2a51fd --- /dev/null +++ b/library/cpp/digest/argonish/benchmark/ya.make @@ -0,0 +1,11 @@ +Y_BENCHMARK() + +PEERDIR( + library/cpp/digest/argonish +) + +SRCS( + mbench.cpp +) + +END() diff --git a/library/cpp/digest/argonish/internal/argon2/ya.make b/library/cpp/digest/argonish/internal/argon2/ya.make new file mode 100644 index 0000000000..f5220c3f61 --- /dev/null +++ b/library/cpp/digest/argonish/internal/argon2/ya.make @@ -0,0 +1,9 @@ +LIBRARY() + +PEERDIR( + library/cpp/digest/argonish/internal/blamka + library/cpp/digest/argonish/internal/blake2b + library/cpp/threading/poor_man_openmp +) + +END() diff --git a/library/cpp/digest/argonish/internal/blake2b/ya.make b/library/cpp/digest/argonish/internal/blake2b/ya.make new file mode 100644 index 0000000000..a0b99aa4b2 --- /dev/null +++ b/library/cpp/digest/argonish/internal/blake2b/ya.make @@ -0,0 +1,7 @@ +LIBRARY() + +PEERDIR( + library/cpp/digest/argonish/internal/rotations +) + +END() diff --git a/library/cpp/digest/argonish/internal/blamka/ya.make b/library/cpp/digest/argonish/internal/blamka/ya.make new file mode 100644 index 0000000000..a0b99aa4b2 --- /dev/null +++ b/library/cpp/digest/argonish/internal/blamka/ya.make @@ -0,0 +1,7 @@ +LIBRARY() + +PEERDIR( + library/cpp/digest/argonish/internal/rotations +) + +END() diff --git a/library/cpp/digest/argonish/internal/proxies/avx2/ya.make b/library/cpp/digest/argonish/internal/proxies/avx2/ya.make new file mode 100644 index 0000000000..efeed5ad4d --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/avx2/ya.make @@ -0,0 +1,16 @@ +LIBRARY() + +NO_UTIL() + +IF (ARCH_X86_64 OR ARCH_I386) + PEERDIR( + library/cpp/digest/argonish/internal/proxies/macro + library/cpp/digest/argonish/internal/argon2 + library/cpp/digest/argonish/internal/blake2b + ) + SRC_C_AVX2( + proxy_avx2.cpp + ) +ENDIF() + +END() diff --git a/library/cpp/digest/argonish/internal/proxies/macro/ya.make b/library/cpp/digest/argonish/internal/proxies/macro/ya.make new file mode 100644 index 0000000000..9865d255c8 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/macro/ya.make @@ -0,0 +1,3 @@ +LIBRARY() + +END() diff --git a/library/cpp/digest/argonish/internal/proxies/ref/ya.make b/library/cpp/digest/argonish/internal/proxies/ref/ya.make new file mode 100644 index 0000000000..e48de6d9eb --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/ref/ya.make @@ -0,0 +1,15 @@ +LIBRARY() + +NO_UTIL() + +PEERDIR( + library/cpp/digest/argonish/internal/proxies/macro + library/cpp/digest/argonish/internal/argon2 + library/cpp/digest/argonish/internal/blake2b +) + +SRCS( + proxy_ref.cpp +) + +END() diff --git a/library/cpp/digest/argonish/internal/proxies/sse2/ya.make b/library/cpp/digest/argonish/internal/proxies/sse2/ya.make new file mode 100644 index 0000000000..0598fb9c9a --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/sse2/ya.make @@ -0,0 +1,16 @@ +LIBRARY() + +NO_UTIL() + +IF (ARCH_X86_64 OR ARCH_I386) + PEERDIR( + library/cpp/digest/argonish/internal/proxies/macro + library/cpp/digest/argonish/internal/argon2 + library/cpp/digest/argonish/internal/blake2b + ) + SRC_C_SSE2( + proxy_sse2.cpp + ) +ENDIF() + +END() diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/ya.make b/library/cpp/digest/argonish/internal/proxies/sse41/ya.make new file mode 100644 index 0000000000..f0839adcb0 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/sse41/ya.make @@ -0,0 +1,16 @@ +LIBRARY() + +NO_UTIL() + +IF (ARCH_X86_64 OR ARCH_I386) + PEERDIR( + library/cpp/digest/argonish/internal/proxies/macro + library/cpp/digest/argonish/internal/argon2 + library/cpp/digest/argonish/internal/blake2b + ) + SRC_C_SSE41( + proxy_sse41.cpp + ) +ENDIF() + +END() diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/ya.make b/library/cpp/digest/argonish/internal/proxies/ssse3/ya.make new file mode 100644 index 0000000000..95e32e5ee0 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/ssse3/ya.make @@ -0,0 +1,17 @@ +LIBRARY() + +NO_UTIL() + +IF (ARCH_X86_64 OR ARCH_I386) + PEERDIR( + library/cpp/digest/argonish/internal/proxies/macro + library/cpp/digest/argonish/internal/argon2 + library/cpp/digest/argonish/internal/blake2b + ) + + SRC_C_SSSE3( + proxy_ssse3.cpp + ) +ENDIF() + +END() diff --git a/library/cpp/digest/argonish/internal/rotations/ya.make b/library/cpp/digest/argonish/internal/rotations/ya.make new file mode 100644 index 0000000000..9865d255c8 --- /dev/null +++ b/library/cpp/digest/argonish/internal/rotations/ya.make @@ -0,0 +1,3 @@ +LIBRARY() + +END() diff --git a/library/cpp/digest/argonish/ut/ya.make b/library/cpp/digest/argonish/ut/ya.make new file mode 100644 index 0000000000..38d41702d2 --- /dev/null +++ b/library/cpp/digest/argonish/ut/ya.make @@ -0,0 +1,11 @@ +UNITTEST_FOR(library/cpp/digest/argonish) + +PEERDIR( + library/cpp/digest/argonish +) + +SRCS( + ut.cpp +) + +END() diff --git a/library/cpp/digest/argonish/ut_fat/ya.make b/library/cpp/digest/argonish/ut_fat/ya.make new file mode 100644 index 0000000000..6f0a77611d --- /dev/null +++ b/library/cpp/digest/argonish/ut_fat/ya.make @@ -0,0 +1,19 @@ +UNITTEST_FOR(library/cpp/digest/argonish) + +PEERDIR( + library/cpp/digest/argonish +) + +SRCS( + ut.cpp +) + +TAG( + sb:intel_e5_2660v4 + ya:fat + ya:force_sandbox +) + +SIZE(LARGE) + +END() diff --git a/library/cpp/digest/argonish/ya.make b/library/cpp/digest/argonish/ya.make new file mode 100644 index 0000000000..771307059e --- /dev/null +++ b/library/cpp/digest/argonish/ya.make @@ -0,0 +1,29 @@ +LIBRARY() + +IF (ARCH_X86_64 OR ARCH_I386) + PEERDIR( + library/cpp/threading/poor_man_openmp + library/cpp/digest/argonish/internal/proxies/avx2 + library/cpp/digest/argonish/internal/proxies/ref + library/cpp/digest/argonish/internal/proxies/sse2 + library/cpp/digest/argonish/internal/proxies/sse41 + library/cpp/digest/argonish/internal/proxies/ssse3 + ) +ELSE() + PEERDIR( + library/cpp/threading/poor_man_openmp + library/cpp/digest/argonish/internal/proxies/ref + ) +ENDIF() + +SRCS( + factory/factory.cpp +) + +END() + +RECURSE( + benchmark + ut + ut_fat +) |