aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/base64
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/libs/base64
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
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()