Skip to content

Commit

Permalink
Merge pull request #14412 from ydb-platform/merge-libs-250211-0050
Browse files Browse the repository at this point in the history
  • Loading branch information
alexv-smirnov committed Feb 11, 2025
2 parents e86276c + f992866 commit c166bec
Show file tree
Hide file tree
Showing 272 changed files with 18,683 additions and 13,497 deletions.
5 changes: 4 additions & 1 deletion build/conf/go.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ GO_HOST_TARG_PARAMS=++host-os $GO_HOST_OS ++host-arch $GO_HOST_ARCH ++targ-os $G

# tag:go-specific
GOSTD_VERSION=1.22
when ($GOSTD_VERSION == "1.22") {
when ($GOSTD_VERSION == "1.23") {
GOSTD=contrib/go/_std_1.23/src
}
elsewhen ($GOSTD_VERSION == "1.22") {
GOSTD=contrib/go/_std_1.22/src
}
otherwise {
Expand Down
1 change: 1 addition & 0 deletions build/conf/licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@
"Facebook-SDK",
"FDK",
"Fftpack-2004",
"FreeBSD-DOC",
"FSFAP",
"FTL",
"GPL-1.0-or-later WITH Linux-syscall-note",
Expand Down
17 changes: 0 additions & 17 deletions build/conf/project_specific/yql_udf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,6 @@ module YQL_UDF_TEST: PY3TEST_BIN {
ENV(YQL_UDFRESOLVER_PATH="yql/essentials/tools/udf_resolver/udf_resolver")
}

module YQL_UDF_YDB_TEST: PY3TEST_BIN {
SET_APPEND(_MAKEFILE_INCLUDE_LIKE_DEPS canondata/result.json)

PEERDIR(yql/essentials/tests/common/udf_test)

DEPENDS(yql/essentials/tools/astdiff)
DEPENDS(yql/tools/yqlrun)
DEPENDS(yql/essentials/tools/udf_resolver)
DATA(arcadia/yql/essentials/mount)
DATA(arcadia/yql/essentials/cfg/udf_test)
ENV(YQL_ASTDIFF_PATH="yql/essentials/tools/astdiff/astdiff")
ENV(YQL_CONFIG_DIR="yql/essentials/cfg/udf_test")
ENV(YQL_YQLRUN_PATH="yql/tools/yqlrun/yqlrun")
ENV(YQL_SQL2YQL_PATH="yql/essentials/tools/sql2yql/sql2yql")
ENV(YQL_UDFRESOLVER_PATH="yql/essentials/tools/udf_resolver/udf_resolver")
}

module YQL_UDF_TEST_CONTRIB: PY3TEST_BIN {
SET_APPEND(_MAKEFILE_INCLUDE_LIKE_DEPS canondata/result.json)

Expand Down
10 changes: 5 additions & 5 deletions build/external_resources/ymake/public.resources.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"by_platform": {
"darwin": {
"uri": "sbr:7949054326"
"uri": "sbr:8000013577"
},
"darwin-arm64": {
"uri": "sbr:7949053519"
"uri": "sbr:8000012780"
},
"linux": {
"uri": "sbr:7949055512"
"uri": "sbr:8000014871"
},
"linux-aarch64": {
"uri": "sbr:7949052736"
"uri": "sbr:8000012216"
},
"win32-clang-cl": {
"uri": "sbr:7949054892"
"uri": "sbr:8000014239"
}
}
}
10 changes: 5 additions & 5 deletions build/external_resources/ymake/resources.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"by_platform": {
"darwin": {
"uri": "sbr:7949059406"
"uri": "sbr:8000017801"
},
"darwin-arm64": {
"uri": "sbr:7949058862"
"uri": "sbr:8000017375"
},
"linux": {
"uri": "sbr:7949061040"
"uri": "sbr:8000018764"
},
"linux-aarch64": {
"uri": "sbr:7949058277"
"uri": "sbr:8000016896"
},
"win32-clang-cl": {
"uri": "sbr:7949060018"
"uri": "sbr:8000018351"
}
}
}
12 changes: 12 additions & 0 deletions build/mapping.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@
"7903404398": "https://devtools-registry.s3.yandex.net/7903404398",
"7914217459": "https://devtools-registry.s3.yandex.net/7914217459",
"7948644946": "https://devtools-registry.s3.yandex.net/7948644946",
"7994647367": "https://devtools-registry.s3.yandex.net/7994647367",
"5486731632": "https://devtools-registry.s3.yandex.net/5486731632",
"5514350352": "https://devtools-registry.s3.yandex.net/5514350352",
"5514360398": "https://devtools-registry.s3.yandex.net/5514360398",
Expand Down Expand Up @@ -685,6 +686,7 @@
"7900623167": "https://devtools-registry.s3.yandex.net/7900623167",
"7922609627": "https://devtools-registry.s3.yandex.net/7922609627",
"7949054326": "https://devtools-registry.s3.yandex.net/7949054326",
"8000013577": "https://devtools-registry.s3.yandex.net/8000013577",
"5766171800": "https://devtools-registry.s3.yandex.net/5766171800",
"5805430761": "https://devtools-registry.s3.yandex.net/5805430761",
"5829025456": "https://devtools-registry.s3.yandex.net/5829025456",
Expand Down Expand Up @@ -749,6 +751,7 @@
"7900622686": "https://devtools-registry.s3.yandex.net/7900622686",
"7922609038": "https://devtools-registry.s3.yandex.net/7922609038",
"7949053519": "https://devtools-registry.s3.yandex.net/7949053519",
"8000012780": "https://devtools-registry.s3.yandex.net/8000012780",
"5766173070": "https://devtools-registry.s3.yandex.net/5766173070",
"5805432830": "https://devtools-registry.s3.yandex.net/5805432830",
"5829031598": "https://devtools-registry.s3.yandex.net/5829031598",
Expand Down Expand Up @@ -813,6 +816,7 @@
"7900624427": "https://devtools-registry.s3.yandex.net/7900624427",
"7922610908": "https://devtools-registry.s3.yandex.net/7922610908",
"7949055512": "https://devtools-registry.s3.yandex.net/7949055512",
"8000014871": "https://devtools-registry.s3.yandex.net/8000014871",
"5766171341": "https://devtools-registry.s3.yandex.net/5766171341",
"5805430188": "https://devtools-registry.s3.yandex.net/5805430188",
"5829023352": "https://devtools-registry.s3.yandex.net/5829023352",
Expand Down Expand Up @@ -877,6 +881,7 @@
"7900622150": "https://devtools-registry.s3.yandex.net/7900622150",
"7922608408": "https://devtools-registry.s3.yandex.net/7922608408",
"7949052736": "https://devtools-registry.s3.yandex.net/7949052736",
"8000012216": "https://devtools-registry.s3.yandex.net/8000012216",
"5766172695": "https://devtools-registry.s3.yandex.net/5766172695",
"5805432230": "https://devtools-registry.s3.yandex.net/5805432230",
"5829029743": "https://devtools-registry.s3.yandex.net/5829029743",
Expand Down Expand Up @@ -941,6 +946,7 @@
"7900623779": "https://devtools-registry.s3.yandex.net/7900623779",
"7922610123": "https://devtools-registry.s3.yandex.net/7922610123",
"7949054892": "https://devtools-registry.s3.yandex.net/7949054892",
"8000014239": "https://devtools-registry.s3.yandex.net/8000014239",
"4307890075": "https://devtools-registry.s3.yandex.net/4307890075",
"5517245192": "https://devtools-registry.s3.yandex.net/5517245192",
"4307901240": "https://devtools-registry.s3.yandex.net/4307901240",
Expand Down Expand Up @@ -1717,6 +1723,7 @@
"7903404398": "devtools/ya/test/programs/test_tool/bin/test_tool for linux",
"7914217459": "devtools/ya/test/programs/test_tool/bin/test_tool for linux",
"7948644946": "devtools/ya/test/programs/test_tool/bin/test_tool for linux",
"7994647367": "devtools/ya/test/programs/test_tool/bin/test_tool for linux",
"5486731632": "devtools/ya/test/programs/test_tool/bin3/test_tool3 for linux",
"5514350352": "devtools/ya/test/programs/test_tool/bin3/test_tool3 for linux",
"5514360398": "devtools/ya/test/programs/test_tool/bin3/test_tool3 for linux",
Expand Down Expand Up @@ -1906,6 +1913,7 @@
"7900623167": "devtools/ymake/bin/ymake for darwin",
"7922609627": "devtools/ymake/bin/ymake for darwin",
"7949054326": "devtools/ymake/bin/ymake for darwin",
"8000013577": "devtools/ymake/bin/ymake for darwin",
"5766171800": "devtools/ymake/bin/ymake for darwin-arm64",
"5805430761": "devtools/ymake/bin/ymake for darwin-arm64",
"5829025456": "devtools/ymake/bin/ymake for darwin-arm64",
Expand Down Expand Up @@ -1970,6 +1978,7 @@
"7900622686": "devtools/ymake/bin/ymake for darwin-arm64",
"7922609038": "devtools/ymake/bin/ymake for darwin-arm64",
"7949053519": "devtools/ymake/bin/ymake for darwin-arm64",
"8000012780": "devtools/ymake/bin/ymake for darwin-arm64",
"5766173070": "devtools/ymake/bin/ymake for linux",
"5805432830": "devtools/ymake/bin/ymake for linux",
"5829031598": "devtools/ymake/bin/ymake for linux",
Expand Down Expand Up @@ -2034,6 +2043,7 @@
"7900624427": "devtools/ymake/bin/ymake for linux",
"7922610908": "devtools/ymake/bin/ymake for linux",
"7949055512": "devtools/ymake/bin/ymake for linux",
"8000014871": "devtools/ymake/bin/ymake for linux",
"5766171341": "devtools/ymake/bin/ymake for linux-aarch64",
"5805430188": "devtools/ymake/bin/ymake for linux-aarch64",
"5829023352": "devtools/ymake/bin/ymake for linux-aarch64",
Expand Down Expand Up @@ -2098,6 +2108,7 @@
"7900622150": "devtools/ymake/bin/ymake for linux-aarch64",
"7922608408": "devtools/ymake/bin/ymake for linux-aarch64",
"7949052736": "devtools/ymake/bin/ymake for linux-aarch64",
"8000012216": "devtools/ymake/bin/ymake for linux-aarch64",
"5766172695": "devtools/ymake/bin/ymake for win32-clang-cl",
"5805432230": "devtools/ymake/bin/ymake for win32-clang-cl",
"5829029743": "devtools/ymake/bin/ymake for win32-clang-cl",
Expand Down Expand Up @@ -2162,6 +2173,7 @@
"7900623779": "devtools/ymake/bin/ymake for win32-clang-cl",
"7922610123": "devtools/ymake/bin/ymake for win32-clang-cl",
"7949054892": "devtools/ymake/bin/ymake for win32-clang-cl",
"8000014239": "devtools/ymake/bin/ymake for win32-clang-cl",
"4307890075": "flake8_linter for linux",
"5517245192": "flake8_linter for linux",
"4307901240": "flake8_linter for linux-aarch64",
Expand Down
10 changes: 5 additions & 5 deletions build/platform/test_tool/host.ya.make.inc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
IF (HOST_OS_DARWIN AND HOST_ARCH_X86_64)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7948640341)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7994789266)
ELSEIF (HOST_OS_DARWIN AND HOST_ARCH_ARM64)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7948639335)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7994784587)
ELSEIF (HOST_OS_LINUX AND HOST_ARCH_X86_64)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7948643524)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7994797288)
ELSEIF (HOST_OS_LINUX AND HOST_ARCH_AARCH64)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7948638449)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7994780427)
ELSEIF (HOST_OS_WINDOWS AND HOST_ARCH_X86_64)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7948641537)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7994793586)

