Skip to content
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

Mergelibs yurchuk manual #11568

Merged
merged 92 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
7482ac2
[udf] Datetime::Format is not strict
rvu1024 Nov 8, 2024
56d1149
fix ci base image build
Nov 8, 2024
7e027f2
Intermediate changes
robot-piglet Nov 8, 2024
a296f77
Support customization of TLockOps for TGuard in TConcurrentHashMap
Nov 8, 2024
fc48219
std::atomic
vitstn Nov 8, 2024
29bd656
Intermediate changes
robot-piglet Nov 8, 2024
69ea2aa
YT-21233: Rewrite ConvertTo CPO using TagInvoke
E1pp Nov 8, 2024
ee58aee
Intermediate changes
robot-piglet Nov 8, 2024
270fb9d
less ydb deps or disable for OSS for now
vitstn Nov 8, 2024
1885c7f
Intermediate changes
robot-piglet Nov 8, 2024
7a85244
Fast TChunkedBuffer::Size()
nepal Nov 8, 2024
095cad8
Tune YDB <-> YQL deps
vitstn Nov 9, 2024
6683912
Intermediate changes
robot-piglet Nov 9, 2024
381a9a4
Intermediate changes
robot-piglet Nov 9, 2024
c351a19
Refactor and polish TResourceTracker
Nov 9, 2024
1f59ab0
add nirvana block url to started by block
Nov 9, 2024
9ade466
Update contrib/libs/liburing to 2.8
robot-piglet Nov 9, 2024
305dc93
YT: Use ipv6 by default from service discovery endpoints
Nov 9, 2024
dc0f156
Only move node_modules dir if it exists
Nov 10, 2024
856bb0a
[library/cpp/http] support HTTP 434 code
Nov 10, 2024
47f6a61
New version of the tld SKIP_CHECK SKIP_REVIEW
Nov 10, 2024
e11ca15
Do not send TEST_CLASSPATH_MANAGED key in java-dart
VestniK Nov 11, 2024
0c30aa1
Stop calculating data for some dead jbuild code paths
VestniK Nov 11, 2024
957f86d
Intermediate changes
robot-piglet Nov 11, 2024
96fe69b
Support WITH_KOTLIN_GRPC for ya ide gradle
dimdim1177 Nov 11, 2024
aa2573e
Support options for call rescompiler in CMake
dimdim1177 Nov 11, 2024
27a5e21
Release clang18 #3
robot-brewer Nov 11, 2024
28d64a9
Intermediate changes
robot-piglet Nov 11, 2024
50324ec
Automatic release build for test_tool, os_ya, ya_bin, os_test_tool
Nov 11, 2024
df1021b
[queues] YT-21996: Style fixes in producer client
savnadya Nov 11, 2024
68e277a
Intermediate changes
robot-piglet Nov 11, 2024
4ef1405
. Пробрасывать версию релизного бранча в ya package
Nov 11, 2024
89676eb
Fix some issues
Nov 11, 2024
79ac4ed
Add TSharedRef::FromString overloads for std::string
Nov 11, 2024
fd83b86
Fix some issues
Nov 11, 2024
d433598
Fixed build conf for arcadia & github
vitstn Nov 11, 2024
9632e4f
Upgrade ya ide gradle
dimdim1177 Nov 11, 2024
18b18c7
Update contrib/libs/c-ares to 1.34.3
robot-piglet Nov 12, 2024
b77b1fb
Automatic release build for ymake, os_ymake
Nov 12, 2024
55cec9f
Intermediate changes
robot-piglet Nov 12, 2024
621c8c7
Merge GH PR #9404
nepal Nov 12, 2024
85af4d1
Drop old broken groovy related stuff
VestniK Nov 12, 2024
a382b5a
YT: Post-commit fixes for throttling time
hitsedesen Nov 12, 2024
2c567f2
Fix parameter substitution in Package pragma
antoniox Nov 12, 2024
b218405
YT-23346: Introduce YT_ASSUME and YT_UNREACHABLE macros.
Nov 12, 2024
4d22358
Update YFM for ya make to latest version
Nov 12, 2024
39b2d17
Intermediate changes
robot-piglet Nov 12, 2024
0f8074b
Merge PR #10707: Fixed: Make block combine use stream instead of flow
nepal Nov 12, 2024
c24e1e1
Merge PR #10741, #10799, #10732
nepal Nov 12, 2024
1620cea
Improve profiling of memory allocations
Nov 12, 2024
10eb11d
Merge PR #10831, #11068, #11075, #11152
nepal Nov 12, 2024
a28fc12
Merge PR #8169: Use GraceCode for Map by default
nepal Nov 12, 2024
19054bf
Support alter sequence restart with in pg
shnikd Nov 12, 2024
1ed1edd
Merge PR #10587: Block input for YT map operations
nepal Nov 12, 2024
69da9e3
Merge PR #10944: Fix ExtractMembers constraints for sorted tuple
nepal Nov 12, 2024
77c13da
Pass GoVersion to vet
Nov 12, 2024
fa56552
Apply GH commits
rvu1024 Nov 12, 2024
11ce3a1
Apply GH commits
rvu1024 Nov 12, 2024
de501ac
Back missing platform
Nechda Nov 12, 2024
1017fdd
YQL-17471 Add EndOf... functions in Datetime UDF
Nov 12, 2024
2aad515
PopCount => std::popcount
Nov 13, 2024
ab2faef
Export cpp_style configs to ydb
andrei-levitskii Nov 13, 2024
dfc4818
Fix YsonStruct comparison
E1pp Nov 13, 2024
ca2bf22
Intermediate changes
robot-piglet Nov 13, 2024
4ab2331
YT-22250: Fill tableMountInfo.UpperCapBound for chaos queues like it'…
olegsidorkin Nov 13, 2024
23387aa
Merge branch 'rightlib' into mergelibs-yurchuk-manual
maximyurchuk Nov 13, 2024
dfcc463
Import libraries
maximyurchuk Nov 13, 2024
593d804
Update ICU to 76.1
Nov 13, 2024
3a1f180
Freeze libcxx for cuda without c++20 support
4JustMe4 Nov 13, 2024
dfc354c
[build] Add CPP_ROS peerdir tag to USE_PYTHON*/PYTHON*_ADDINCL
Nov 13, 2024
ca4e8d3
Release clang18 #4
robot-brewer Nov 13, 2024
32be255
New version of the tld SKIP_CHECK SKIP_REVIEW
Nov 13, 2024
7de4791
Automatic release build for ymake, os_ymake
Nov 14, 2024
be3f129
Intermediate changes
robot-piglet Nov 14, 2024
8d4c37b
Intermediate changes
robot-piglet Nov 14, 2024
1455938
Add external autoincludes.json
andrei-levitskii Nov 14, 2024
d225e23
YT-23469: Ensure proper destructor order inside |RunInFiberContext| e…
E1pp Nov 14, 2024
ff08899
Intermediate changes
robot-piglet Nov 14, 2024
e667baa
Fix babenko issues of rXXXXXX
E1pp Nov 14, 2024
3e21a92
Merge branch 'rightlib' into mergelibs-yurchuk-manual
maximyurchuk Nov 14, 2024
acf1fa6
Import libraries
maximyurchuk Nov 14, 2024
e8de780
Intermediate changes
robot-piglet Nov 14, 2024
3f714b5
Update YFM for ya make to latest version
Nov 14, 2024
064f972
Fix ydb + asan + clang18
Nov 14, 2024
90879d1
Merge branch 'rightlib' into mergelibs-yurchuk-manual
maximyurchuk Nov 14, 2024
f438674
Import libraries
maximyurchuk Nov 14, 2024
bee4516
Intermediate changes
robot-piglet Nov 14, 2024
6559ca8
Fix various issues related to Decimal and Arrow
robot-piglet Nov 14, 2024
a0506be
Intermediate changes
robot-piglet Nov 14, 2024
caec531
More compact ExpandApply logging
rvu1024 Nov 14, 2024
ce6c4c6
Merge branch 'rightlib' into mergelibs-yurchuk-manual
maximyurchuk Nov 14, 2024
51f3481
Import libraries
maximyurchuk Nov 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions build/conf/autoincludes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[
"library/cpp/geo",
"util"
]

