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 /contrib/libs/base64 | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'contrib/libs/base64')
-rw-r--r-- | contrib/libs/base64/avx2/ya.make | 30 | ||||
-rw-r--r-- | contrib/libs/base64/neon32/ya.make | 21 | ||||
-rw-r--r-- | contrib/libs/base64/neon64/ya.make | 26 | ||||
-rw-r--r-- | contrib/libs/base64/plain32/ya.make | 21 | ||||
-rw-r--r-- | contrib/libs/base64/plain64/ya.make | 21 | ||||
-rw-r--r-- | contrib/libs/base64/ssse3/ya.make | 30 |
6 files changed, 149 insertions, 0 deletions
diff --git a/contrib/libs/base64/avx2/ya.make b/contrib/libs/base64/avx2/ya.make new file mode 100644 index 0000000000..d94d6c9061 --- /dev/null +++ b/contrib/libs/base64/avx2/ya.make @@ -0,0 +1,30 @@ +LIBRARY() + +LICENSE( + BSD-2-Clause AND + MIT +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + +NO_UTIL() + +SRCS( + codec_avx2.c + lib.c +) + +IF (ARCH_X86_64 OR ARCH_I386) + IF (MSVC AND NOT CLANG_CL) + CONLYFLAGS(/D__AVX2__=1) + ELSEIF (CLANG_CL) + CONLYFLAGS(-mavx2) + ELSE() + CONLYFLAGS( + -mavx2 + -std=c11 + ) + ENDIF() +ENDIF() + +END() diff --git a/contrib/libs/base64/neon32/ya.make b/contrib/libs/base64/neon32/ya.make new file mode 100644 index 0000000000..0e5890b95c --- /dev/null +++ b/contrib/libs/base64/neon32/ya.make @@ -0,0 +1,21 @@ +LIBRARY() + +LICENSE( + BSD-2-Clause AND + MIT +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + +NO_UTIL() + +SRCS( + codec_neon32.c + lib.c +) + +IF (OS_LINUX OR OS_DARWIN OR OS_ANDROID) + CONLYFLAGS(-std=c11) +ENDIF() + +END() diff --git a/contrib/libs/base64/neon64/ya.make b/contrib/libs/base64/neon64/ya.make new file mode 100644 index 0000000000..fc89901e70 --- /dev/null +++ b/contrib/libs/base64/neon64/ya.make @@ -0,0 +1,26 @@ +LIBRARY() + +LICENSE( + BSD-2-Clause AND + MIT +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + +NO_UTIL() + +SRCS( + codec_neon64.c + lib.c +) + +IF (ARCH_AARCH64 OR ARCH_ARM64) + IF (OS_LINUX OR OS_DARWIN OR OS_ANDROID) + CONLYFLAGS( + -march=armv8-a + -std=c11 + ) + ENDIF() +ENDIF() + +END() diff --git a/contrib/libs/base64/plain32/ya.make b/contrib/libs/base64/plain32/ya.make new file mode 100644 index 0000000000..ead784215c --- /dev/null +++ b/contrib/libs/base64/plain32/ya.make @@ -0,0 +1,21 @@ +LIBRARY() + +LICENSE( + BSD-2-Clause AND + MIT +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + +NO_UTIL() + +SRCS( + codec_plain.c + lib.c +) + +IF (OS_LINUX OR OS_DARWIN) + CONLYFLAGS(-std=c11) +ENDIF() + +END() diff --git a/contrib/libs/base64/plain64/ya.make b/contrib/libs/base64/plain64/ya.make new file mode 100644 index 0000000000..ead784215c --- /dev/null +++ b/contrib/libs/base64/plain64/ya.make @@ -0,0 +1,21 @@ +LIBRARY() + +LICENSE( + BSD-2-Clause AND + MIT +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + +NO_UTIL() + +SRCS( + codec_plain.c + lib.c +) + +IF (OS_LINUX OR OS_DARWIN) + CONLYFLAGS(-std=c11) +ENDIF() + +END() diff --git a/contrib/libs/base64/ssse3/ya.make b/contrib/libs/base64/ssse3/ya.make new file mode 100644 index 0000000000..3f686dfda0 --- /dev/null +++ b/contrib/libs/base64/ssse3/ya.make @@ -0,0 +1,30 @@ +LIBRARY() + +LICENSE( + BSD-2-Clause AND + MIT +) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + +NO_UTIL() + +SRCS( + codec_ssse3.c + lib.c +) + +IF (ARCH_X86_64 OR ARCH_I386) + IF (MSVC AND NOT CLANG_CL) + CONLYFLAGS(/D__SSSE3__=1) + ELSEIF (CLANG_CL) + CONLYFLAGS(-mssse3) + ELSE() + CONLYFLAGS( + -mssse3 + -std=c11 + ) + ENDIF() +ENDIF() + +END() |