ENDIF()
10 changes: 5 additions & 5 deletions build/platform/test_tool/host_os.ya.make.inc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
IF (HOST_OS_DARWIN AND HOST_ARCH_X86_64)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7948642784)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7994642530)
ELSEIF (HOST_OS_DARWIN AND HOST_ARCH_ARM64)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7948641644)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7994640050)
ELSEIF (HOST_OS_LINUX AND HOST_ARCH_X86_64)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7948644946)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7994647367)
ELSEIF (HOST_OS_LINUX AND HOST_ARCH_AARCH64)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7948640691)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7994637838)
ELSEIF (HOST_OS_WINDOWS AND HOST_ARCH_X86_64)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7948644187)
DECLARE_EXTERNAL_RESOURCE(TEST_TOOL_HOST sbr:7994644702)

ENDIF()
13 changes: 7 additions & 6 deletions build/ymake.core.conf
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ otherwise {
}

FAIL_MODULE_CMD=$YMAKE_PYTHON3 ${input:"build/scripts/fail_module_cmd.py"} $TARGET ${hide;kv:"p ER"} ${hide;kv:"pc red"}
FAIL_EXPR=ERROR
DEFAULT_TIDY_CONFIG=build/config/tests/clang_tidy/config.yaml
PROJECT_TIDY_CONFIG=build/config/tests/clang_tidy/config.yaml
TIDY=
Expand Down Expand Up @@ -1157,6 +1158,12 @@ module _BASE_PROGRAM: _LINK_UNIT {
SET(MODULE_LANG CPP)
FORCE_COVERAGE_ENABLED=yes

when ($OS_EMSCRIPTEN == "yes") {
# For WASM platforms at present we just check that code compiles successfully,
# these entries need to suppress linker errors.
LDFLAGS += -Wl,--no-entry
LDFLAGS += -Wl,--import-undefined
}
when ($OS_IOS == "yes") {
EXTS+=.ios.interface
}
Expand Down Expand Up @@ -1301,12 +1308,6 @@ module _BASE_UNITTEST: _BASE_PROGRAM {
when ($UT_SKIP_EXCEPTIONS == "yes") {
C_DEFINES+=-DUT_SKIP_EXCEPTIONS
}
when ($OS_EMSCRIPTEN == "yes") {
# For WASM platforms at present we just check that code compiles without errors,
# these entries just suppresses linker errors.
LDFLAGS += -Wl,--no-entry
LDFLAGS += -Wl,--import-undefined
}
SET_APPEND(_MAKEFILE_INCLUDE_LIKE_DEPS canondata/result.json)
# Assume that no code may depend on unit test output and thus
# do not mandate license markup in such modules.
Expand Down
2 changes: 1 addition & 1 deletion build/ymake_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2387,7 +2387,7 @@ def have_cuda_in_arcadia(self):
if not self.cuda_version.from_user:
return False

if self.cuda_version.value in ('11.4', '11.8', '12.1', '12.2', '12.6', '12.6.0'):
if self.cuda_version.value in ('11.4', '11.8', '12.1', '12.2', '12.6'):
return True
elif self.cuda_version.value in ('10.2', '11.4.19') and target.is_linux_armv8:
return True
Expand Down
30 changes: 30 additions & 0 deletions contrib/libs/grpc/patches/pr37742_gzip.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
--- a/src/core/ext/filters/client_channel/retry_filter.cc (index)
+++ b/src/core/ext/filters/client_channel/retry_filter.cc (working tree)
@@ -462,6 +462,9 @@ class RetryFilter::CallData {
grpc_transport_stream_op_batch_payload batch_payload_;
// For send_initial_metadata.
grpc_metadata_batch send_initial_metadata_{calld_->arena_};
+
+ SliceBuffer send_message_;
+
// For send_trailing_metadata.
grpc_metadata_batch send_trailing_metadata_{calld_->arena_};
// For intercepting recv_initial_metadata.
@@ -1911,6 +1914,7 @@ void RetryFilter::CallData::CallAttempt::BatchData::OnComplete(
}
if (batch_data->batch_.send_message) {
++call_attempt->completed_send_message_count_;
+ call_attempt->send_message_.Clear();
}
if (batch_data->batch_.send_trailing_metadata) {
call_attempt->completed_send_trailing_metadata_ = true;
@@ -1999,7 +2003,8 @@ void RetryFilter::CallData::CallAttempt::BatchData::
calld->send_messages_[call_attempt_->started_send_message_count_];
++call_attempt_->started_send_message_count_;
batch_.send_message = true;
- batch_.payload->send_message.send_message = cache.slices;
+ call_attempt_->send_message_ = cache.slices->Copy();
+ batch_.payload->send_message.send_message = &call_attempt_->send_message_;
batch_.payload->send_message.flags = cache.flags;
}

Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,9 @@ class RetryFilter::CallData {
grpc_transport_stream_op_batch_payload batch_payload_;
// For send_initial_metadata.
grpc_metadata_batch send_initial_metadata_{calld_->arena_};

SliceBuffer send_message_;

// For send_trailing_metadata.
grpc_metadata_batch send_trailing_metadata_{calld_->arena_};
// For intercepting recv_initial_metadata.
Expand Down Expand Up @@ -1911,6 +1914,7 @@ void RetryFilter::CallData::CallAttempt::BatchData::OnComplete(
}
if (batch_data->batch_.send_message) {
++call_attempt->completed_send_message_count_;
call_attempt->send_message_.Clear();
}
if (batch_data->batch_.send_trailing_metadata) {
call_attempt->completed_send_trailing_metadata_ = true;
Expand Down Expand Up @@ -1999,7 +2003,8 @@ void RetryFilter::CallData::CallAttempt::BatchData::
calld->send_messages_[call_attempt_->started_send_message_count_];
++call_attempt_->started_send_message_count_;
batch_.send_message = true;
batch_.payload->send_message.send_message = cache.slices;
call_attempt_->send_message_ = cache.slices->Copy();
batch_.payload->send_message.send_message = &call_attempt_->send_message_;
batch_.payload->send_message.flags = cache.flags;
}

Expand Down
4 changes: 2 additions & 2 deletions contrib/libs/libpng/.yandex_meta/override.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
pkgs: attrs: with pkgs; rec {
version = "1.6.45";
version = "1.6.46";

src = fetchFromGitHub {
owner = "pnggroup";
repo = "libpng";
rev = "v${version}";
hash = "sha256-kO0f65oHhnwrdhCIe2XbyihODxKKKWsJsh+QJS2uBtc=";
hash = "sha256-SP4rpTKFihEEyZ6Zuomy3mhhvIqMkWURjnrntsWO8fo=";
};

# nixpkgs applies apng patch from sourceforge.net, which changes for every libpng version.
Expand Down
27 changes: 13 additions & 14 deletions contrib/libs/libpng/ANNOUNCE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
libpng 1.6.45 - January 7, 2025
===============================
libpng 1.6.46 - January 23, 2025
================================

This is a public release of libpng, intended for use in production code.

Expand All @@ -9,13 +9,13 @@ Files available for download

Source files with LF line endings (for Unix/Linux):

* libpng-1.6.45.tar.xz (LZMA-compressed, recommended)
* libpng-1.6.45.tar.gz (deflate-compressed)
* libpng-1.6.46.tar.xz (LZMA-compressed, recommended)
* libpng-1.6.46.tar.gz (deflate-compressed)

Source files with CRLF line endings (for Windows):

* lpng1645.7z (LZMA-compressed, recommended)
* lpng1645.zip (deflate-compressed)
* lpng1646.7z (LZMA-compressed, recommended)
* lpng1646.zip (deflate-compressed)

Other information:

Expand All @@ -25,18 +25,17 @@ Other information:
* TRADEMARK.md


Changes from version 1.6.44 to version 1.6.45
Changes from version 1.6.45 to version 1.6.46
---------------------------------------------

* Added support for the cICP chunk.
(Contributed by Lucas Chollet and John Bowler)
* Adjusted and improved various checks in colorspace calculations.
* Added support for the mDCV and cLLI chunks.
(Contributed by John Bowler)
* Rearranged the write order of colorspace chunks for better conformance
with the PNG v3 draft specification.
* Fixed a build issue affecting C89 compilers.
This was a regression introduced in libpng-1.6.45.
(Contributed by John Bowler)
* Raised the minimum required CMake version from 3.6 to 3.14.
* Forked off a development branch for libpng version 1.8.
* Added makefile.c89, specifically for testing C89 compilers.
* Cleaned up contrib/pngminus: corrected an old typo, removed an old
workaround, and updated the CMake file.


Send comments/corrections/commendations to png-mng-implement at lists.sf.net.
Expand Down
Loading

0 comments on commit c166bec

Please sign in to comment.