10 changes: 10 additions & 0 deletions build/conf/compilers/gnu_compiler.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ when ($CLANG16 == "yes") {
CFLAGS+=-Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member
}

when ($CLANG18 == "yes") {
CFLAGS+=-Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member
CFLAGS+=-Wno-deprecated-this-capture -Wno-c++11-narrowing-const-reference -Wno-missing-field-initializers \
-Wno-packed-non-pod -Wno-format -Wno-vla-cxx-extension -Wno-invalid-offsetof -Wno-exceptions \
-Wno-include-angled-in-module-purview -Wno-unused-parameter
when ($MAPSMOBI_BUILD_TARGET == "yes") {
CFLAGS+=-Wno-deprecated-declarations
}
}

when ($MSAN_TRACK_ORIGIN == "yes") {
CFLAGS+=-fsanitize-memory-track-origins=2
}
Expand Down
14 changes: 1 addition & 13 deletions build/conf/java.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1747,15 +1747,12 @@ when ($SAVE_JAVAC_GENERATED_SRCS) {
}

# tag:java-specific
# TODO: MAVEN_GROUP_ID_VALUE is only used by jbuild remove it after YMAKE-45 and YMAKE-46
MAVEN_GROUP_ID_VALUE=
MAVEN_EXPORT_GROUP_ID=ru.yandex
### @usage: MAVEN_GROUP_ID(group_id_for_maven_export)
###
### Set maven export group id for JAVA_PROGRAM() and JAVA_LIBRARY().
### Have no effect on regular build.
macro MAVEN_GROUP_ID(Arg, VERSION="no") {
SET(MAVEN_GROUP_ID_VALUE $Arg)
SET(MAVEN_EXPORT_GROUP_ID $Arg)
SET(PUBLISH_MAVEN_VERSION $VERSION)
}
Expand Down Expand Up @@ -1893,15 +1890,6 @@ macro WITH_KAPT() {
SET(WITH_KAPT_VALUE yes)
}

