diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 11:16:53 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 11:16:53 +0300 |
commit | af118429225479ca21bc858033203e67c0c066e3 (patch) | |
tree | 3ddc4e58101a00b4ab6b2059b1513dcbe468074d | |
parent | 15fad050aa910af2ecc47bdf779222886eb0d29e (diff) | |
download | ydb-af118429225479ca21bc858033203e67c0c066e3.tar.gz |
intermediate changes
ref:dde29d27178f862374234bb37657e21cda94f00a
-rw-r--r-- | build/conf/project_specific/yql_udf.conf | 4 | ||||
-rw-r--r-- | build/rules/flake8/migrations.yaml | 2 | ||||
-rw-r--r-- | build/ymake.core.conf | 7 |
3 files changed, 12 insertions, 1 deletions
diff --git a/build/conf/project_specific/yql_udf.conf b/build/conf/project_specific/yql_udf.conf index badaf36687..507072f2a7 100644 --- a/build/conf/project_specific/yql_udf.conf +++ b/build/conf/project_specific/yql_udf.conf @@ -107,6 +107,7 @@ module _YQL_UDF_PROGRAM_BASE: SO_PROGRAM { _MAKE_YQL_UDF() } +UDF_SHARED_SEM=$_ADD_DYNLYB_SEM(${REALPRJNAME}.udf) ### @usage: YQL_UDF(name) ### ### User-defined function for YQL @@ -117,10 +118,13 @@ module _YQL_UDF_PROGRAM_BASE: SO_PROGRAM { ### @see: [YQL_UDF_MODULE()](#module_YQL_UDF_MODULE) multimodule YQL_UDF { module YQL_UDF_SHARED: YQL_UDF_MODULE { + .SEM=UDF_SHARED_SEM NO_CLANG_TIDY() } module YQL_UDF_STATIC: _DLL_COMPATIBLE_LIBRARY { .ALIASES=SRCS=GLOBAL_SRCS + .SEM=CPP_LIBRARY_SEM + .GLOBAL_SEM=CPP_OBJ_LIBRARY_SEM OBJ_SUF=.udfs _ADD_YQL_UDF_DEPS() # disable credits generation for static library diff --git a/build/rules/flake8/migrations.yaml b/build/rules/flake8/migrations.yaml index 6663023ff2..206e5fd79c 100644 --- a/build/rules/flake8/migrations.yaml +++ b/build/rules/flake8/migrations.yaml @@ -418,7 +418,6 @@ migrations: - market/mstat/ch-cache/lib/database - market/reductor/configure/lib - market/reductor/www - - market/report/lite - market/sre/library/python/maaslib - market/sre/services/balancer_api/lib - market/tools/report_stats/lib @@ -3595,6 +3594,7 @@ migrations: - infra/walle/server/tests - market/forecaster/lite - market/idx/marketindexer/medium_tests/yatf + - market/report/lite - ofd/notifier/tests/test_unit - saas/rtyserver_test/tests - search/lingboost/saas/codecs/test_bundle_codecs/tests diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 2eaa2e07ec..fdbbedd79e 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -2316,6 +2316,7 @@ module EXECTEST: _BARE_UNIT { ### ### For more details see: https://wiki.yandex-team.ru/yatool/test/#zapuskbenchmark module Y_BENCHMARK: PROGRAM { + .SEM=CPP_PROGRAM_SEM PEERDIR(library/cpp/testing/benchmark/main) SET(MODULE_LANG CPP) } @@ -2601,6 +2602,10 @@ module RECURSIVE_LIBRARY: LIBRARY { } _SONAME= +macro _ADD_DYNLYB_SEM(Libname) { + .SEM=add_library ${MODDIR} ${Libname} SHARED ${hide:TARGET} ${hide:AUTO_INPUT} && target_include_directories PUBLIC $_C__INCLUDE_GLOBAL && target_include_directories PRIVATE $_C__INCLUDE_OWNED && target_compile_options PRIVATE $USER_CFLAGS $USER_CXXFLAGS && target_compile_options PUBLIC $USER_CFLAGS_GLOBAL_RAW $USER_CXXFLAGS_GLOBAL_RAW +} +CPP_DYN_LIBRARY_SEM=$_ADD_DYNLYB_SEM($REALPRJNAME) ### @usage: DLL_UNIT # internal ### @@ -2609,6 +2614,7 @@ _SONAME= ### Cannot participate in linking to programs, intended to be used as final artifact (packaged and deployed). module DLL_UNIT: _LINK_UNIT { .CMD=LINK_DYN_LIB + .SEM=CPP_DYN_LIBRARY_SEM .NODE_TYPE=Library .SYMLINK_POLICY=SO .GLOBAL=USER_CFLAGS USER_CXXFLAGS USER_CONLYFLAGS LDFLAGS _WHOLE_ARCHIVE_LIBS_VALUE RPATH @@ -6503,6 +6509,7 @@ macro UPDATE_VCS_JAVA_INFO_NODEP(Jar) { ### Unlike CREATE_SVNVERSION_FOR() it doesn't take revion information from VCS, it uses revision and SandboxTaskId passed via -D options to ya make macro CREATE_BUILDINFO_FOR(GenHdr) { .CMD=$YIELD $CXX_COMPILER && $YIELD $CXXFLAGS && $XARGS $YMAKE_PYTHON ${input:BUILDVERSION_SCRIPT} ${output:GenHdr} ${kv;hide:"p BI"} ${kv;hide:"pc yellow"} ${hide;kv:"show_out"} $SVN_DEPENDS_CACHE__NO_UID__ + .SEM=$PYTHON($BUILDVERSION_SCRIPT $GenHdr \\\"${CMAKE_CXX_COMPILER}\\\" \\\"${CMAKE_CXX_FLAGS}\\\" OUT $GenHdr) } DECIMAL_MD5_SCRIPT=build/scripts/decimal_md5.py |