aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/base64
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/libs/base64
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/libs/base64')
-rw-r--r--contrib/libs/base64/avx2/ya.make30
-rw-r--r--contrib/libs/base64/neon32/ya.make21
-rw-r--r--contrib/libs/base64/neon64/ya.make26
-rw-r--r--contrib/libs/base64/plain32/ya.make21
-rw-r--r--contrib/libs/base64/plain64/ya.make21
-rw-r--r--contrib/libs/base64/ssse3/ya.make30
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()