aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2024-10-28 20:34:11 +0000
committerAlexander Smirnov <alex@ydb.tech>2024-10-28 20:34:11 +0000
commitef9875b11a33dbd25e92bc6b4cf692c18c9ba0ce (patch)
tree1f2fd4e4d9e585da35937b42fbda5f854af04728 /contrib/libs
parent37ae9cc90160b53eb0e22021c47b3996a01cd656 (diff)
parente3c8507a3d1cb090278f211232ddfde3bedc54d4 (diff)
downloadydb-ef9875b11a33dbd25e92bc6b4cf692c18c9ba0ce.tar.gz
Merge branch 'rightlib' into mergelibs-241028-2033
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/clang16-rt/lib/msan/ya.make4
-rw-r--r--contrib/libs/cxxsupp/builtins/.yandex_meta/build.ym48
-rw-r--r--contrib/libs/cxxsupp/builtins/ya.make698
-rw-r--r--contrib/libs/hyperscan/.yandex_meta/__init__.py1
4 files changed, 562 insertions, 189 deletions
diff --git a/contrib/libs/clang16-rt/lib/msan/ya.make b/contrib/libs/clang16-rt/lib/msan/ya.make
index dcb03a8033..e08113531b 100644
--- a/contrib/libs/clang16-rt/lib/msan/ya.make
+++ b/contrib/libs/clang16-rt/lib/msan/ya.make
@@ -27,6 +27,10 @@ NO_UTIL()
NO_SANITIZE()
+IF(MAPSMOBI_BUILD_TARGET == "yes")
+ NO_OPTIMIZE()
+ENDIF()
+
CFLAGS(
-DHAVE_RPC_XDR_H=0
-DUBSAN_CAN_USE_CXXABI
diff --git a/contrib/libs/cxxsupp/builtins/.yandex_meta/build.ym b/contrib/libs/cxxsupp/builtins/.yandex_meta/build.ym
index 573546c8a5..bfbe52b4bc 100644
--- a/contrib/libs/cxxsupp/builtins/.yandex_meta/build.ym
+++ b/contrib/libs/cxxsupp/builtins/.yandex_meta/build.ym
@@ -72,21 +72,48 @@ ENDIF()
{% block gen_ya_make %}
(
cd lib/builtins
+
+cat << EOF > join.py
+import os
+import sys
+
+common = open(sys.argv[1]).read().strip().split('\n')
+special = open(sys.argv[2]).read().strip().split('\n')
+
+def name(n):
+ return os.path.basename(n).split('.')[0]
+
+sset = frozenset([name(x) for x in special])
+
+def it_srcs():
+ for x in common:
+ if name(x) not in sset:
+ yield x
+
+ yield from special
+
+print('\n'.join(sorted(list(it_srcs()))).strip())
+EOF
+
+ls *.c > common
+
+echo 'IF (ARCH_AARCH64)'
echo 'SRCS('
-ls *.c | sort
+ls aarch64/*.c aarch64/*.S > special
+python3 join.py common special
echo ')'
-echo 'IF (ARCH_AARCH64)'
+echo 'ELSEIF (ARCH_X86_64)'
echo 'SRCS('
-ls aarch64/*.c | sort
-ls aarch64/*.S | sort
+ls x86_64/*.c x86_64/*.S > special
+python3 join.py common special
echo ')'
-echo 'ENDIF()'
-echo 'IF (ARCH_X86_64)'
+echo 'ELSE()'
echo 'SRCS('
-ls x86_64/*.c | sort
-ls x86_64/*.S | sort
+cat common | sort
echo ')'
echo 'ENDIF()'
+
+rm join.py common special
) >> ya.make
{% endblock %}
@@ -94,3 +121,8 @@ echo 'ENDIF()'
{{super()}}
cp -R lib/builtins/* ${OUTPUT}/
{% endblock %}
+
+{% block run_license_analyzer %}
+{{super()}}
+sed -e 's|.* LLVM.*||' -i ${OUTPUT}/ya.make
+{% endblock %}
diff --git a/contrib/libs/cxxsupp/builtins/ya.make b/contrib/libs/cxxsupp/builtins/ya.make
index 8b0bb97bd9..85ef0ccff7 100644
--- a/contrib/libs/cxxsupp/builtins/ya.make
+++ b/contrib/libs/cxxsupp/builtins/ya.make
@@ -5,6 +5,7 @@ LIBRARY()
LICENSE(
Apache-2.0 AND
Apache-2.0 WITH LLVM-exception AND
+
MIT AND
NCSA
)
@@ -59,199 +60,534 @@ IF (GCC OR CLANG)
NO_LTO()
ENDIF()
-SRCS(
- absvdi2.c
- absvsi2.c
- absvti2.c
- adddf3.c
- addsf3.c
- addtf3.c
- addvdi3.c
- addvsi3.c
- addvti3.c
- apple_versioning.c
- ashldi3.c
- ashlti3.c
- ashrdi3.c
- ashrti3.c
- atomic.c
- atomic_flag_clear.c
- atomic_flag_clear_explicit.c
- atomic_flag_test_and_set.c
- atomic_flag_test_and_set_explicit.c
- atomic_signal_fence.c
- atomic_thread_fence.c
- bswapdi2.c
- bswapsi2.c
- clear_cache.c
- clzdi2.c
- clzsi2.c
- clzti2.c
- cmpdi2.c
- cmpti2.c
- comparedf2.c
- comparesf2.c
- comparetf2.c
- cpu_model.c
- ctzdi2.c
- ctzsi2.c
- ctzti2.c
- divdc3.c
- divdf3.c
- divdi3.c
- divmoddi4.c
- divmodsi4.c
- divmodti4.c
- divsc3.c
- divsf3.c
- divsi3.c
- divtc3.c
- divtf3.c
- divti3.c
- divxc3.c
- emutls.c
- enable_execute_stack.c
- eprintf.c
- extenddftf2.c
- extendhfsf2.c
- extendhftf2.c
- extendsfdf2.c
- extendsftf2.c
- ffsdi2.c
- ffssi2.c
- ffsti2.c
- fixdfdi.c
- fixdfsi.c
- fixdfti.c
- fixsfdi.c
- fixsfsi.c
- fixsfti.c
- fixtfdi.c
- fixtfsi.c
- fixtfti.c
- fixunsdfdi.c
- fixunsdfsi.c
- fixunsdfti.c
- fixunssfdi.c
- fixunssfsi.c
- fixunssfti.c
- fixunstfdi.c
- fixunstfsi.c
- fixunstfti.c
- fixunsxfdi.c
- fixunsxfsi.c
- fixunsxfti.c
- fixxfdi.c
- fixxfti.c
- floatdidf.c
- floatdisf.c
- floatditf.c
- floatdixf.c
- floatsidf.c
- floatsisf.c
- floatsitf.c
- floattidf.c
- floattisf.c
- floattitf.c
- floattixf.c
- floatundidf.c
- floatundisf.c
- floatunditf.c
- floatundixf.c
- floatunsidf.c
- floatunsisf.c
- floatunsitf.c
- floatuntidf.c
- floatuntisf.c
- floatuntitf.c
- floatuntixf.c
- fp_mode.c
- gcc_personality_v0.c
- int_util.c
- lshrdi3.c
- lshrti3.c
- moddi3.c
- modsi3.c
- modti3.c
- muldc3.c
- muldf3.c
- muldi3.c
- mulodi4.c
- mulosi4.c
- muloti4.c
- mulsc3.c
- mulsf3.c
- multc3.c
- multf3.c
- multi3.c
- mulvdi3.c
- mulvsi3.c
- mulvti3.c
- mulxc3.c
- negdf2.c
- negdi2.c
- negsf2.c
- negti2.c
- negvdi2.c
- negvsi2.c
- negvti2.c
- os_version_check.c
- paritydi2.c
- paritysi2.c
- parityti2.c
- popcountdi2.c
- popcountsi2.c
- popcountti2.c
- powidf2.c
- powisf2.c
- powitf2.c
- powixf2.c
- subdf3.c
- subsf3.c
- subtf3.c
- subvdi3.c
- subvsi3.c
- subvti3.c
- trampoline_setup.c
- truncdfbf2.c
- truncdfhf2.c
- truncdfsf2.c
- truncsfbf2.c
- truncsfhf2.c
- trunctfdf2.c
- trunctfhf2.c
- trunctfsf2.c
- ucmpdi2.c
- ucmpti2.c
- udivdi3.c
- udivmoddi4.c
- udivmodsi4.c
- udivmodti4.c
- udivsi3.c
- udivti3.c
- umoddi3.c
- umodsi3.c
- umodti3.c
-)
-
IF (ARCH_AARCH64)
SRCS(
- aarch64/fp_mode.c
aarch64/chkstk.S
+ aarch64/fp_mode.c
+ absvdi2.c
+ absvsi2.c
+ absvti2.c
+ adddf3.c
+ addsf3.c
+ addtf3.c
+ addvdi3.c
+ addvsi3.c
+ addvti3.c
+ apple_versioning.c
+ ashldi3.c
+ ashlti3.c
+ ashrdi3.c
+ ashrti3.c
+ atomic.c
+ atomic_flag_clear.c
+ atomic_flag_clear_explicit.c
+ atomic_flag_test_and_set.c
+ atomic_flag_test_and_set_explicit.c
+ atomic_signal_fence.c
+ atomic_thread_fence.c
+ bswapdi2.c
+ bswapsi2.c
+ clear_cache.c
+ clzdi2.c
+ clzsi2.c
+ clzti2.c
+ cmpdi2.c
+ cmpti2.c
+ comparedf2.c
+ comparesf2.c
+ comparetf2.c
+ cpu_model.c
+ ctzdi2.c
+ ctzsi2.c
+ ctzti2.c
+ divdc3.c
+ divdf3.c
+ divdi3.c
+ divmoddi4.c
+ divmodsi4.c
+ divmodti4.c
+ divsc3.c
+ divsf3.c
+ divsi3.c
+ divtc3.c
+ divtf3.c
+ divti3.c
+ divxc3.c
+ emutls.c
+ enable_execute_stack.c
+ eprintf.c
+ extenddftf2.c
+ extendhfsf2.c
+ extendhftf2.c
+ extendsfdf2.c
+ extendsftf2.c
+ ffsdi2.c
+ ffssi2.c
+ ffsti2.c
+ fixdfdi.c
+ fixdfsi.c
+ fixdfti.c
+ fixsfdi.c
+ fixsfsi.c
+ fixsfti.c
+ fixtfdi.c
+ fixtfsi.c
+ fixtfti.c
+ fixunsdfdi.c
+ fixunsdfsi.c
+ fixunsdfti.c
+ fixunssfdi.c
+ fixunssfsi.c
+ fixunssfti.c
+ fixunstfdi.c
+ fixunstfsi.c
+ fixunstfti.c
+ fixunsxfdi.c
+ fixunsxfsi.c
+ fixunsxfti.c
+ fixxfdi.c
+ fixxfti.c
+ floatdidf.c
+ floatdisf.c
+ floatditf.c
+ floatdixf.c
+ floatsidf.c
+ floatsisf.c
+ floatsitf.c
+ floattidf.c
+ floattisf.c
+ floattitf.c
+ floattixf.c
+ floatundidf.c
+ floatundisf.c
+ floatunditf.c
+ floatundixf.c
+ floatunsidf.c
+ floatunsisf.c
+ floatunsitf.c
+ floatuntidf.c
+ floatuntisf.c
+ floatuntitf.c
+ floatuntixf.c
+ gcc_personality_v0.c
+ int_util.c
+ lshrdi3.c
+ lshrti3.c
+ moddi3.c
+ modsi3.c
+ modti3.c
+ muldc3.c
+ muldf3.c
+ muldi3.c
+ mulodi4.c
+ mulosi4.c
+ muloti4.c
+ mulsc3.c
+ mulsf3.c
+ multc3.c
+ multf3.c
+ multi3.c
+ mulvdi3.c
+ mulvsi3.c
+ mulvti3.c
+ mulxc3.c
+ negdf2.c
+ negdi2.c
+ negsf2.c
+ negti2.c
+ negvdi2.c
+ negvsi2.c
+ negvti2.c
+ os_version_check.c
+ paritydi2.c
+ paritysi2.c
+ parityti2.c
+ popcountdi2.c
+ popcountsi2.c
+ popcountti2.c
+ powidf2.c
+ powisf2.c
+ powitf2.c
+ powixf2.c
+ subdf3.c
+ subsf3.c
+ subtf3.c
+ subvdi3.c
+ subvsi3.c
+ subvti3.c
+ trampoline_setup.c
+ truncdfbf2.c
+ truncdfhf2.c
+ truncdfsf2.c
+ truncsfbf2.c
+ truncsfhf2.c
+ trunctfdf2.c
+ trunctfhf2.c
+ trunctfsf2.c
+ ucmpdi2.c
+ ucmpti2.c
+ udivdi3.c
+ udivmoddi4.c
+ udivmodsi4.c
+ udivmodti4.c
+ udivsi3.c
+ udivti3.c
+ umoddi3.c
+ umodsi3.c
+ umodti3.c
)
-ENDIF()
-
-IF (ARCH_X86_64)
+ELSEIF (ARCH_X86_64)
SRCS(
+ absvdi2.c
+ absvsi2.c
+ absvti2.c
+ adddf3.c
+ addsf3.c
+ addtf3.c
+ addvdi3.c
+ addvsi3.c
+ addvti3.c
+ apple_versioning.c
+ ashldi3.c
+ ashlti3.c
+ ashrdi3.c
+ ashrti3.c
+ atomic.c
+ atomic_flag_clear.c
+ atomic_flag_clear_explicit.c
+ atomic_flag_test_and_set.c
+ atomic_flag_test_and_set_explicit.c
+ atomic_signal_fence.c
+ atomic_thread_fence.c
+ bswapdi2.c
+ bswapsi2.c
+ clear_cache.c
+ clzdi2.c
+ clzsi2.c
+ clzti2.c
+ cmpdi2.c
+ cmpti2.c
+ comparedf2.c
+ comparesf2.c
+ comparetf2.c
+ cpu_model.c
+ ctzdi2.c
+ ctzsi2.c
+ ctzti2.c
+ divdc3.c
+ divdf3.c
+ divdi3.c
+ divmoddi4.c
+ divmodsi4.c
+ divmodti4.c
+ divsc3.c
+ divsf3.c
+ divsi3.c
+ divtc3.c
+ divtf3.c
+ divti3.c
+ divxc3.c
+ emutls.c
+ enable_execute_stack.c
+ eprintf.c
+ extenddftf2.c
+ extendhfsf2.c
+ extendhftf2.c
+ extendsfdf2.c
+ extendsftf2.c
+ ffsdi2.c
+ ffssi2.c
+ ffsti2.c
+ fixdfdi.c
+ fixdfsi.c
+ fixdfti.c
+ fixsfdi.c
+ fixsfsi.c
+ fixsfti.c
+ fixtfdi.c
+ fixtfsi.c
+ fixtfti.c
+ fixunsdfdi.c
+ fixunsdfsi.c
+ fixunsdfti.c
+ fixunssfdi.c
+ fixunssfsi.c
+ fixunssfti.c
+ fixunstfdi.c
+ fixunstfsi.c
+ fixunstfti.c
+ fixunsxfdi.c
+ fixunsxfsi.c
+ fixunsxfti.c
+ fixxfdi.c
+ fixxfti.c
+ floatditf.c
+ floatsidf.c
+ floatsisf.c
+ floatsitf.c
+ floattidf.c
+ floattisf.c
+ floattitf.c
+ floattixf.c
+ floatunditf.c
+ floatunsidf.c
+ floatunsisf.c
+ floatunsitf.c
+ floatuntidf.c
+ floatuntisf.c
+ floatuntitf.c
+ floatuntixf.c
+ fp_mode.c
+ gcc_personality_v0.c
+ int_util.c
+ lshrdi3.c
+ lshrti3.c
+ moddi3.c
+ modsi3.c
+ modti3.c
+ muldc3.c
+ muldf3.c
+ muldi3.c
+ mulodi4.c
+ mulosi4.c
+ muloti4.c
+ mulsc3.c
+ mulsf3.c
+ multc3.c
+ multf3.c
+ multi3.c
+ mulvdi3.c
+ mulvsi3.c
+ mulvti3.c
+ mulxc3.c
+ negdf2.c
+ negdi2.c
+ negsf2.c
+ negti2.c
+ negvdi2.c
+ negvsi2.c
+ negvti2.c
+ os_version_check.c
+ paritydi2.c
+ paritysi2.c
+ parityti2.c
+ popcountdi2.c
+ popcountsi2.c
+ popcountti2.c
+ powidf2.c
+ powisf2.c
+ powitf2.c
+ powixf2.c
+ subdf3.c
+ subsf3.c
+ subtf3.c
+ subvdi3.c
+ subvsi3.c
+ subvti3.c
+ trampoline_setup.c
+ truncdfbf2.c
+ truncdfhf2.c
+ truncdfsf2.c
+ truncsfbf2.c
+ truncsfhf2.c
+ trunctfdf2.c
+ trunctfhf2.c
+ trunctfsf2.c
+ ucmpdi2.c
+ ucmpti2.c
+ udivdi3.c
+ udivmoddi4.c
+ udivmodsi4.c
+ udivmodti4.c
+ udivsi3.c
+ udivti3.c
+ umoddi3.c
+ umodsi3.c
+ umodti3.c
+ x86_64/chkstk.S
+ x86_64/chkstk2.S
x86_64/floatdidf.c
x86_64/floatdisf.c
x86_64/floatdixf.c
- x86_64/chkstk2.S
- x86_64/chkstk.S
x86_64/floatundidf.S
x86_64/floatundisf.S
x86_64/floatundixf.S
)
+ELSE()
+ SRCS(
+ absvdi2.c
+ absvsi2.c
+ absvti2.c
+ adddf3.c
+ addsf3.c
+ addtf3.c
+ addvdi3.c
+ addvsi3.c
+ addvti3.c
+ apple_versioning.c
+ ashldi3.c
+ ashlti3.c
+ ashrdi3.c
+ ashrti3.c
+ atomic.c
+ atomic_flag_clear.c
+ atomic_flag_clear_explicit.c
+ atomic_flag_test_and_set.c
+ atomic_flag_test_and_set_explicit.c
+ atomic_signal_fence.c
+ atomic_thread_fence.c
+ bswapdi2.c
+ bswapsi2.c
+ clear_cache.c
+ clzdi2.c
+ clzsi2.c
+ clzti2.c
+ cmpdi2.c
+ cmpti2.c
+ comparedf2.c
+ comparesf2.c
+ comparetf2.c
+ cpu_model.c
+ ctzdi2.c
+ ctzsi2.c
+ ctzti2.c
+ divdc3.c
+ divdf3.c
+ divdi3.c
+ divmoddi4.c
+ divmodsi4.c
+ divmodti4.c
+ divsc3.c
+ divsf3.c
+ divsi3.c
+ divtc3.c
+ divtf3.c
+ divti3.c
+ divxc3.c
+ emutls.c
+ enable_execute_stack.c
+ eprintf.c
+ extenddftf2.c
+ extendhfsf2.c
+ extendhftf2.c
+ extendsfdf2.c
+ extendsftf2.c
+ ffsdi2.c
+ ffssi2.c
+ ffsti2.c
+ fixdfdi.c
+ fixdfsi.c
+ fixdfti.c
+ fixsfdi.c
+ fixsfsi.c
+ fixsfti.c
+ fixtfdi.c
+ fixtfsi.c
+ fixtfti.c
+ fixunsdfdi.c
+ fixunsdfsi.c
+ fixunsdfti.c
+ fixunssfdi.c
+ fixunssfsi.c
+ fixunssfti.c
+ fixunstfdi.c
+ fixunstfsi.c
+ fixunstfti.c
+ fixunsxfdi.c
+ fixunsxfsi.c
+ fixunsxfti.c
+ fixxfdi.c
+ fixxfti.c
+ floatdidf.c
+ floatdisf.c
+ floatditf.c
+ floatdixf.c
+ floatsidf.c
+ floatsisf.c
+ floatsitf.c
+ floattidf.c
+ floattisf.c
+ floattitf.c
+ floattixf.c
+ floatundidf.c
+ floatundisf.c
+ floatunditf.c
+ floatundixf.c
+ floatunsidf.c
+ floatunsisf.c
+ floatunsitf.c
+ floatuntidf.c
+ floatuntisf.c
+ floatuntitf.c
+ floatuntixf.c
+ fp_mode.c
+ gcc_personality_v0.c
+ int_util.c
+ lshrdi3.c
+ lshrti3.c
+ moddi3.c
+ modsi3.c
+ modti3.c
+ muldc3.c
+ muldf3.c
+ muldi3.c
+ mulodi4.c
+ mulosi4.c
+ muloti4.c
+ mulsc3.c
+ mulsf3.c
+ multc3.c
+ multf3.c
+ multi3.c
+ mulvdi3.c
+ mulvsi3.c
+ mulvti3.c
+ mulxc3.c
+ negdf2.c
+ negdi2.c
+ negsf2.c
+ negti2.c
+ negvdi2.c
+ negvsi2.c
+ negvti2.c
+ os_version_check.c
+ paritydi2.c
+ paritysi2.c
+ parityti2.c
+ popcountdi2.c
+ popcountsi2.c
+ popcountti2.c
+ powidf2.c
+ powisf2.c
+ powitf2.c
+ powixf2.c
+ subdf3.c
+ subsf3.c
+ subtf3.c
+ subvdi3.c
+ subvsi3.c
+ subvti3.c
+ trampoline_setup.c
+ truncdfbf2.c
+ truncdfhf2.c
+ truncdfsf2.c
+ truncsfbf2.c
+ truncsfhf2.c
+ trunctfdf2.c
+ trunctfhf2.c
+ trunctfsf2.c
+ ucmpdi2.c
+ ucmpti2.c
+ udivdi3.c
+ udivmoddi4.c
+ udivmodsi4.c
+ udivmodti4.c
+ udivsi3.c
+ udivti3.c
+ umoddi3.c
+ umodsi3.c
+ umodti3.c
+ )
ENDIF()
END()
diff --git a/contrib/libs/hyperscan/.yandex_meta/__init__.py b/contrib/libs/hyperscan/.yandex_meta/__init__.py
index 910fa36cbc..82a4450293 100644
--- a/contrib/libs/hyperscan/.yandex_meta/__init__.py
+++ b/contrib/libs/hyperscan/.yandex_meta/__init__.py
@@ -105,6 +105,7 @@ def post_install(self):
with self.yamakes["runtime_avx512"] as m:
# Do not sanitize to workaround the ICE in clang-16
+ # See DEVTOOLSSUPPORT-49258 for details.
m.NO_SANITIZE = True
with self.yamakes["."] as hyperscan: