Skip to content

Sync branches 250809-0051: main to prestable-25-3 #22623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 54 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
baaca9d
additional flags for ANTL4 generated cpp files
snermolaev Aug 7, 2025
acd802e
Disable clang coverage with PGO
andrei-levitskii Aug 7, 2025
a073958
Intermediate changes
robot-piglet Aug 7, 2025
9765bb0
TPortManager shouldn't crash even if it doesn't have enough permissio…
ubyte Aug 7, 2025
d05af6b
Fix some codestyle issues for rXXXXXX
Aug 7, 2025
acba301
YT-25794: Add parametrizing error format in HTTP proxy
Aug 7, 2025
cd8fda2
Push non-member equality filter expressions over join
nepal Aug 7, 2025
17af943
Intermediate changes
robot-piglet Aug 7, 2025
a58c627
Intermediate changes
robot-piglet Aug 7, 2025
a246d60
Intermediate changes
robot-piglet Aug 7, 2025
d74a3f4
Don't push PruneKeys during Evaluate
Aug 7, 2025
319c53d
Intermediate changes
robot-piglet Aug 7, 2025
d586b7e
Upload new jdk-17.0.13+11
Aug 7, 2025
ad8ab8c
Move under ifdef strange methods
4JustMe4 Aug 7, 2025
6857498
nots/builder: Досыпать логирования об установке зависимостей
Aug 7, 2025
07cc9ee
Switch RESOURCES_LIBRARY() to the new command engine
authorius Aug 7, 2025
204564c
YDB Import 827
Aug 7, 2025
b500034
New version of the tld SKIP_CHECK SKIP_REVIEW
Aug 7, 2025
d75769e
Sync branches 250808-0051
ydbot Aug 8, 2025
608ba11
portion write controller fix (#22545)
dorooleg Aug 8, 2025
2323c40
remove self include (#22533)
uzhastik Aug 8, 2025
830dbae
sources aggregation has been disabled (#22540)
dorooleg Aug 8, 2025
d18580f
restrict database users access (#22513)
adameat Aug 8, 2025
546769d
Keep current config in disconnected DC (#22443)
Evgenik2 Aug 8, 2025
b34e8a0
Kafka: Fix defaults (#22518)
qyryq Aug 8, 2025
b51b4d0
deduplication fixes (#22497)
swalrus1 Aug 8, 2025
6966047
Added ability to add a transfer and a async replication to subdirecto…
nshestakov Aug 8, 2025
47bf508
Added _create_timestamp and _write_timestamp fields to the topic mess…
nshestakov Aug 8, 2025
213c5a4
Refactored sysview registry and added compatibility tests (#22296)
n00bcracker Aug 8, 2025
5ff926d
deduplication abortion handling (#22535)
swalrus1 Aug 8, 2025
1130071
Add more try-catch blocks to avoid unhandled exception (#17333) (#22470)
eivanov89 Aug 8, 2025
a798aa2
deduplication memory fixes (#22532)
swalrus1 Aug 8, 2025
6d9c938
Show Aggregation Pushdown in Explain Plan (#22495)
Hor911 Aug 8, 2025
84e06ac
Fixed lost secrets after alter the transfer or the async replication …
nshestakov Aug 8, 2025
9706794
Add changelog for PR #18484 (#22560)
UgnineSirdis Aug 8, 2025
7d9a946
Docs for SysView ds_pdisks, ds_groups, ds_storage_pools (#22276)
rosik Aug 8, 2025
900c867
Make 'unknown' branches instead NULL (#22569)
iddqdex Aug 8, 2025
10f796c
healthcheck: fix handling of response from a disconnected node (#22556)
vporyadke Aug 8, 2025
a642f40
CTAS: fix make (#22563)
nikvas0 Aug 8, 2025
fe092f2
EnableTempTables flag (#22475)
nikvas0 Aug 8, 2025
f233f13
Assign '+inf' to current version value in compatibility tests (#22575)
n00bcracker Aug 8, 2025
879cdf4
Update muted_ya.txt in main (#22465)
ydbot Aug 8, 2025
3623f27
Fixed describe of the paused state of the transfer (#22553)
nshestakov Aug 8, 2025
604a3ec
Topic SDK: fix in direct reader (#22539)
qyryq Aug 8, 2025
f2c19c8
Add UT for group cache, improve SentToWarden for local messages (#22541)
serbel324 Aug 8, 2025
efff3f2
enable simple reader in cs (#22468)
swalrus1 Aug 8, 2025
b9d5713
reduce memory usage by splitter in deduplication (#22555)
swalrus1 Aug 8, 2025
07b141b
[YQ-4427] Watermarks: RD: pushdown watermark expr to RD (#22411)
APozdniakov Aug 8, 2025
896dd78
Speed up Scheme Board unit tests (#22606)
jepett0 Aug 8, 2025
7695c8b
Handle DependsOn with tuple arg in optimizers - YDB part (#22485)
loochek Aug 8, 2025
e033988
Create counters instance for the memory profiles (#22617)
pzuev Aug 8, 2025
f98be89
Do not modify page states in TPrivateCache.PageMap (#22542)
kunga Aug 8, 2025
656353a
[C++ SDK] Update vector example (#22613)
Gazizonoki Aug 8, 2025
d9dcedf
Sync branches 250809-0051
ydbot Aug 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 32 additions & 23 deletions .github/config/muted_ya.txt

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ $launch_times = (
SELECT
launch_times_raw.*,
all_suites.*,
SubString(CAST(launch_times_raw.Version AS String), 0U, FIND(CAST(launch_times_raw.Version AS String), '.')) As Branch,
SubString(CAST(launch_times_raw.CiVersion AS String), 0U, FIND(CAST(launch_times_raw.CiVersion AS String), '.')) As CiBranch,
SubString(CAST(launch_times_raw.TestToolsVersion AS String), 0U, FIND(CAST(launch_times_raw.TestToolsVersion AS String), '.')) As TestToolsBranch,
COALESCE(SubString(CAST(launch_times_raw.Version AS String), 0U, FIND(CAST(launch_times_raw.Version AS String), '.')), 'unknown') As Branch,
COALESCE(SubString(CAST(launch_times_raw.CiVersion AS String), 0U, FIND(CAST(launch_times_raw.CiVersion AS String), '.')), 'unknown') As CiBranch,
COALESCE(SubString(CAST(launch_times_raw.TestToolsVersion AS String), 0U, FIND(CAST(launch_times_raw.TestToolsVersion AS String), '.')), 'unknown') As TestToolsBranch,
FROM (
SELECT
Db,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ SELECT
WHEN s.Db LIKE '%/row%' THEN 'row'
ELSE 'other'
END AS DbAlias,
SubString(CAST(s.Version AS String), 0U, FIND(CAST(s.Version AS String), '.')) As Branch,
SubString(CAST(s.CiVersion AS String), 0U, FIND(CAST(s.CiVersion AS String), '.')) As CiBranch,
SubString(CAST(s.TestToolsVersion AS String), 0U, FIND(CAST(s.TestToolsVersion AS String), '.')) As TestToolsBranch
COALESCE(SubString(CAST(s.Version AS String), 0U, FIND(CAST(s.Version AS String), '.')), 'unknown') As Branch,
COALESCE(SubString(CAST(s.CiVersion AS String), 0U, FIND(CAST(s.CiVersion AS String), '.')), 'unknown') As CiBranch,
COALESCE(SubString(CAST(s.TestToolsVersion AS String), 0U, FIND(CAST(s.TestToolsVersion AS String), '.')), 'unknown') As TestToolsBranch
FROM $suites AS s
LEFT JOIN $diff_tests AS d ON s.RunId = d.RunId AND s.Db = d.Db AND s.Suite = d.Suite
LEFT JOIN $fail_tests AS f ON s.RunId = f.RunId AND s.Db = f.Db AND s.Suite = f.Suite
2 changes: 1 addition & 1 deletion build/conf/compilers/msvc_compiler.conf
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ _SRC_C_NODEPS_CMD=${TOOLCHAIN_ENV} ${CL_WRAPPER} ${C_COMPILER} /c /Fo${OUTFILE}
_SRC_CPP_CMD_NEW=${TOOLCHAIN_ENV} ${CL_WRAPPER} ${CXX_COMPILER} /c /Fo$_COMPILE_OUTPUTS ${input:SRC} ${EXTRA_C_FLAGS} ${pre=/I :_C__INCLUDE} ${CXXFLAGS} ${SRCFLAGS} ${_LANG_CFLAGS_VALUE_NEW} ${hide;kv:"soe"} ${hide;kv:_C_CPP_KV_STYLE_P} ${hide;kv:_C_CPP_KV_STYLE_PC}
_SRC_C_CMD_NEW=${TOOLCHAIN_ENV} ${CL_WRAPPER} ${C_COMPILER} /c /Fo$_COMPILE_OUTPUTS ${input:SRC} ${EXTRA_C_FLAGS} ${pre=/I :_C__INCLUDE} ${CFLAGS} ${CONLYFLAGS} ${SRCFLAGS} ${hide;kv:"soe"} ${hide;kv:_C_CPP_KV_STYLE_P} ${hide;kv:_C_CPP_KV_STYLE_PC}
_SRC_M_CMD=$_EMPTY_CMD
_SRC_MASM_CMD=${cwd:ARCADIA_BUILD_ROOT} ${TOOLCHAIN_ENV} ${ML_WRAPPER} ${MASM_COMPILER_OLD} ${MASMFLAGS} ${SRCFLAGS} $_MASM_IO ${hide;kv:"p AS"} ${hide;kv:"pc yellow"}
_SRC_MASM_CMD=${cwd:ARCADIA_BUILD_ROOT} ${TOOLCHAIN_ENV} ${ML_WRAPPER} ${MASM_COMPILER} ${MASMFLAGS} ${SRCFLAGS} $_MASM_IO ${hide;kv:"p AS"} ${hide;kv:"pc yellow"}
10 changes: 10 additions & 0 deletions build/mapping.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -1261,6 +1261,7 @@
"7832768362": "{registry_endpoint}/7832768362",
"7833244075": "{registry_endpoint}/7833244075",
"8342543231": "{registry_endpoint}/8342543231",
"9322842655": "{registry_endpoint}/9322842655",
"5776379446": "{registry_endpoint}/5776379446",
"5777100597": "{registry_endpoint}/5777100597",
"5909067709": "{registry_endpoint}/5909067709",
Expand All @@ -1277,6 +1278,7 @@
"7832766692": "{registry_endpoint}/7832766692",
"7833241952": "{registry_endpoint}/7833241952",
"8342542290": "{registry_endpoint}/8342542290",
"9322840030": "{registry_endpoint}/9322840030",
"5776375952": "{registry_endpoint}/5776375952",
"5777098178": "{registry_endpoint}/5777098178",
"5909065014": "{registry_endpoint}/5909065014",
Expand All @@ -1293,6 +1295,7 @@
"7832762570": "{registry_endpoint}/7832762570",
"7833238161": "{registry_endpoint}/7833238161",
"8342540244": "{registry_endpoint}/8342540244",
"9322834294": "{registry_endpoint}/9322834294",
"5776374505": "{registry_endpoint}/5776374505",
"5777096988": "{registry_endpoint}/5777096988",
"5909063641": "{registry_endpoint}/5909063641",
Expand All @@ -1309,6 +1312,7 @@
"7832760150": "{registry_endpoint}/7832760150",
"7833236145": "{registry_endpoint}/7833236145",
"8342539438": "{registry_endpoint}/8342539438",
"9322830951": "{registry_endpoint}/9322830951",
"5776377955": "{registry_endpoint}/5776377955",
"5777099502": "{registry_endpoint}/5777099502",
"5909066324": "{registry_endpoint}/5909066324",
Expand All @@ -1325,6 +1329,7 @@
"7832764927": "{registry_endpoint}/7832764927",
"7833240023": "{registry_endpoint}/7833240023",
"8342541289": "{registry_endpoint}/8342541289",
"9322837247": "{registry_endpoint}/9322837247",
"7805449449": "{registry_endpoint}/7805449449",
"6391354461": "{registry_endpoint}/6391354461",
"7805449010": "{registry_endpoint}/7805449010",
Expand Down Expand Up @@ -2815,6 +2820,7 @@
"7832768362": "none-none-none-result_resources/jdk-darwin-aarch64.yandex.tgz",
"7833244075": "none-none-none-result_resources/jdk-darwin-aarch64.yandex.tgz",
"8342543231": "none-none-none-result_resources/jdk-darwin-aarch64.yandex.tgz",
"9322842655": "none-none-none-result_resources/jdk-darwin-aarch64.yandex.tgz",
"5776379446": "none-none-none-result_resources/jdk-darwin-x86_64.yandex.tgz",
"5777100597": "none-none-none-result_resources/jdk-darwin-x86_64.yandex.tgz",
"5909067709": "none-none-none-result_resources/jdk-darwin-x86_64.yandex.tgz",
Expand All @@ -2831,6 +2837,7 @@
"7832766692": "none-none-none-result_resources/jdk-darwin-x86_64.yandex.tgz",
"7833241952": "none-none-none-result_resources/jdk-darwin-x86_64.yandex.tgz",
"8342542290": "none-none-none-result_resources/jdk-darwin-x86_64.yandex.tgz",
"9322840030": "none-none-none-result_resources/jdk-darwin-x86_64.yandex.tgz",
"5776375952": "none-none-none-result_resources/jdk-linux-aarch64.yandex.tgz",
"5777098178": "none-none-none-result_resources/jdk-linux-aarch64.yandex.tgz",
"5909065014": "none-none-none-result_resources/jdk-linux-aarch64.yandex.tgz",
Expand All @@ -2847,6 +2854,7 @@
"7832762570": "none-none-none-result_resources/jdk-linux-aarch64.yandex.tgz",
"7833238161": "none-none-none-result_resources/jdk-linux-aarch64.yandex.tgz",
"8342540244": "none-none-none-result_resources/jdk-linux-aarch64.yandex.tgz",
"9322834294": "none-none-none-result_resources/jdk-linux-aarch64.yandex.tgz",
"5776374505": "none-none-none-result_resources/jdk-linux-x86_64.yandex.tgz",
"5777096988": "none-none-none-result_resources/jdk-linux-x86_64.yandex.tgz",
"5909063641": "none-none-none-result_resources/jdk-linux-x86_64.yandex.tgz",
Expand All @@ -2863,6 +2871,7 @@
"7832760150": "none-none-none-result_resources/jdk-linux-x86_64.yandex.tgz",
"7833236145": "none-none-none-result_resources/jdk-linux-x86_64.yandex.tgz",
"8342539438": "none-none-none-result_resources/jdk-linux-x86_64.yandex.tgz",
"9322830951": "none-none-none-result_resources/jdk-linux-x86_64.yandex.tgz",
"5776377955": "none-none-none-result_resources/jdk-windows-amd64.yandex.tgz",
"5777099502": "none-none-none-result_resources/jdk-windows-amd64.yandex.tgz",
"5909066324": "none-none-none-result_resources/jdk-windows-amd64.yandex.tgz",
Expand All @@ -2879,6 +2888,7 @@
"7832764927": "none-none-none-result_resources/jdk-windows-amd64.yandex.tgz",
"7833240023": "none-none-none-result_resources/jdk-windows-amd64.yandex.tgz",
"8342541289": "none-none-none-result_resources/jdk-windows-amd64.yandex.tgz",
"9322837247": "none-none-none-result_resources/jdk-windows-amd64.yandex.tgz",
"7805449449": "none-none-none-result_resources/protoc-linux-aarch_64.tgz",
"6391354461": "none-none-none-result_resources/protoc-linux-x86_64.tgz",
"7805449010": "none-none-none-result_resources/protoc-linux-x86_64.tgz",
Expand Down
10 changes: 5 additions & 5 deletions build/platform/java/jdk/jdk17/jdk.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"by_platform": {
"darwin-arm64": {
"uri": "sbr:7832768362"
"uri": "sbr:9322842655"
},
"darwin-x86_64": {
"uri": "sbr:7832766692"
"uri": "sbr:9322840030"
},
"linux-x86_64": {
"uri": "sbr:7832760150"
"uri": "sbr:9322830951"
},
"linux-aarch64": {
"uri": "sbr:7832762570"
"uri": "sbr:9322834294"
},
"win32-x86_64": {
"uri": "sbr:7832764927"
"uri": "sbr:9322837247"
}
}
}
2 changes: 1 addition & 1 deletion build/platform/local_so/ya.make
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
RESOURCES_LIBRARY()

IF (OS_LINUX)
SET_APPEND(RPATH_GLOBAL '-Wl,-rpath,$ORIGIN')
SET_APPEND(RPATH_GLOBAL '-Wl,-rpath,${"$"}ORIGIN')
ENDIF()

END()
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .constants import NPM_REGISTRY_URL
from .package_json import PackageJson
from .utils import build_nm_path, build_pj_path
from .timeit import timeit
from .timeit import timeit, is_timeit_enabled


class PackageManagerError(RuntimeError):
Expand Down Expand Up @@ -137,6 +137,11 @@ def _exec_command(self, args, cwd: str, include_defaults=True, script_path=None,
p = subprocess.Popen(cmd, cwd=cwd, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env)
stdout, stderr = p.communicate()

if is_timeit_enabled():
print(f'cd {cwd} && {" ".join(cmd)}', file=sys.stderr)
print(f'stdout: {stdout.decode("utf-8")}', file=sys.stderr)
print(f'stderr: {stderr.decode("utf-8")}', file=sys.stderr)

if p.returncode != 0:
self._dump_debug_log()

Expand Down
8 changes: 8 additions & 0 deletions build/plugins/lib/nots/package_manager/base/timeit.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,11 @@ def timeit(func):
return logging.timeit(func)
else:
return func


def is_timeit_enabled():
logging = import_optional_module("devtools.frontend_build_platform.libraries.logging")
if logging:
return logging.timeit_options.enabled
else:
return False
20 changes: 14 additions & 6 deletions build/ymake.core.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ DOCS_FAKEID=1

# Change of this value will invalidate some parts of configure cache
# but will not affect builds anyhow (except tests referring build/ directory)
JSON_CACHE_FAKE_ID=20241225
JSON_CACHE_FAKE_ID=20241226

STRUCT_CMD=yes
_DBG_EXPR_ERROR_DETAILS=one
Expand Down Expand Up @@ -707,7 +707,7 @@ module _BASE_UNIT: _BARE_UNIT {
when ($CLANG) {
when ($PGO_ADD == "yes") {
CFLAGS+=-fprofile-instr-generate
NO_PGO_CFLAGS=-fno-profile-instr-generate
NO_PGO_CFLAGS=$_DISABLE_CLANG_COVERAGE_CFLAGS
LDFLAGS+=-fprofile-instr-generate
}
when ($PGO_PATH) {
Expand Down Expand Up @@ -1249,7 +1249,7 @@ macro EXPORT_ALL_DYNAMIC_SYMBOLS() {
###
### Enable linking of PROGRAM with dynamic CUDA. By default CUDA uses static linking
macro USE_DYNAMIC_CUDA() {
LDFLAGS(-Wl,-rpath,$ORIGIN)
LDFLAGS(-Wl,-rpath,${"$"}ORIGIN)
ENABLE(USE_DYNAMIC_CUDA)
}

Expand Down Expand Up @@ -1907,6 +1907,7 @@ _RESOURCES_LIBRARY_SEM=IGNORED
### @see: [DECLARE_EXTERNAL_RESOURCE()](#macro_DECLARE_EXTERNAL_RESOURCE)
module RESOURCES_LIBRARY: _BARE_UNIT {
.CMD=RESOURCES_LIBRARY_LINK
.STRUCT_CMD=yes
.SEM=_RESOURCES_LIBRARY_SEM
.ALLOWED=DECLARE_EXTERNAL_RESOURCE EXTRALIBS OBJADDE_GLOBAL
.RESTRICTED=ALLOCATOR SIZE TAG DATA TEST_DATA DEPENDS FORK_TESTS FORK_SUBTESTS SPLIT_FACTOR TEST_CWD RUN TIMEOUT SRC SRCS SPLIT_DWARF
Expand Down Expand Up @@ -3448,12 +3449,14 @@ when ($CLANG == "yes") {
_LANG_CFLAGS_SWG=-Wno-deprecated-declarations $_DISABLE_CLANG_COVERAGE_CFLAGS
_LANG_CFLAGS_LEX=-Wno-unused-variable $_DISABLE_CLANG_COVERAGE_CFLAGS
_LANG_CFLAGS_BISON=-Wno-unused-but-set-variable -Wno-deprecated-copy $_DISABLE_CLANG_COVERAGE_CFLAGS
_LANG_CFLAGS_ANTLR=-Wno-unused-variable $_DISABLE_CLANG_COVERAGE_CFLAGS
}
otherwise {
_LANG_CFLAGS_RL=-Wno-implicit-fallthrough
_LANG_CFLAGS_SWG=-Wno-deprecated-declarations
_LANG_CFLAGS_LEX=-Wno-unused-variable
_LANG_CFLAGS_BISON=-Wno-unused-but-set-variable -Wno-deprecated-copy
_LANG_CFLAGS_ANTLR=-Wno-unused-variable
}

# tag:src-processing
Expand All @@ -3468,7 +3471,8 @@ when ($CLANG == "yes" || $CLANG_CL == "yes" || $GCC == "yes") {
${pre=$_LANG_CFLAGS_RL;clear;ext=.rl6;noext;input:SRC} \
${pre=$_LANG_CFLAGS_RL;clear;ext=.pyx;noext;input:SRC} \
${pre=$_LANG_CFLAGS_SWG;clear;ext=.swg;noext;input:SRC} \
${pre=$_LANG_CFLAGS_LEX;clear;ext=.l;noext;input:SRC}
${pre=$_LANG_CFLAGS_LEX;clear;ext=.l;noext;input:SRC} \
${pre=$_LANG_CFLAGS_ANTLR;clear;ext=.g4;noext;input:SRC}
}

# Allows to add single compilation unit name to the node's 'kv' section.
Expand Down Expand Up @@ -5163,15 +5167,19 @@ _ANTLR4_VISITOR__ANTLR4_EMPTY=-no-visitor
###
### Macro to invoke ANTLR4 generator for separate lexer and parser grammars (Cpp)
macro RUN_ANTLR4_CPP_SPLIT(LEXER, PARSER, OUTPUT_INCLUDES[], LISTENER?"PARSER":"_ANTLR4_EMPTY", VISITOR?"PARSER":"_ANTLR4_EMPTY", _ANTLR4_EMPTY="", Args...) {
RUN_ANTLR4(${LEXER} ${PARSER} -Dlanguage=Cpp -o ${BINDIR} ${_ANTLR4_VISITOR_$VISITOR} ${_ANTLR4_LISTENER_$LISTENER} ${Args} CWD ${BINDIR} IN ${LEXER} ${PARSER} OUT ${suf=.cpp;noext:LEXER} ${suf=.h;noext:LEXER} ${suf=.cpp;noext:PARSER} ${suf=.h;noext:PARSER} ${suf=Listener.h;noext:$LISTENER} ${suf=BaseListener.h;noext:$LISTENER} ${suf=Visitor.h;noext:$VISITOR} ${suf=BaseVisitor.h;noext:$VISITOR} OUTPUT_INCLUDES ${ARCADIA_ROOT}/contrib/libs/antlr4_cpp_runtime/src/antlr4-runtime.h ${OUTPUT_INCLUDES})
RUN_ANTLR4(${LEXER} ${PARSER} -Dlanguage=Cpp -o ${BINDIR} ${_ANTLR4_VISITOR_$VISITOR} ${_ANTLR4_LISTENER_$LISTENER} ${Args} CWD ${BINDIR} IN ${LEXER} ${PARSER} OUT_NOAUTO ${suf=.cpp;noext:LEXER} ${suf=.h;noext:LEXER} ${suf=.cpp;noext:PARSER} ${suf=.h;noext:PARSER} ${suf=Listener.h;noext:$LISTENER} ${suf=BaseListener.h;noext:$LISTENER} ${suf=Visitor.h;noext:$VISITOR} ${suf=BaseVisitor.h;noext:$VISITOR} OUTPUT_INCLUDES ${ARCADIA_ROOT}/contrib/libs/antlr4_cpp_runtime/src/antlr4-runtime.h ${OUTPUT_INCLUDES})
COPY_FILE(AUTO ${suf=.cpp;noext:LEXER} ${suf=.g4.cpp;noext:LEXER} OUTPUT_INCLUDES ${suf=.h;noext:LEXER} ${OUTPUT_INCLUDES})
COPY_FILE(AUTO ${suf=.cpp;noext:PARSER} ${suf=.g4.cpp;noext:PARSER} OUTPUT_INCLUDES ${suf=.h;noext:PARSER} ${OUTPUT_INCLUDES})
PEERDIR(contrib/libs/antlr4_cpp_runtime)
}

### @usage: RUN_ANTLR4_CPP(GRAMMAR, OUTPUT_INCLUDES, LISTENER, VISITOR, Args...)
###
### Macro to invoke ANTLR4 generator for combined lexer+parser grammars (Cpp)
macro RUN_ANTLR4_CPP(GRAMMAR, OUTPUT_INCLUDES[], LISTENER?"GRAMMAR":"_ANTLR4_EMPTY", VISITOR?"GRAMMAR":"_ANTLR4_EMPTY", _ANTLR4_EMPTY="", Args...) {
RUN_ANTLR4(${GRAMMAR} -Dlanguage=Cpp -o ${BINDIR} ${_ANTLR4_VISITOR_$VISITOR} ${_ANTLR4_LISTENER_$LISTENER} ${Args} CWD ${BINDIR} IN ${GRAMMAR} OUT ${suf=Lexer.cpp;noext:GRAMMAR} ${suf=Lexer.h;noext:GRAMMAR} ${suf=Parser.cpp;noext:GRAMMAR} ${suf=Parser.h;noext:GRAMMAR} ${suf=Listener.h;noext:$LISTENER} ${suf=BaseListener.h;noext:$LISTENER} ${suf=Visitor.h;noext:$VISITOR} ${suf=BaseVisitor.h;noext:$VISITOR} OUTPUT_INCLUDES ${ARCADIA_ROOT}/contrib/libs/antlr4_cpp_runtime/src/antlr4-runtime.h ${OUTPUT_INCLUDES})
RUN_ANTLR4(${GRAMMAR} -Dlanguage=Cpp -o ${BINDIR} ${_ANTLR4_VISITOR_$VISITOR} ${_ANTLR4_LISTENER_$LISTENER} ${Args} CWD ${BINDIR} IN ${GRAMMAR} OUT_NOAUTO ${suf=Lexer.cpp;noext:GRAMMAR} ${suf=Lexer.h;noext:GRAMMAR} ${suf=Parser.cpp;noext:GRAMMAR} ${suf=Parser.h;noext:GRAMMAR} ${suf=Listener.h;noext:$LISTENER} ${suf=BaseListener.h;noext:$LISTENER} ${suf=Visitor.h;noext:$VISITOR} ${suf=BaseVisitor.h;noext:$VISITOR} OUTPUT_INCLUDES ${ARCADIA_ROOT}/contrib/libs/antlr4_cpp_runtime/src/antlr4-runtime.h ${OUTPUT_INCLUDES})
COPY_FILE(AUTO ${suf=Lexer.cpp;noext:GRAMMAR} ${suf=Lexer.g4.cpp;noext:GRAMMAR} OUTPUT_INCLUDES ${suf=Lexer.h;noext:GRAMMAR} ${OUTPUT_INCLUDES})
COPY_FILE(AUTO ${suf=Parser.cpp;noext:GRAMMAR} ${suf=Parser.g4.cpp;noext:GRAMMAR} OUTPUT_INCLUDES ${suf=Parser.h;noext:GRAMMAR} ${OUTPUT_INCLUDES})
PEERDIR(contrib/libs/antlr4_cpp_runtime)
}

Expand Down
2 changes: 2 additions & 0 deletions contrib/libs/antlr3_cpp_runtime/include/antlr3cyclicdfa.inl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ CyclicDFA<ImplTraits, CtxType>::CyclicDFA( ANTLR_INT32 decisionNumber
m_description = description;
}

#if ANTLR3_ALLOW_CHANGES_IN_CONST_FIELDS
template<class ImplTraits, class CtxType>
CyclicDFA<ImplTraits, CtxType>::CyclicDFA( const CyclicDFA& dfa )
{
Expand Down Expand Up @@ -50,6 +51,7 @@ CyclicDFA<ImplTraits, CtxType>& CyclicDFA<ImplTraits, CtxType>::operator=( const
m_transition = dfa.m_transition;
return *this;
}
#endif

template<class ImplTraits, class CtxType>
ANTLR_INT32 CyclicDFA<ImplTraits, CtxType>::specialStateTransition(CtxType * ,
Expand Down
4 changes: 2 additions & 2 deletions contrib/libs/cxxsupp/openmp/.yandex_meta/override.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
pkgs: attrs: with pkgs; with attrs; rec {
pname = "openmp";
version = "20.1.7";
version = "20.1.8";

src = fetchFromGitHub {
owner = "llvm";
repo = "llvm-project";
rev = "llvmorg-${version}";
hash = "sha256-OSd26CLKziKo/eM/5rhtcWd0AxdtJk0ELA5YIxqINKs=";
hash = "sha256-ysyB/EYxi2qE9fD5x/F2zI4vjn8UDoo1Z9ukiIrjFGw=";
};

buildInputs = [ pkgs.python3 ];
Expand Down
4 changes: 2 additions & 2 deletions contrib/libs/cxxsupp/openmp/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ LICENSE(

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(20.1.7)
VERSION(20.1.8)

ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-20.1.7.tar.gz)
ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-20.1.8.tar.gz)

ADDINCL(
GLOBAL contrib/libs/cxxsupp/openmp
Expand Down
9 changes: 8 additions & 1 deletion contrib/libs/tcmalloc/.yandex_meta/build.ym
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ tcmalloc/internal/ya.make
SUBSCRIBER(
g:cpp-contrib
ayles
mikailbag
)

SRCS(
Expand Down Expand Up @@ -57,6 +56,14 @@ IF (NOT DLL_FOR)
ENDIF()
{% endblock %}

{% block patch_source %}
{{super()}}
find . -type f -name "ya.make" | while read -r file; do
sed -i -e 's/VERSION(.*)/VERSION({{self.date()}})/g' "$file"
sed -i -e 's|ORIGINAL_SOURCE(.*)|ORIGINAL_SOURCE({{self.current_url().strip()}})|g' "$file"
done
{% endblock %}

{% block move_to_output %}
{{super()}}
cp -R tcmalloc common.inc ${OUTPUT}
Expand Down
4 changes: 3 additions & 1 deletion contrib/libs/tcmalloc/default/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ LIBRARY()

WITHOUT_LICENSE_TEXTS()

VERSION(2021-10-04-45c59ccbc062ac96d83710205033c656e490d376)
VERSION(2025-01-30)

ORIGINAL_SOURCE(https://github.com/google/tcmalloc/archive/c8dfee3e4c489c5ae0d30c484c92db102a69ec51.tar.gz)

LICENSE(Apache-2.0)

Expand Down
5 changes: 3 additions & 2 deletions contrib/libs/tcmalloc/malloc_extension/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ NO_UTIL()

NO_COMPILER_WARNINGS()

# https://github.com/google/tcmalloc
VERSION(2020-11-23-a643d89610317be1eff9f7298104eef4c987d8d5)
VERSION(2025-01-30)

ORIGINAL_SOURCE(https://github.com/google/tcmalloc/archive/c8dfee3e4c489c5ae0d30c484c92db102a69ec51.tar.gz)

SRCDIR(contrib/libs/tcmalloc)

Expand Down
4 changes: 3 additions & 1 deletion contrib/libs/tcmalloc/no_percpu_cache/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ LIBRARY()

WITHOUT_LICENSE_TEXTS()

VERSION(2021-10-04-45c59ccbc062ac96d83710205033c656e490d376)
VERSION(2025-01-30)

ORIGINAL_SOURCE(https://github.com/google/tcmalloc/archive/c8dfee3e4c489c5ae0d30c484c92db102a69ec51.tar.gz)

LICENSE(Apache-2.0)

Expand Down
4 changes: 3 additions & 1 deletion contrib/libs/tcmalloc/numa_256k/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ LIBRARY()

WITHOUT_LICENSE_TEXTS()

VERSION(2021-10-04-45c59ccbc062ac96d83710205033c656e490d376)
VERSION(2025-01-30)

ORIGINAL_SOURCE(https://github.com/google/tcmalloc/archive/c8dfee3e4c489c5ae0d30c484c92db102a69ec51.tar.gz)

LICENSE(Apache-2.0)

Expand Down
4 changes: 3 additions & 1 deletion contrib/libs/tcmalloc/numa_large_pages/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ LIBRARY()

WITHOUT_LICENSE_TEXTS()

VERSION(2021-10-04-45c59ccbc062ac96d83710205033c656e490d376)
VERSION(2025-01-30)

ORIGINAL_SOURCE(https://github.com/google/tcmalloc/archive/c8dfee3e4c489c5ae0d30c484c92db102a69ec51.tar.gz)

LICENSE(Apache-2.0)

Expand Down
4 changes: 3 additions & 1 deletion contrib/libs/tcmalloc/small_but_slow/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ LIBRARY()

WITHOUT_LICENSE_TEXTS()

VERSION(2021-10-04-45c59ccbc062ac96d83710205033c656e490d376)
VERSION(2025-01-30)

ORIGINAL_SOURCE(https://github.com/google/tcmalloc/archive/c8dfee3e4c489c5ae0d30c484c92db102a69ec51.tar.gz)

LICENSE(Apache-2.0)

Expand Down
Loading
Loading