# tag:java-specific
WITH_GROOVY_VALUE=
### @usage: WITH_GROOVY()
###
### Compile groovy source code in this java module
macro WITH_GROOVY() {
SET(WITH_GROOVY_VALUE yes)
}

# tag:kotlin-specific
KOTLINC_FLAGS_VALUE=-Xjvm-default=all
### @usage: KOTLINC_FLAGS(-flags)
Expand Down Expand Up @@ -1982,12 +1970,12 @@ macro WITH_KOTLINC_DETEKT(Options...) {
_KOTLIN_VERSION=1.9.24
KOTLIN_VERSION=1.9.24
KOTLIN_BOM_FILE=${ARCADIA_ROOT}/contrib/java/org/jetbrains/kotlin/kotlin-bom/1.9.24/ya.dependency_management.inc
GROOVY_VERSION=3.0.5
DETEKT_VERSION=1.23.7

_KOTLIN_SEM= \
${_WITH_KOTLIN_SEM} \
${_KOTLIN_VERSION_SEM} \
${_WITH_KOTLIN_GRPC_SEM} \
${_WITH_KOTLINC_PLUGIN_ALLOPEN_SEM} \
${_WITH_KOTLINC_PLUGIN_LOMBOK_SEM} \
${_WITH_KOTLINC_PLUGIN_NOARG_SEM} \
Expand Down
26 changes: 13 additions & 13 deletions build/conf/project_specific/yql_udf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,45 +36,45 @@ macro UDF_NO_PROBE() {
module YQL_UDF_TEST: PY3TEST_BIN {
SET_APPEND(_MAKEFILE_INCLUDE_LIKE_DEPS canondata/result.json)

PEERDIR(contrib/ydb/library/yql/tests/common/udf_test)
PEERDIR($YQL_BASE_TEST_DIR/tests/common/udf_test)

DEPENDS(yql/essentials/tools/astdiff)
DEPENDS(contrib/ydb/library/yql/tools/yqlrun)
DEPENDS($YQL_BASE_TEST_DIR/tools/yqlrun)
DEPENDS(yql/essentials/tools/udf_resolver)
DATA(arcadia/yql/essentials/mount)
DATA(arcadia/contrib/ydb/library/yql/cfg/udf_test)
DATA(arcadia/$YQL_BASE_TEST_DIR/cfg/udf_test)
ENV(YQL_ASTDIFF_PATH="yql/essentials/tools/astdiff/astdiff")
ENV(YQL_CONFIG_DIR="contrib/ydb/library/yql/cfg/udf_test")
ENV(YQL_YQLRUN_PATH="contrib/ydb/library/yql/tools/yqlrun/yqlrun")
ENV(YQL_CONFIG_DIR="$YQL_BASE_TEST_DIR/cfg/udf_test")
ENV(YQL_YQLRUN_PATH="$YQL_BASE_TEST_DIR/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_YDB_TEST: PY3TEST_BIN {
SET_APPEND(_MAKEFILE_INCLUDE_LIKE_DEPS canondata/result.json)

PEERDIR(ydb/library/yql/tests/common/udf_test)
PEERDIR($YQL_BASE_TEST_DIR/tests/common/udf_test)

DEPENDS(yql/essentials/tools/astdiff)
DEPENDS(ydb/library/yql/tools/yqlrun)
DEPENDS($YQL_BASE_TEST_DIR/tools/yqlrun)
DEPENDS(yql/essentials/tools/udf_resolver)
DATA(arcadia/yql/essentials/mount)
DATA(arcadia/ydb/library/yql/cfg/udf_test)
DATA(arcadia/$YQL_BASE_TEST_DIR/cfg/udf_test)
}

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

PEERDIR(ydb/library/yql/tests/common/udf_test)
PEERDIR($YQL_BASE_TEST_DIR/tests/common/udf_test)

DEPENDS(yql/essentials/tools/astdiff)
DEPENDS(ydb/library/yql/tools/yqlrun)
DEPENDS($YQL_BASE_TEST_DIR/tools/yqlrun)
DEPENDS(yql/essentials/tools/udf_resolver)
DATA(arcadia/yql/essentials/mount)
DATA(arcadia/ydb/library/yql/cfg/udf_test)
DATA(arcadia/$YQL_BASE_TEST_DIR/cfg/udf_test)
ENV(YQL_ASTDIFF_PATH="yql/essentials/tools/astdiff/astdiff")
ENV(YQL_CONFIG_DIR="ydb/library/yql/cfg/udf_test")
ENV(YQL_YQLRUN_PATH="ydb/library/yql/tools/yqlrun/yqlrun")
ENV(YQL_CONFIG_DIR="$YQL_BASE_TEST_DIR/cfg/udf_test")
ENV(YQL_YQLRUN_PATH="$YQL_BASE_TEST_DIR/tools/yqlrun/yqlrun")
ENV(YQL_SQL2YQL_PATH="yql/essentials/tools/sql2yql/sql2yql")
ENV(YQL_UDFRESOLVER_PATH="yql/essentials/tools/udf_resolver/udf_resolver")
}
Expand Down
7 changes: 5 additions & 2 deletions build/conf/proto.conf
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,14 @@ macro _ADD_SEM_PROP_IF_NON_EMPTY(Prop, Args...) {
}

# tag:proto tag:java-specific
_WITH_KOTLIN_GRPC_SEM=
macro WITH_KOTLIN_GRPC() {
ENABLE(KOTLIN_PROTO)
PEERDIR(build/platform/java/kotlin_grpc)
SET_APPEND(JAVA_PROTO_ARGS ${env:"JAVA_HOME=${JDK_RESOURCE}"} ${env:"KOTLIN_GRPC_JAR=${KOTLIN_GRPC_RESOURCE_GLOBAL}/grpc_kotlin/protoc-gen-grpc-kotlin-1.3.1.jar"} --plugin=protoc-gen-kotlin_grpc=${KOTLIN_GRPC_RESOURCE_GLOBAL}/grpc_kotlin/grpc_kotlin --kotlin_grpc_out=$ARCADIA_BUILD_ROOT/java_out)
SET(JAVA_PROTOBUF_PEERS $JAVA_PROTOBUF_PEERS contrib/java/io/grpc/grpc-kotlin-stub/1.3.1)
SET_APPEND(JAVA_PROTO_ARGS ${env:"JAVA_HOME=${JDK_RESOURCE}"} ${env:"KOTLIN_GRPC_JAR=${KOTLIN_GRPC_RESOURCE_GLOBAL}/grpc_kotlin/protoc-gen-grpc-kotlin-${KOTLIN_GRPC_VERSION}.jar"} --plugin=protoc-gen-kotlin_grpc=${KOTLIN_GRPC_RESOURCE_GLOBAL}/grpc_kotlin/grpc_kotlin --kotlin_grpc_out=$ARCADIA_BUILD_ROOT/java_out)
SET(JAVA_PROTOBUF_PEERS $JAVA_PROTOBUF_PEERS contrib/java/io/grpc/grpc-kotlin-stub/$KOTLIN_GRPC_VERSION)
SET(JAVA_PROTOBUF_PEERS $JAVA_PROTOBUF_PEERS contrib/java/com/google/protobuf/protobuf-kotlin/${JAVA_PROTO_RUNTIME_VERSION})
SET(_WITH_KOTLIN_GRPC_SEM && proto_kotlin_grpc && proto_kotlin_grpc_version ${KOTLIN_GRPC_VERSION})
}


Expand Down Expand Up @@ -477,6 +479,7 @@ JAVA_PROTO_COMPILER_VERSION = 3.25.3
JAVA_PROTO_RUNTIME_VERSION = 3.25.3
JAVA_PROTO_COMMON_VERSION = 2.9.0
JAVA_GRPC_VERSION = 1.51.0
KOTLIN_GRPC_VERSION = 1.3.1
JAVA_NETTY_NETTY_VERSION = 4.1.79.Final
KOTLIN_PROTO=no
KOTLIN_PROTO_PEERS=
Expand Down
8 changes: 4 additions & 4 deletions build/conf/python.conf
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ macro NO_PYTHON_INCLUDES() {
macro PYTHON2_ADDINCL() {
_PYTHON_ADDINCL()
SET(MODULE_TAG PY2_NATIVE)
SET(PEERDIR_TAGS CPP_PROTO CPP_FBS PY2_NATIVE YQL_UDF_STATIC __EMPTY__ RESOURCE_LIB DLL_LIB)
SET(PEERDIR_TAGS CPP_PROTO CPP_FBS CPP_ROS PY2_NATIVE YQL_UDF_STATIC __EMPTY__ RESOURCE_LIB DLL_LIB)
}

# tag:python-specific tag:internal
Expand Down Expand Up @@ -881,7 +881,7 @@ macro _PYTHON_ADDINCL() {
macro PYTHON3_ADDINCL() {
_PYTHON3_ADDINCL()
SET(MODULE_TAG PY3_NATIVE)
SET(PEERDIR_TAGS CPP_PROTO CPP_FBS PY3_NATIVE YQL_UDF_STATIC __EMPTY__ RESOURCE_LIB DLL_LIB)
SET(PEERDIR_TAGS CPP_PROTO CPP_FBS CPP_ROS PY3_NATIVE YQL_UDF_STATIC __EMPTY__ RESOURCE_LIB DLL_LIB)
}

# tag:python-specific tag:internal
Expand Down Expand Up @@ -929,7 +929,7 @@ macro _PYTHON3_ADDINCL() {
### @see: [PY2_LIBRARY](#module_PY2_LIBRARY), [PY3_LIBRARY](#module_PY3_LIBRARY), [PY23_LIBRARY](#multimodule_PY23_LIBRARY)
macro USE_PYTHON2() {
_ARCADIA_PYTHON_ADDINCL()
SET(PEERDIR_TAGS PY2 PY2_NATIVE CPP_PROTO CPP_FBS YQL_UDF_STATIC __EMPTY__ RESOURCE_LIB DLL_LIB)
SET(PEERDIR_TAGS PY2 PY2_NATIVE CPP_PROTO CPP_FBS CPP_ROS YQL_UDF_STATIC __EMPTY__ RESOURCE_LIB DLL_LIB)
PEERDIR(contrib/libs/python)
}

Expand All @@ -946,7 +946,7 @@ macro USE_PYTHON2() {
### @see: [PY2_LIBRARY](#module_PY2_LIBRARY), [PY3_LIBRARY](#module_PY3_LIBRARY), [PY23_LIBRARY](#multimodule_PY23_LIBRARY)
macro USE_PYTHON3() {
_ARCADIA_PYTHON3_ADDINCL()
SET(PEERDIR_TAGS PY3 PY3_BIN_LIB PY3TEST_LIBRARY PY3_NATIVE CPP_PROTO CPP_FBS YQL_UDF_STATIC __EMPTY__ RESOURCE_LIB DLL_LIB)
SET(PEERDIR_TAGS PY3 PY3_BIN_LIB PY3TEST_LIBRARY PY3_NATIVE CPP_PROTO CPP_FBS CPP_ROS YQL_UDF_STATIC __EMPTY__ RESOURCE_LIB DLL_LIB)
PEERDIR(contrib/libs/python)

when ($USE_ARCADIA_PYTHON == "yes") {
Expand Down
2 changes: 2 additions & 0 deletions build/conf/settings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,5 @@ _FOLDABLE_VARS=\

ARCADIA_TEST_ROOT=../arcadia_tests_data/
DEFAULT_REQUIREMENTS=network:restricted cpu:1 ram:32

AUTOINCLUDE_PATHS=build/conf/autoincludes.json
16 changes: 16 additions & 0 deletions build/config/tests/cpp_style/a.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
service: arcadia-unassigned
title: clang-format default config

arcanum:
review:
auto_assign: true
groups:
- name: cppcommittee
roles: cppcommittee:consultant
rules:
- subpaths: "config.clang-format"
reviewers:
- name: cppcommittee
assign: 1
ship: 0
min_approvers_count: 1
3 changes: 3 additions & 0 deletions build/config/tests/cpp_style/default_configs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"clang_format": "build/config/tests/cpp_style/config.clang-format"
}
12 changes: 10 additions & 2 deletions build/export_generators/cmake/cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ endfunction()
function(resources Tgt Output)
set(opts "")
set(oneval_args "")
set(multival_args INPUTS KEYS)
set(multival_args INPUTS KEYS OPTS)
cmake_parse_arguments(RESOURCE_ARGS
"${opts}"
"${oneval_args}"
Expand All @@ -212,12 +212,20 @@ function(resources Tgt Output)
list(APPEND ResourcesList ${Input})
list(APPEND ResourcesList ${Key})
endforeach()
list(LENGTH RESOURCE_ARGS_OPTS OptsCount)
if (${OptsCount} GREATER 0)
math(EXPR ListsMaxIdx "${OptsCount} - 1")
foreach(Idx RANGE ${ListsMaxIdx})
list(GET RESOURCE_ARGS_OPTS ${Idx} Opt)
list(APPEND OptsList ${Opt})
endforeach()
endif()

get_built_tool_path(rescompiler_bin rescompiler_dependency tools/rescompiler/bin rescompiler)

add_custom_command(
OUTPUT ${Output}
COMMAND ${rescompiler_bin} ${Output} ${ResourcesList}
COMMAND ${rescompiler_bin} ${Output} ${ResourcesList} ${OptsList}
DEPENDS ${RESOURCE_ARGS_INPUTS} ${rescompiler_dependency}
)
endfunction()
Expand Down
7 changes: 0 additions & 7 deletions build/export_generators/ide-gradle/.idea/vcs.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,30 @@ protobuf {
// Download from repositories
artifact = "com.google.protobuf:protoc:{%- if target.proto_compiler_version -%}{{ target.proto_compiler_version }}{%- else -%}3.22.5{%- endif -%}"
}
{% if target.proto_grpc is defined -%}
{% if target.proto_grpc -%}
plugins {
id("grpc") {
artifact = "io.grpc:protoc-gen-grpc-java:{%- if target.proto_grpc_version -%}{{ target.proto_grpc_version }}{%- else -%}1.45.0{%- endif -%}"
}
{%- if target.proto_kotlin_grpc %}
id("grpckt") {
artifact = "io.grpc:protoc-gen-grpc-kotlin:{%- if target.proto_kotlin_grpc_version -%}{{ target.proto_kotlin_grpc_version }}{%- else -%}1.3.1{%- endif -%}:jdk8@jar"
}
{% endif -%}
}
generateProtoTasks {
all().forEach {
it.plugins {
id("grpc")
{%- if target.proto_kotlin_grpc %}
id("grpckt")
{% endif -%}
}
{%- if target.proto_kotlin_grpc %}
it.builtins {
create("kotlin")
}
{% endif -%}
}
}
{%- endif %}
Expand Down
3 changes: 2 additions & 1 deletion build/export_generators/ide-gradle/generator.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ copy=[
"gradlew.bat",
"gradle/wrapper/gradle-wrapper.jar",
"gradle/wrapper/gradle-wrapper.properties",
".idea/vcs.xml",
]

[targets.EXTRA_ONLY]
Expand Down Expand Up @@ -43,6 +42,8 @@ proto_common_version="str"

proto_grpc="flag"
proto_grpc_version="str"
proto_kotlin_grpc="flag"
proto_kotlin_grpc_version="str"

kotlin_version="str"
with_kotlin="flag"
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:7386587280"
"uri": "sbr:7448914799"
},
"darwin-arm64": {
"uri": "sbr:7386586845"
"uri": "sbr:7448913101"
},
"linux": {
"uri": "sbr:7386588080"
"uri": "sbr:7448917907"
},
"linux-aarch64": {
"uri": "sbr:7386586293"
"uri": "sbr:7448911598"
},
"win32-clang-cl": {
"uri": "sbr:7386587719"
"uri": "sbr:7448916360"
}
}
}
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:7386590256"
"uri": "sbr:7448934371"
},
"darwin-arm64": {
"uri": "sbr:7386589520"
"uri": "sbr:7448932013"
},
"linux": {
"uri": "sbr:7386591470"
"uri": "sbr:7448940645"
},
"linux-aarch64": {
"uri": "sbr:7386588954"
"uri": "sbr:7448930170"
},
"win32-clang-cl": {
"uri": "sbr:7386590846"
"uri": "sbr:7448936966"
}
}
}
Loading
Loading