Skip to content

Library import 250620-0945 #19951

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

Merged
merged 27 commits into from
Jun 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3efec3f
Enable the new command engine in miscellaneous macros, batch #3
authorius Jun 19, 2025
1cb585d
YQL-20086 providers
vitstn Jun 19, 2025
decf627
Automatic release build for test_tool, ya_bin, os_ya, os_test_tool
Jun 19, 2025
1223801
DropAnyOverDistinctEquiJoinInput optimizer
loochek Jun 19, 2025
bcabda0
Revert commit rXXXXXX, Automatic release build for test_tool, ya_bin,…
zhukoff-pavel Jun 19, 2025
e7daa2b
Refactor thread pool in Cypress proxy
Jun 19, 2025
11434fa
Fix object destruction order when using TFuture<T> coroutines
Jun 19, 2025
c36fdd8
Intermediate changes
robot-piglet Jun 19, 2025
f18d41a
Update contrib/libs/croaring to 4.3.4
robot-piglet Jun 19, 2025
8d42f4f
[RBO] Improved Sortings FSM
Jun 19, 2025
4608761
YQL-19747: Auto-close backtick on not folder
vityaman Jun 19, 2025
2eeecc1
YQL-19747: Load schema from JSON for CLI
vityaman Jun 19, 2025
053aa59
Intermediate changes
robot-piglet Jun 19, 2025
bcacbf3
Upver wine 10.8
Nechda Jun 19, 2025
5fb9428
Intermediate changes
robot-piglet Jun 20, 2025
8326a6a
add info about a file being processed in case of exception
snermolaev Jun 20, 2025
cf8ab62
Make bloat tool visible
nemo-cpt Jun 20, 2025
ebd84bd
YQL-20086 public
vitstn Jun 20, 2025
73c10e2
Update contrib/libs/croaring to 4.3.5
robot-piglet Jun 20, 2025
1431a3f
Update contrib/restricted/abseil-cpp to 20250512.1
robot-piglet Jun 20, 2025
815bb53
Intermediate changes
robot-piglet Jun 20, 2025
d4b9759
YQL-19934: Fix Unicode / Error location display
Jun 20, 2025
39ba58a
feat cinnamon: Fix building openssl app for WASM.
vchigrin Jun 20, 2025
d6975c5
Merge branch 'rightlib' into merge-libs-250620-0945
alexv-smirnov Jun 20, 2025
3c35cd8
Import libraries 250620-0945
alexv-smirnov Jun 20, 2025
64d46c6
[CBO] testfix
Jun 20, 2025
b6f6ae4
YQL-19747: Fix sync build failure (#19970)
vityaman Jun 20, 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
1 change: 1 addition & 0 deletions build/conf/bison_lex.conf
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,5 @@ macro _SRC("lex", SRC, SRCFLAGS...) {
# tag:src-processing
macro _SRC("lpp", SRC, SRCFLAGS...) {
.CMD=$_SRC(l $SRC $SRCFLAGS)
#.STRUCT_CMD=yes
}
7 changes: 2 additions & 5 deletions build/conf/java.conf
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
macro _INPUT_WITH_FLAG(Flag, IN[]) {
.CMD=$_INPUT_WITH_FLAG_IMPL(${pre=$Flag :IN} IN $IN)
}

macro _INPUT_WITH_FLAG_IMPL(IN{input}[], Args...) {
.CMD=$Args ${hide;input:IN}
.CMD=${pre=$Flag ;input:IN}
}

macro ACCELEO(XSD{input}[], MTL{input}[], MTL_ROOT="${MODDIR}", LANG{input}[], OUT{output}[], OUT_NOAUTO{output}[], OUTPUT_INCLUDES[], DEBUG?"stdout2stderr":"stderr2stdout") {
.PEERDIR=build/platform/java/jdk $JDK_RESOURCE_PEERDIR
.CMD=${cwd:ARCADIA_BUILD_ROOT} $YMAKE_PYTHON ${input;pre=build/scripts/;suf=.py:DEBUG} $JDK_RESOURCE/bin/java -Dfile.encoding=utf8 -classpath ${RUN_JAR_PROG_CP_PRE}${tool:"tools/acceleo"}${RUN_JAR_PROG_CP_SUF} ru.yandex.se.logsng.tool.Cli $_INPUT_WITH_FLAG(--xsd IN $XSD) $_INPUT_WITH_FLAG(--mtl IN $MTL) $_INPUT_WITH_FLAG(--lang IN $LANG) --output-dir $BINDIR --build-root ${ARCADIA_BUILD_ROOT} --source-root ${ARCADIA_ROOT} --mtl-root $MTL_ROOT ${hide;output_include:OUTPUT_INCLUDES} ${hide;output:OUT} ${hide;noauto;output:OUT_NOAUTO} ${hide;kv:"p JV"} ${hide;kv:"pc light-blue"} ${hide;kv:"show_out"}
.STRUCT_CMD=yes
}

### @usage: JAVA_LIBRARY()
Expand Down
2 changes: 1 addition & 1 deletion build/conf/linkers/ld.conf
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ _LD_ARCHIVER=$YMAKE_PYTHON3 ${input:"build/scripts/link_lib.py"} ${quo:AR_TOOL}

_LD_LIB_GENERATE_MF=$GENERATE_MF &&
when ($TIDY == "yes") {
_LD_ARCHIVER=$YMAKE_PYTHON3 ${input:"build/scripts/clang_tidy_arch.py"} --source-root $ARCADIA_ROOT --build-root $ARCADIA_BUILD_ROOT --output-file
_LD_ARCHIVER=$YMAKE_PYTHON3 ${input:"build/scripts/clang_tidy_arch.py"} --output-file
_LD_LIB_GENERATE_MF=
}
LINK_LIB=$_LD_LIB_GENERATE_MF $_LD_ARCHIVER $TARGET $_LD_TAIL_LINK_LIB
Expand Down
1 change: 1 addition & 0 deletions build/conf/project_specific/other.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ BUILD_CATBOOST_SCRIPT=build/scripts/build_catboost.py
### CatBoost specific macro.
macro BUILD_CATBOOST(CbModel, CbName) {
.CMD=$YMAKE_PYTHON ${input:BUILD_CATBOOST_SCRIPT} build_cb_f $ARCADIA_ROOT $ARCH_TOOL ${input:CbModel} $CbName ${output;pre=cb.;suf=.cpp:CbName} ${hide;output;pre=CB_External_;suf=.rodata:CbName} ${hide;output_include:"kernel/catboost/catboost_calcer.h"} ${hide;kv:"p CB"} ${hide;kv:"pc yellow"}
.STRUCT_CMD=yes
}
6 changes: 6 additions & 0 deletions build/mapping.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,10 @@
"6342053228": "{registry_endpoint}/6342053228",
"7030846646": "{registry_endpoint}/7030846646",
"5257605552": "{registry_endpoint}/5257605552",
"9012982547": "{registry_endpoint}/9012982547",
"9012981641": "{registry_endpoint}/9012981641",
"5257606004": "{registry_endpoint}/5257606004",
"9012983523": "{registry_endpoint}/9012983523",
"4351925664": "{registry_endpoint}/4351925664",
"4351924553": "{registry_endpoint}/4351924553",
"4351926887": "{registry_endpoint}/4351926887",
Expand Down Expand Up @@ -1787,7 +1790,10 @@
"6342053228": "devtools jstyle runner 10.16.0",
"7030846646": "devtools jstyle runner 10.18.0",
"5257605552": "devtools/bloat2/tools/bloat/bloat for darwin",
"9012982547": "devtools/bloat2/tools/bloat/bloat for darwin",
"9012981641": "devtools/bloat2/tools/bloat/bloat for darwin-arm64",
"5257606004": "devtools/bloat2/tools/bloat/bloat for linux",
"9012983523": "devtools/bloat2/tools/bloat/bloat for linux",
"4351925664": "devtools/buildstep_tools/scriptgen/scriptgen for darwin",
"4351924553": "devtools/buildstep_tools/scriptgen/scriptgen for darwin-arm64",
"4351926887": "devtools/buildstep_tools/scriptgen/scriptgen for linux",
Expand Down
2 changes: 1 addition & 1 deletion build/platform/wine/wine.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"by_platform": {
"linux-x86_64": {
"uri": "sbr:1093314933"
"uri": "sbr:8988605193"
},
"win32-x86_64": {
"uri": "sbr:6566731101"
Expand Down
15 changes: 9 additions & 6 deletions build/scripts/clang_tidy_arch.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import os
import argparse
import json
import os
import sys


def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument("--output-file")
parser.add_argument("--build-root")
parser.add_argument("--source-root")
return parser.parse_known_args()


Expand All @@ -16,14 +15,18 @@ def main():
inputs = unknown_args
result_json = {}
for inp in inputs:
if os.path.exists(inp) and inp.endswith("tidyjson"):
if os.path.exists(inp) and inp.endswith(".tidyjson"):
with open(inp, 'r') as afile:
file_content = afile.read().strip()
if not file_content:
continue
try:
errors = json.loads(file_content)
testing_src = errors["file"]
result_json[testing_src] = errors
testing_src = errors["file"]
result_json[testing_src] = errors
except Exception as e:
print(f'Exception caught during processing of file {inp}\n', file=sys.stderr)
raise

with open(args.output_file, 'w') as afile:
json.dump(result_json, afile, indent=4) # TODO remove indent
Expand Down
3 changes: 1 addition & 2 deletions build/ya.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -2446,8 +2446,7 @@
"description": "Python styler, Python 3 only"
},
"bloat": {
"description": "Run bloat tool",
"visible": false
"description": "Run bloat tool"
},
"buf": {
"description": "Protobuf lint and breaking change detector"
Expand Down
25 changes: 20 additions & 5 deletions build/ymake.core.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2828,6 +2828,7 @@ macro JOIN_SRCS(Out, Src...) {
### You should specify file name with the extension as Out. Further processing will be done according to this extension.
macro JOIN_SRCS_GLOBAL(Out, Src...) {
.CMD=$YMAKE_PYTHON3 ${input:"build/scripts/gen_join_srcs.py"} ${hide;input:"build/scripts/process_command_files.py"} ${noauto;output:Out} --ya-start-command-file ${rootrel;context=TEXT;input=TEXT:Src} --ya-end-command-file ${hide;from_input;output_include:Src} ${hide;kv:"p JS"} ${hide;kv:"pc magenta"}
.STRUCT_CMD=yes
SRCS(GLOBAL $Out)
}

Expand All @@ -2838,6 +2839,7 @@ macro JOIN_SRCS_GLOBAL(Out, Src...) {
### You should specify file name with the extension as Out. Further processing will be done according to this extension.
macro FLAT_JOIN_SRCS_GLOBAL(Out, Src...) {
.CMD=$FS_TOOLS cat ${noauto;output:Out} --ya-start-command-file ${context=TEXT;input=TEXT:Src} --ya-end-command-file ${hide;from_input;output_include:Src} ${hide;kv:"p JS"} ${hide;kv:"pc magenta"}
.STRUCT_CMD=yes
SRCS(GLOBAL $Out)
}

Expand Down Expand Up @@ -3484,7 +3486,8 @@ macro _SRC_masm(SRC, SRCFLAGS...) {
### Compile LUA source file to object code using LUA 2.0
### Optionally override import name which is by default reflects Src name
macro COMPILE_LUA(Src, NAME="") {
.CMD=$_SRC(lua, $Src, ${pre=-n :NAME})
.CMD=$_SRC(lua $Src ${pre=-n :NAME})
#.STRUCT_CMD=yes
}

# tag:lua-specific
Expand All @@ -3502,7 +3505,8 @@ macro _SRC_lua_21(SRC, SRCFLAGS...) {
### Compile LUA source file to object code using LUA 2.1
### Optionally override import name which is by default reflects Src name
macro COMPILE_LUA_21(Src, NAME="") {
.CMD=$_SRC_lua_21($Src, ${pre=-n :NAME})
.CMD=$_SRC_lua_21($Src ${pre=-n :NAME})
.STRUCT_CMD=yes
}

# tag:lua-specific
Expand Down Expand Up @@ -3545,6 +3549,7 @@ YDL_DESC_FLAGS=
# tag:src-processing tag:ydl-specific
macro _SRC("ydl", SRC, SRCFLAGS...) {
.CMD=${tool:"statbox/ydl/compiler/tooling/ydl/bin"} c $YDL_FLAGS --cpp-output-header ${output;suf=.h:SRC} --cpp-output-source ${output;suf=.cpp:SRC} ${input:SRC} ${hide;output_include:"statbox/ydl/runtime/cpp/gen_support/standard_includes.h"} ${hide;kv:"p YDL"} ${hide;kv:"pc yellow"}
.STRUCT_CMD=yes
.PEERDIR+=statbox/ydl/runtime/cpp
}

Expand All @@ -3562,6 +3567,7 @@ macro _SRC("ydl", SRC, SRCFLAGS...) {
### This will parse file ../types.ydl, generate a descriptor for a symbol Event defined in the said file, and put the descriptor to the Event.ydld.
macro BUILD_YDL_DESC(Input, Symbol, Output) {
.CMD=${tool:"statbox/ydl/compiler/tooling/ydl/bin"} ti $YDL_FLAGS $YDL_DESC_FLAGS -o ${noauto;output:Output} ${input:Input} ${Symbol} ${hide;kv:"p YDL"} ${hide;kv:"pc yellow"}
.STRUCT_CMD=yes
}

# tag:ydl-specific
Expand Down Expand Up @@ -4476,12 +4482,14 @@ SCHEEME2_STRUCT_INFO_FLAGS=-f "const static ui32 RecordSig" -u "RecordSig" --gcc
### See tools/structparser for more details.
macro GEN_SCHEEME2(ScheemeName, FromFile) {
.CMD=$CXX_COMPILER_OLD $C_FLAGS_PLATFORM -c ${stdout;tmp;suf=.cph:FromFile} $SCHEEME2_CFLAGS ${input:FromFile} ${pre=-I:_C__INCLUDE} $CXXFLAGS -Wno-error && ${tool:"tools/structparser"} -o ${output;suf=.inc:ScheemeName} -n N${ScheemeName}SchemeInfo $SCHEEME2_STRUCT_INFO_FLAGS $DATAWORK_SCHEEME_EXPORT_FLAGS ${tmp;suf=.cph:FromFile} ${stdout;noauto;output;suf=.inc.log:ScheemeName} ${hide;kv:"p SH"} ${hide;kv:"pc yellow"}
.STRUCT_CMD=yes
}

### @usage: SYMLINK(from to)
### Add symlink
macro SYMLINK(From, To) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/symlink.py"} ${input;dirallowed:From} ${noauto;output:To} ${hide;kv:"p LN"} ${hide;kv:"pc light-cyan"}
.CMD=$YMAKE_PYTHON ${input:"build/scripts/symlink.py"} ${dirallowed;input:From} ${noauto;output:To} ${hide;kv:"p LN"} ${hide;kv:"pc light-cyan"}
#.STRUCT_CMD=yes
}

macro _FMT_INDUCED_DEPS(For, Deps...) {
Expand Down Expand Up @@ -4806,6 +4814,7 @@ macro USE_LLVM_BC18() {
### Note: Output name is used as is, no extension added.
macro CLANG_EMIT_AST_CXX(Input, Output, Opts...) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS ${CLANG_RESOURCE_GLOBAL}/bin/clang++ ${pre=-I:_C__INCLUDE} $CXXFLAGS $C_FLAGS_PLATFORM $LLVM_OPTS -emit-ast -c ${input:Input} -o ${noauto;output:Output} $Opts ${hide;kv:"p ST"} ${hide;kv:"pc light-green"}
.STRUCT_CMD=yes
PEERDIR(build/platform/clang)
}

Expand Down Expand Up @@ -4859,7 +4868,8 @@ when($OS_LINUX) {
### Emit eBPF bytecode from .c file.
### Note: Output name is used as is, no extension added.
macro BPF_STATIC(Input, Output, Opts...) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS ${CLANG_RESOURCE_GLOBAL}/bin/clang ${pre=-I:_C__INCLUDE} $C_FLAGS_PLATFORM -target bpf -c ${input:Input} -o ${noauto;output:Output} $Opts ${hide;kv:"p BP"} ${hide;kv:"pc light-green"} && ${cwd:BINDIR} $LLD_ROOT_RESOURCE_GLOBAL/bin/$LD_BINARY_NAME -r -b binary -m elf_x86_64 -o ${noauto;output;suf=.bpf.o:Input} ${noauto;nopath:Output}
.CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS ${CLANG_RESOURCE_GLOBAL}/bin/clang ${pre=-I:_C__INCLUDE} $C_FLAGS_PLATFORM -target bpf -c ${input:Input} -o ${noauto;output:Output} $Opts ${hide;kv:"p BP"} ${hide;kv:"pc light-green"} && ${cwd:BINDIR} $LLD_ROOT_RESOURCE_GLOBAL/bin/$LD_BINARY_NAME -r -b binary -m elf_x86_64 -o ${noauto;output;suf=.bpf.o:Input} ${nopath:Output}
.STRUCT_CMD=yes
PEERDIR(build/platform/clang build/platform/lld)
}

Expand All @@ -4869,6 +4879,7 @@ macro BPF_STATIC(Input, Output, Opts...) {
### Note: Output name is used as is, no extension added.
macro LLVM_COMPILE_LL(Input, Output, Opts...) {
.CMD=${CLANG_BC_ROOT}/bin/llvm-as ${input:Input} -o ${noauto;output:Output} ${hide;kv:"p BC"} ${hide;kv:"pc light-green"}
.STRUCT_CMD=yes
.SEM=custom_runs-ITEM && custom_runs-depends ${input:Input} && custom_runs-command ${LLVMAS} ${input:Input} -o ${noauto;output:Output} && custom_runs-outputs ${noauto;output:Output}
PEERDIR(build/platform/clang)
}
Expand Down Expand Up @@ -4901,7 +4912,8 @@ macro LLVM_OPT(Input, Output, Opts...) {
###
### Note: Output name is calculated as concatenation of Src name and platform specific object file extension.
macro LLVM_LLC(Src, Opts...) {
.CMD=${tool:LLVM_LLC_TOOL} ${input:Src} --filetype obj -o ${output;suf=$OBJECT_SUF;noauto:Src} $Opts ${hide;kv:"p LC"} ${hide;kv:"pc yellow"}
.CMD=${tool:LLVM_LLC_TOOL} ${input:Src} --filetype obj -o ${noauto;output;suf=$OBJECT_SUF:Src} $Opts ${hide;kv:"p LC"} ${hide;kv:"pc yellow"}
.STRUCT_CMD=yes
.SEM=custom_runs-ITEM && custom_runs-depends ${input:Src} && custom_runs-command ${LLVMLLC} --filetype obj ${input:Src} -o ${output;suf=$OBJECT_SUF;noauto:Src} $Opts && custom_runs-outputs ${output;suf=$OBJECT_SUF;noauto:Src}
PEERDIR(build/platform/clang)
}
Expand Down Expand Up @@ -4943,6 +4955,7 @@ PACK_TGZ=${cwd:ARCADIA_BUILD_ROOT} tar -czf ${rootrel:OUTPUT} ${rootrel:INPUT} $
### Just introduce outputs
macro TOUCH(Outputs...) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/touch.py"} ${output:Outputs}
.STRUCT_CMD=yes
}

TOUCH_UNIT=$YMAKE_PYTHON3 ${input:"build/scripts/touch.py"} ${hide;kv:"p UN"} ${hide;kv:"pc light-cyan"} $TARGET
Expand Down Expand Up @@ -5832,12 +5845,14 @@ CFLAGS+=$_CFLAGS_VISIBILITY
# tag:cpp-specific
macro SDBUS_CPP_ADAPTOR(File) {
.CMD=${tool:"contrib/libs/sdbus-cpp/tools/xml2cpp-codegen"} --adaptor=${output;suf=.adaptor.h;nopath;noext:File} ${input:File}
.STRUCT_CMD=yes
.PEERDIR=contrib/libs/sdbus-cpp
}

# tag:cpp-specific
macro SDBUS_CPP_PROXY(File) {
.CMD=${tool:"contrib/libs/sdbus-cpp/tools/xml2cpp-codegen"} --proxy=${output;suf=.proxy.h;nopath;noext:File} ${input:File}
.STRUCT_CMD=yes
.PEERDIR=contrib/libs/sdbus-cpp
}

Expand Down
4 changes: 2 additions & 2 deletions contrib/libs/croaring/.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 = "croaring";
version = "4.3.3";
version = "4.3.5";

src = fetchFromGitHub {
owner = "RoaringBitmap";
repo = "CRoaring";
rev = "v${version}";
hash = "sha256-LQkva2w2TlEdLFj6xLjCY+2wVWsM3NVpGS9irYVrskA=";
hash = "sha256-MNBlKAosKZ4wV3vbas77rfGOjTlWxTyluQYaFhES3Ro=";
};

patches = [];
Expand Down
Loading
Loading