diff options
author | rnefyodov <rnefyodov@yandex-team.ru> | 2022-02-10 16:47:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:17 +0300 |
commit | c753751b693cf7c481c0292912e2b7536fa6d36a (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /build/ymake.core.conf | |
parent | c22320e8c4f3d7be38c504706f137034e91d31e6 (diff) | |
download | ydb-c753751b693cf7c481c0292912e2b7536fa6d36a.tar.gz |
Restoring authorship annotation for <rnefyodov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r-- | build/ymake.core.conf | 404 |
1 files changed, 202 insertions, 202 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 738854c83e..081833998b 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -7,19 +7,19 @@ # - Autocheck will rebuild and recache everything. # Use this with extreme care and only change if it is utlimately needed. Consider more specific XXX_FAKEIDs below instead. FAKEID=3141592653 - + SANDBOX_FAKEID=${FAKEID}.7600000 CPP_FAKEID=9107927 GO_FAKEID=9056219 ANDROID_FAKEID=8821472 CLANG_TIDY_FAKEID=8625699 -CURDIR=. +CURDIR=. MODDIR=. -BINDIR=bin:/ -SRCDIR= -YMAKE=ymake -ECHO=echo +BINDIR=bin:/ +SRCDIR= +YMAKE=ymake +ECHO=echo INCLUDE_EXTS=.h .hh .hpp .rli .cuh .inc .i CPP_EXT=.cpp OBJ_SUF= @@ -61,7 +61,7 @@ JAVA_REQUIREMENTS=$DEFAULT_REQUIREMENTS PY_REQUIREMENTS=$DEFAULT_REQUIREMENTS BISON_DATA_DIR=contrib/tools/bison/bison/data CPP_BISON_SKELS=${BISON_DATA_DIR}/glr.cc ${BISON_DATA_DIR}/lalr1.cc ${BISON_DATA_DIR}/yacc.c ${BISON_DATA_DIR}/stack.hh ${BISON_DATA_DIR}/variant.hh ${BISON_DATA_DIR}/c++.m4 ${BISON_DATA_DIR}/c++-skel.m4 - + USE_PREBUILT_TOOLS=yes when ($OPENSOURCE == "yes") { USE_PREBUILT_TOOLS=no @@ -121,8 +121,8 @@ otherwise { YNDEXER_ARGS= YNDEXER_OUTPUT= } - -COVERAGE_FLAGS= + +COVERAGE_FLAGS= EXTRA_OUTPUT= when ($CLANG == "yes" || $GCC == "yes") { when ($BUILD_TYPE == "COVERAGE" || $GCOV_COVERAGE) { @@ -130,16 +130,16 @@ when ($CLANG == "yes" || $GCC == "yes") { EXTRA_OUTPUT=${output;noauto;hide;suf=${OBJ_CROSS_SUF}${COMPILE_OUT_SUFFIX}.gcno:SRC} } } - + when ($OS_CYGWIN == "yes") { CFLAGS+=-D_LDBL_EQ_DBL=1 -U__STRICT_ANSI__ USE_ASMLIB=no FSTACK= } -CFLAGS+=$COVERAGE_FLAGS -LDFLAGS+=$COVERAGE_FLAGS - +CFLAGS+=$COVERAGE_FLAGS +LDFLAGS+=$COVERAGE_FLAGS + CHECKFLAG= LEX_FLAGS= NO_MAPREDUCE= @@ -196,9 +196,9 @@ when ($OS_LINUX && $OS_SDK == "ubuntu-14" && $MUSL != "yes") { USE_UBUNTU_COMPATIBILITY=yes } -USE_ARCADIA_PYTHON=yes +USE_ARCADIA_PYTHON=yes USE_ARCADIA_LIBM=no -USE_EAT_MY_DATA=no +USE_EAT_MY_DATA=no HAVE_MKL= when ($HAVE_MKL == "") { @@ -284,7 +284,7 @@ when ($PERLC == "yes") { XSUBPPFLAGS= # tag:tool-specific -ARCH_TOOL=${tool:"tools/archiver"} +ARCH_TOOL=${tool:"tools/archiver"} # tag:tool-specific tag:proto PROTOC=${tool:"contrib/tools/protoc"} @@ -294,9 +294,9 @@ PROTOBUF_PATH=${ARCADIA_ROOT}/contrib/libs/protobuf/src USE_VANILLA_PROTOC=no # tag:tool-specific -FML_TOOL=${tool:"tools/relev_fml_codegen"} -FML_UNUSED_TOOL=${tool:"tools/relev_fml_unused"} -LUA_TOOL=${tool:"tools/lua"} +FML_TOOL=${tool:"tools/relev_fml_codegen"} +FML_UNUSED_TOOL=${tool:"tools/relev_fml_unused"} +LUA_TOOL=${tool:"tools/lua"} ENUM_PARSER_TOOL=${tool:"tools/enum_parser/enum_parser"} # tag:python-specific tag:cython-specific @@ -485,8 +485,8 @@ PY_PROTOS_FOR=no BUILD_PROTO_AS_EVLOG=no # tag:proto -PROTO_NAMESPACE= - +PROTO_NAMESPACE= + # tag:proto tag:python-specific GEN_PY_PROTOS=$YMAKE_PYTHON ${input:"build/scripts/gen_py_protos.py"} @@ -807,7 +807,7 @@ macro GO_PROTO_PLUGIN(NAME, EXT, TOOL, DEPS[]) { macro _GO_PROTOC_PLUGIN_ARGS_BASE_IMPL(Name, Tool, PLUGINS...) { .CMD=--plugin=protoc-gen-${Name}=${tool:Tool} --${Name}_out=${join=|:PLUGINS}:${ARCADIA_BUILD_ROOT}/$PROTO_NAMESPACE } - + # tag:go-specific tag:proto macro _GO_PROTOC_PLUGIN_ARGS_BASE_PROXY(Name, Tool, MAP[], PLUGINS[]) { .CMD=$_GO_PROTOC_PLUGIN_ARGS_BASE_IMPL($Name $Tool $MAP ${pre=plugins=:PLUGINS}) @@ -1177,13 +1177,13 @@ module _BASE_UNIT: _BARE_UNIT { when ($SANITIZER_TYPE && $SANITIZER_TYPE != "no") { CFLAGS+=-fsanitize=$SANITIZER_TYPE -D${SANITIZER_TYPE}_sanitizer_enabled $SANITIZER_CFLAGS -fno-omit-frame-pointer - LDFLAGS+=-fsanitize=$SANITIZER_TYPE + LDFLAGS+=-fsanitize=$SANITIZER_TYPE SANITIZER_DEFINED=yes - - when ($CLANG) { - CFLAGS+=-fsanitize-blacklist=${input:"build/sanitize-blacklist.txt"} - LDFLAGS+=-fsanitize-blacklist=${input:"build/sanitize-blacklist.txt"} - } + + when ($CLANG) { + CFLAGS+=-fsanitize-blacklist=${input:"build/sanitize-blacklist.txt"} + LDFLAGS+=-fsanitize-blacklist=${input:"build/sanitize-blacklist.txt"} + } } when ($SANITIZE_COVERAGE && $SANITIZE_COVERAGE != "no") { @@ -1847,10 +1847,10 @@ module _BASE_UNITTEST: _BASE_PROGRAM { UNITTEST_SEM=$CPP_PROGRAM_SEM && add_test NAME $REALPRJNAME COMMAND $REALPRJNAME # tag:test ### @usage: UNITTEST([name]) -### +### ### Unit test module based on library/cpp/testing/unittest. ### It is recommended not to specify the name. -### +### ### Documentation: https://wiki.yandex-team.ru/yatool/test/#opisanievya.make1 module UNITTEST: _BASE_UNITTEST { .SEM=UNITTEST_SEM @@ -1890,18 +1890,18 @@ module GTEST: _BASE_UNITTEST { SET(MODULE_LANG CPP) } -USE_AFL=no - +USE_AFL=no + # tag:fuzzing ### @usage: FUZZ() -### +### ### In order to start using Fuzzing in Arcadia, you need to create a FUZZ module with the implementation of the function LLVMFuzzerTestOneInput(). ### This module should be reachable by RECURSE from /autocheck project in order for the corpus to be regularly updated. ### AFL and Libfuzzer are supported in Arcadia via a single interface, but the automatic fuzzing still works only through Libfuzzer. -### +### ### Example: https://a.yandex-team.ru/arc/trunk/arcadia/contrib/libs/re2/re2/fuzzing/re2_fuzzer.cc?rev=2919463#L58 ### -### Documentation: https://wiki.yandex-team.ru/yatool/fuzzing/ +### Documentation: https://wiki.yandex-team.ru/yatool/fuzzing/ module FUZZ: _BASE_PROGRAM { .NODE_TYPE=Program .FINAL_TARGET=no @@ -1920,8 +1920,8 @@ module FUZZ: _BASE_PROGRAM { } ADD_YTEST($MODULE_PREFIX$REALPRJNAME fuzz.test) -} - +} + # tag:ios-specific PACK_IOS_CMD= when ($OS_IOS && $BUILD_IOS_APP) { @@ -1974,17 +1974,17 @@ FUZZ_DICTS_VALUE= ### @usage: FUZZ_DICTS(path1 [path2...]) ### ### Allows you to specify dictionaries, relative to the root of Arcadia, which will be used in Fuzzing. -### Libfuzzer and AFL use a single syntax for dictionary descriptions. +### Libfuzzer and AFL use a single syntax for dictionary descriptions. ### Should only be used in FUZZ modules. -### -### Documentation: https://wiki.yandex-team.ru/yatool/fuzzing/ +### +### Documentation: https://wiki.yandex-team.ru/yatool/fuzzing/ macro FUZZ_DICTS(Data...) { SET_APPEND(FUZZ_DICTS_VALUE $Data) } FUZZ_OPTS_VALUE= ### @usage: FUZZ_OPTS(opt1 [Opt2...]) -### +### ### Overrides or adds options to the corpus mining and fuzzer run. ### Currently supported only Libfuzzer, so you should use the options for it. ### Should only be used in FUZZ modules. @@ -1996,7 +1996,7 @@ FUZZ_OPTS_VALUE= ### -rss_limit_mb=8192 ### ) ### -### Documentation: https://wiki.yandex-team.ru/yatool/fuzzing/ +### Documentation: https://wiki.yandex-team.ru/yatool/fuzzing/ macro FUZZ_OPTS(Data...) { SET_APPEND(FUZZ_OPTS_VALUE $Data) } @@ -2032,15 +2032,15 @@ macro DISABLE_DATA_VALIDATION() { # tag:test TEST_DATA_VALUE= -### @usage: DATA([path...]) -### +### @usage: DATA([path...]) +### ### Specifies the path to the data necessary test. ### Valid values are: arcadia/<path> , arcadia_tests_data/<path> and sbr://<resource_id>. ### In the latter case resource will be brought to the working directory of the test before it is started ### ### Used only inside TEST modules. -### -### Documentation: https://wiki.yandex-team.ru/yatool/test/#dannyeizrepozitorija +### +### Documentation: https://wiki.yandex-team.ru/yatool/test/#dannyeizrepozitorija macro DATA(Data...) { SET_APPEND(TEST_DATA_VALUE $Data) ADD_CHECK(check.data $Data) @@ -2049,10 +2049,10 @@ macro DATA(Data...) { # tag:test TEST_TAGS_VALUE= ### @usage: TAG ([tag...]) -### +### ### Each test can have one or more tags used to filter tests list for running. ### There are also special tags affecting test behaviour, for example ya:external, sb:ssd. -### +### ### Documentation: https://wiki.yandex-team.ru/yatool/test/#obshhieponjatija macro TAG(Tags...) { SET_APPEND(TEST_TAGS_VALUE $Tags) @@ -2061,9 +2061,9 @@ macro TAG(Tags...) { # tag:test TEST_REQUIREMENTS_VALUE= ### @usage: REQUIREMENTS([cpu:<count>] [disk_usage:<size>] [ram:<size>] [ram_disk:<size>] [container:<id>] [network:<restricted|full>] [dns:dns64]) -### -### Allows you to specify the requirements of the test. -### +### +### Allows you to specify the requirements of the test. +### ### Documentation about the Arcadia test system: https://wiki.yandex-team.ru/yatool/test/ macro REQUIREMENTS(Tags...) { SET_APPEND(TEST_REQUIREMENTS_VALUE $Tags) @@ -2119,8 +2119,8 @@ macro SKIP_TEST(Reason...) { # tag:test LINT_LEVEL_VALUE=extended -### @usage: NO_LINT() -### +### @usage: NO_LINT() +### ### Do not check for style files included in PY_SRCS, TEST_SRCS, JAVA_SRCS. macro NO_LINT() { SET(LINT_LEVEL_VALUE none) @@ -2171,7 +2171,7 @@ module PYTEST_BIN: _BASE_PYTEST { # tag:python-specific tag:test ### @usage: PY2TEST([name]) -### +### ### The test module for Python 2.x based on py.test ### ### This module is compatible only with PYTHON2-tagged modules and selects peers from multimodules accordingly. @@ -2262,15 +2262,15 @@ module GTEST_UGLY: _BASE_PROGRAM { # tag:test ### @usage: EXECTEST() -### +### ### Module definition of generic test that executes a binary. ### Use macro RUN to specify binary to run. -### +### ### @example: ### ### EXECTEST() ### OWNER(g:yatool) -### +### ### RUN( ### cat input.txt ### ) @@ -2282,9 +2282,9 @@ module GTEST_UGLY: _BASE_PROGRAM { ### ) ### TEST_CWD(devtools/ya/test/tests/exectest/data) ### END() -### +### ### More examples: https://wiki.yandex-team.ru/yatool/test/#exec-testy -### +### ### @see: [RUN()](#macro_RUN) module EXECTEST: _BARE_UNIT { .NODE_TYPE=Program @@ -2334,11 +2334,11 @@ when ($YA_DEV == "yes") { # tag:test -### @usage: UNITTEST_FOR(path/to/lib) +### @usage: UNITTEST_FOR(path/to/lib) ### ### Convenience extension of UNITTEST module. ### The UNINTTEST module with additional SRCDIR + ADDINCL + PEERDIR on path/to/lib. -### path/to/lib is the path to the directory with the LIBRARY project. +### path/to/lib is the path to the directory with the LIBRARY project. ### ### Documentation about the Arcadia test system: https://wiki.yandex-team.ru/yatool/test/ module UNITTEST_FOR: UNITTEST { @@ -2775,15 +2775,15 @@ module R_MODULE: DLL_UNIT { when ($DARWIN == "yes") { LDFLAGS+=-flat_namespace -dynamiclib } - + when ($MSVC == "yes" || $CYGWIN == "yes") { MODULE_PREFIX=lib MODULE_SUFFIX=.dll } ADDINCL(contrib/libs/r-lang) -} - +} + ### @usage: DYNAMIC_LIBRARY_FROM(Paths) ### ### Use specified libraries as sources of DLL @@ -2982,7 +2982,7 @@ module _DLL_COMPATIBLE_LIBRARY: LIBRARY { PACKED_PACKAGE_ARGS= PACKED_PACKAGE_EXT= -### @usage: PACK(archive_type) +### @usage: PACK(archive_type) ### ### When placed inside the PACKAGE module, packs the build results tree to the archive with specified extension. Currently supported extensions are `tar` and `tar.gz` ### @@ -2998,14 +2998,14 @@ macro PACKAGE_STRICT() { SET(PACKAGE_STRICT_VALUE yes) } -### @usage: PACKAGE(name) +### @usage: PACKAGE(name) ### ### Module collects what is described directly inside it, builds and collects all its transitively available PEERDIRs. ### As a result, build directory of the project gets the structure of the accessible part of Arcadia, where the build result of each PEERDIR is placed to relevant Arcadia subpath. ### The data can be optionally packed if macro PACK() is used. -### +### ### Is only used together with the macros FILES(), PEERDIR(), COPY(), FROM_SANDBOX(), RUN_PROGRAM or BUNDLE(). Don't use SRCS inside a PACKAGE. -### +### ### Documentation: https://wiki.yandex-team.ru/yatool/large-data/ ### ### @see: [PACK()](#macro_PACK) @@ -3061,7 +3061,7 @@ macro RESOLVE_PROTO() { ADDINCL(FOR proto $PROTOBUF_PATH) } -### @usage: UNION(name) +### @usage: UNION(name) ### ### Collection of PEERDIR dependencies, files and artifacts. ### UNION doesn't build its peers, just provides those to modules depending on it. @@ -4424,14 +4424,14 @@ REAL_SWIG_DLL_JAR_CMD=$GENERATE_VCS_JAVA_INFO_NODEP && ${cwd:ARCADIA_BUILD_ROOT} # tag:deprecated ### @usage: METAQUERY() #deprecated ### -### Project Definition - KIWI Meta query. (Objected) +### Project Definition - KIWI Meta query. (Objected) ### -### https://wiki.yandex-team.ru/robot/manual/kiwi/techdoc/design/metaquery/ +### https://wiki.yandex-team.ru/robot/manual/kiwi/techdoc/design/metaquery/ module METAQUERY: _BASE_UNIT { .ALL_INS_TO_OUT=yes .FINAL_TARGET=yes PRINT_MODULE_TYPE(METAQUERY $MODULE_PREFIX$REALPRJNAME) -} +} ARGS_DELIM="MACRO_CALLS_DELIM" @@ -4477,11 +4477,11 @@ macro USE_ERROR_PRONE() { } TEST_CWD_VALUE= -### @usage: TEST_CWD(path) -### +### @usage: TEST_CWD(path) +### ### Defines working directory for test runs. Othen used in conjunction with DATA() macro. ### Is only used inside of the TEST modules. -### +### ### Documentation: https://wiki.yandex-team.ru/yatool/test/ macro TEST_CWD(Arg) { SET(TEST_CWD_VALUE $Arg) @@ -4683,26 +4683,26 @@ macro MAVEN_GROUP_ID(Arg) { # tag:java-specific ANNOTATION_PROCESSOR_VALUE= -### @usage: ANNOTATION_PROCESSOR(processors...) +### @usage: ANNOTATION_PROCESSOR(processors...) ### -### The macro is in development. +### The macro is in development. ### Used to specify annotation processors to build JAVA_PROGRAM() and JAVA_LIBRARY(). macro ANNOTATION_PROCESSOR(Args...) { SET_APPEND(ANNOTATION_PROCESSOR_VALUE $ARGS_DELIM $Args) } EXCLUDE_VALUE= -### EXCLUDE(prefixes) +### EXCLUDE(prefixes) ### ### The macro is in development. -### Specifies which libraries should be excluded from the classpath. +### Specifies which libraries should be excluded from the classpath. macro EXCLUDE(Args...) { SET_APPEND(EXCLUDE_VALUE $ARGS_DELIM $Args) } # tag:java-specific JAVA_SRCS_VALUE= -### @usage: JAVA_SRCS(srcs) +### @usage: JAVA_SRCS(srcs) ### ### Specify java source files and resources. A macro can be contained in any of four java modules. ### Keywords: @@ -5424,14 +5424,14 @@ macro ADD_COMPILABLE_TRANSLIT(TranslitTable, NGrams, Name, Options...) { # tag:python-specific tag:proto tag:deprecated ### @usage GENERATE_PY_PROTOS(ProtoFiles...) # deprecated -### +### ### Generate python bindings for protobuf files. ### Macro is obsolete and not recommended for use! macro GENERATE_PY_PROTOS(FILES...) { foreach (FILE : $FILES) { _PY_PROTO_CMD($FILE) } -} +} # tag:python-specific tag:proto macro _GENERATE_PY_PROTOS_INTERNAL(FILES...) { @@ -5483,9 +5483,9 @@ macro _BUNDLE_TARGET(Target, Destination) { ### @usage: TIMEOUT(TIMEOUT) ### -### Sets a timeout on test execution -### -### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ +### Sets a timeout on test execution +### +### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ macro TIMEOUT(Time) { SET(TEST_TIMEOUT $Time) } @@ -5501,70 +5501,70 @@ macro VALIDATE_DATA_RESTART(Ext) { } # tag:test -TEST_FORK_MODE=none +TEST_FORK_MODE=none TEST_PARTITION=SEQUENTIAL - + # tag:test -### @usage: FORK_TESTS() -### +### @usage: FORK_TESTS() +### ### Splits a test run on chunks by test classes. -### The number of chunks can be overridden using the macro SPLIT_FACTOR. -### +### The number of chunks can be overridden using the macro SPLIT_FACTOR. +### ### Allows to run tests in parallel. Supported in UNITTEST, JTEST/JUNIT5 and PY2TEST/PY3TEST modules. -### -### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ +### +### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ macro FORK_TESTS(MODE...) { SET(TEST_FORK_MODE tests) SET(TEST_PARTITION $MODE) -} - +} + # tag:test -### @usage: FORK_SUBTESTS() -### -### Splits the test run in chunks on subtests. -### The number of chunks can be overridden using the macro SPLIT_FACTOR. -### +### @usage: FORK_SUBTESTS() +### +### Splits the test run in chunks on subtests. +### The number of chunks can be overridden using the macro SPLIT_FACTOR. +### ### Allows to run tests in parallel. Supported in UNITTEST, JTEST/JUNIT5 and PY2TEST/PY3TEST modules. -### -### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ +### +### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ macro FORK_SUBTESTS(MODE...) { SET(TEST_FORK_MODE subtests) SET(TEST_PARTITION $MODE) -} - +} + # tag:test -### @usage: SPLIT_FACTOR(x) -### +### @usage: SPLIT_FACTOR(x) +### ### Sets the number of chunks for parallel run tests when used in test module with FORK_TESTS() or FORK_SUBTESTS(). ### If none of those is specified this macro implies FORK_TESTS(). ### -### Supports C++ ut and PyTest. -### -### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ +### Supports C++ ut and PyTest. +### +### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ macro SPLIT_FACTOR(Factor) { SET(TEST_SPLIT_FACTOR $Factor) -} - +} + # tag:test FORK_TEST_FILES_MODE= -### @usage: FORK_TEST_FILES() -### +### @usage: FORK_TEST_FILES() +### ### Only for PY2TEST and PY3TEST: splits a file executable with the tests on chunks in the files listed in TEST_SRCS -### Compatible with FORK_(SUB)TESTS. -### -### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ +### Compatible with FORK_(SUB)TESTS. +### +### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ macro FORK_TEST_FILES() { SET(FORK_TEST_FILES_MODE on) } # tag:test TEST_SIZE_NAME=SMALL -### @usage: SIZE(SMALL/MEDIUM/LARGE) -### +### @usage: SIZE(SMALL/MEDIUM/LARGE) +### ### Set the 'size' for the test. Each 'size' has own set of resrtictions, SMALL bein the most restricted and LARGE being the list. ### See documentation on test system for more details. ### -### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ +### Documentation about the system test: https://wiki.yandex-team.ru/yatool/test/ macro SIZE(Type) { SET(TEST_SIZE_NAME $Type) } @@ -6144,14 +6144,14 @@ macro SRC(FILE, FLAGS...) { } ### @usage: SRCS(<[GLOBAL] File> ...) -### +### ### Source files of the project. Files are built according to their extension and put int module output or fed to ultimate PROGRAM/DLL depending on GLOBAL presence. -### Arcadia Paths from the root and is relative to the project's LIST are supported -### +### Arcadia Paths from the root and is relative to the project's LIST are supported +### ### GLOBAL marks next file as direct input to link phase of the program/shared library project built into. This prevents symbols of the file to be excluded by linker as unused. ### The scope of the GLOBAL keyword is the following file (that is, in the case of SRCS(GLOBAL foo.cpp bar.cpp) global will be only foo.cpp) -### -### @example: +### +### @example: ### ### LIBRARY(test_global) ### SRCS(GLOBAL foo.cpp) @@ -6272,7 +6272,7 @@ macro SRC_CPP_AVX2(FILE, FLAGS...) { # tag:python-processing tag:cython # TODO: use it in [.pyx] cmd ### @usage: BUILDWITH_CYTHON_CPP(Src Options...) -### +### ### Generates .cpp file from .pyx. macro BUILDWITH_CYTHON_CPP(Src, Options...) { .CMD=$RUN_CYTHON_SCRIPT $CYTHON_OPTIONS ${Options} --cplus ${CYTHON_CPP_OUTPUT_INCLUDES} ${pre=-I:_CYTHON__INCLUDE} ${input:Src} -o ${output;tobindir:Src.cpp} $CYTHON_OUTPUT_INCLUDES ${requirements;hide:PY_REQUIREMENTS} ${kv;hide:"p CY"} ${kv;hide:"pc yellow"} @@ -6291,7 +6291,7 @@ macro _BUILDWITH_CYTHON_CPP_DEP(Src, Dep, Options...) { # tag:python-processing tag:cython ### @usage: BUILDWITH_CYTHON_C(Src Options...) -### +### ### Generates .c file from .pyx. macro BUILDWITH_CYTHON_C(Src, Options...) { .CMD=$RUN_CYTHON_SCRIPT $CYTHON_OPTIONS ${Options} ${pre=-I:_CYTHON__INCLUDE} ${input:Src} -o ${output;tobindir:Src.c} $CYTHON_OUTPUT_INCLUDES ${requirements;hide:PY_REQUIREMENTS} ${kv;hide:"p CY"} ${kv;hide:"pc yellow"} @@ -6355,10 +6355,10 @@ macro BUILDWITH_RAGEL6(Src, Options...) { # tag:python-processing tag:internal # TODO: use it in [.pyx] cmd ### @usage: _PY_REGISTER() # internal -### +### ### Register Python 2.x module in internal resource file system. Arcadia Python 2.x importer will be retrieve these on import directive. ### -### Documentation: https://wiki.yandex-team.ru/devtools/commandsandvars/pysrcs/#makrospyregister +### Documentation: https://wiki.yandex-team.ru/devtools/commandsandvars/pysrcs/#makrospyregister macro _PY_REGISTER(Func) { .CMD=$YMAKE_PYTHON ${input:"build/scripts/gen_py_reg.py"} $Func ${output;noauto:Func.reg.cpp} ${requirements;hide:PY_REQUIREMENTS} ${kv;hide:"p PY"} ${kv;hide:"pc yellow"} SRCS(GLOBAL $Func.reg.cpp) @@ -6395,11 +6395,11 @@ macro _PY3_COMPILE_BYTECODE(SrcX, Src, Dst) { .CMD=${env:"PYTHONHASHSEED=0"} ${tool:"contrib/tools/python3/pycc"} $SrcX ${input:Src} ${output;noauto:Dst.yapyc3} ${requirements;hide:PY_REQUIREMENTS} ${kv;hide:"p PY"} ${kv;hide:"pc yellow"} } -### @usage: ARCHIVE_ASM(NAME archive_name files...) -### +### @usage: ARCHIVE_ASM(NAME archive_name files...) +### ### Similar to the macro ARCHIVE, but: ### 1. works faster and it is better to use for large files. -### 2. Different syntax (see examples in codesearch or users/pg/tests/archive_test) +### 2. Different syntax (see examples in codesearch or users/pg/tests/archive_test) macro ARCHIVE_ASM(NAME="", DONTCOMPRESS?"-p":"", REQUIREMENTS[], Files...) { .CMD=$ARCH_TOOL -q $DONTCOMPRESS ${input;join=\: :Files}: -o ${output;chksum;suf=$OBJ_SUF.rodata:NAME} ${requirements;hide:REQUIREMENTS} ${kv;hide:"p AR"} ${kv;hide:"pc light-cyan"} } @@ -6417,10 +6417,10 @@ macro PIRE_INLINE(FILES...) { } ### @usage: ARCHIVE(archive_name [DONT_COMPRESS] files...) -### +### ### Add arbitrary data to a modules. Unlike RESOURCE macro the result should be futher processed by othet macros in the module. ### -### Example: https://wiki.yandex-team.ru/yatool/howtowriteyamakefiles/#a1ispolzujjtekomanduarchive +### Example: https://wiki.yandex-team.ru/yatool/howtowriteyamakefiles/#a1ispolzujjtekomanduarchive macro ARCHIVE(NAME="", DONTCOMPRESS?"-p":"", REQUIREMENTS[], Files...) { .CMD=$ARCH_TOOL -q -x $DONTCOMPRESS ${input;join=\: :Files}: -o ${output;chksum;addincl;noauto:NAME} ${requirements;hide:REQUIREMENTS} ${kv;hide:"p AR"} ${kv;hide:"pc light-red"} } @@ -6436,7 +6436,7 @@ macro ARCHIVE_BY_KEYS(NAME="", KEYS="", DONTCOMPRESS?"-p":"", REQUIREMENTS[], Fi } #scripts - + #special commands BUILDVERSION_SCRIPT=build/scripts/build_info_gen.py SVNVERSION_JAVA_MARKER=output-java-class @@ -6501,8 +6501,8 @@ macro CONFIGURE_FILE(Src, Dst) { .SEM=set_vasrs ${CFG_VARS} && configure_file $S/${input;rootrel:Src} $B/${output;rootrel:Dst} } -### @usage: BASE_CODEGEN(tool_path prefix) -### +### @usage: BASE_CODEGEN(tool_path prefix) +### ### Generator ${prefix}.cpp + ${prefix}.h files based on ${prefix}.in. macro BASE_CODEGEN(Tool, Prefix, Opts...) { .CMD=${tool:Tool} ${input:Prefix.in} ${output;nopath;noauto:Prefix.cpp} ${output;nopath:Prefix.h} $Opts ${kv;hide:"p BC"} ${kv;hide:"pc yellow"} @@ -6510,7 +6510,7 @@ macro BASE_CODEGEN(Tool, Prefix, Opts...) { # tag:internal ### @usage: _SPLIT_CODEGEN_BASE(tool prefix OUTS[] OUTPUT_INCLUDES[]) # internal -### +### ### Generator of a certain number .the. cpp file + one header .h file from .in. ### This is the call of the generator. Python macro SPLIT_CODEGEN() is defined in order to properly fill command outputs from OUT_NUM argument. macro _SPLIT_CODEGEN_BASE(Tool, Prefix, OUT[], OPTS[], OUTPUT_INCLUDES[]) { @@ -6549,7 +6549,7 @@ macro LDFLAGS(Flags...) { } # tag:flags -### @usage: CFLAGS([GLOBAL compiler_flag]* compiler_flags) +### @usage: CFLAGS([GLOBAL compiler_flag]* compiler_flags) ### ### Add the specified flags to the compilation command of C and C++ files. ### @params: GLOBAL - Propagates these flags to dependent projects @@ -6559,30 +6559,30 @@ macro CFLAGS(Flags...) { } # tag:flags -### @usage: MASMFLAGS(compiler flags) +### @usage: MASMFLAGS(compiler flags) ### Add the specified flags to the compilation command of .masm files. macro MASMFLAGS(Flags...) { SET_APPEND(MASMFLAGS $Flags) } # tag:flags -### @usage: CONLYFLAGS([GLOBAL compiler_flag]* compiler_flags) +### @usage: CONLYFLAGS([GLOBAL compiler_flag]* compiler_flags) ### Add the specified flags to the compilation command of .c (but not .cpp) files. -### @params: GLOBAL - Distributes these flags on dependent projects +### @params: GLOBAL - Distributes these flags on dependent projects macro CONLYFLAGS(Flags...) { SET_APPEND_WITH_GLOBAL(USER_CONLYFLAGS $Flags) } # tag:flags -### @usage: CXXFLAGS(compiler_flags) +### @usage: CXXFLAGS(compiler_flags) ### Add the specified flags to the compilation command of .cpp (but not .c) files. macro CXXFLAGS(Flags...) { SET_APPEND_WITH_GLOBAL(USER_CXXFLAGS $Flags) } # tag:flags -### @usage: CUDA_NVCC_FLAGS(compiler flags) -### Add the specified flags to the compile line .cu-files. +### @usage: CUDA_NVCC_FLAGS(compiler flags) +### Add the specified flags to the compile line .cu-files. macro CUDA_NVCC_FLAGS(Flags...) { SET_APPEND(CUDA_NVCC_FLAGS $Flags) } @@ -6616,7 +6616,7 @@ macro NO_COMPILER_WARNINGS() { ENABLE(NO_COMPILER_WARNINGS) } -### @usage: WERROR() +### @usage: WERROR() ### Consider warnings as errors in the current module. ### In the bright future will be removed, since WERROR is the default. ### Priorities: NO_COMPILER_WARNINGS > NO_WERROR > WERROR_MODE > WERROR. @@ -6624,7 +6624,7 @@ macro WERROR() { ENABLE(WERROR) } -### @usage: NO_WERROR() +### @usage: NO_WERROR() ### Override WERROR() behavior ### Priorities: NO_COMPILER_WARNINGS > NO_WERROR > WERROR_MODE > WERROR. macro NO_WERROR() { @@ -6661,9 +6661,9 @@ macro NO_UTIL() { ENABLE(NOUTIL) } -### @usage: NO_RUNTIME() -### -### This macro: +### @usage: NO_RUNTIME() +### +### This macro: ### 1. Sets the ENABLE(NOUTIL) + DISABLE(USE_INTERNAL_STL); ### 2. If the project that contains the macro NO_RUNTIME(), peerdir-it project does not contain NO_RUNTIME() => Warning. ### Note: use this with care. Arcadia STL most likely will be linked into executable anyway, so using STL headers/functions/classes @@ -6674,7 +6674,7 @@ macro NO_RUNTIME() { ENABLE(NORUNTIME) } -### @usage: NO_LIBC() +### @usage: NO_LIBC() ### ### Exclude dependencies on C++ and C runtimes (including util, musl and libeatmydata). ### Note: use this with care. libc most likely will be linked into executable anyway, @@ -6727,8 +6727,8 @@ macro JOINSRC() { } # tag:sanitize -### @usage: NO_SANITIZE() -### +### @usage: NO_SANITIZE() +### ### Disable all sanitizers for the module. macro NO_SANITIZE() { DISABLE(SANITIZER_TYPE) @@ -6740,8 +6740,8 @@ macro NO_SANITIZE() { ### Disable lightweight coverage (-fsanitize-coverage) for the module. macro NO_SANITIZE_COVERAGE() { DISABLE(SANITIZE_COVERAGE) -} - +} + # tag:coverage ### @usage: NO_CLANG_COVERAGE() ### @@ -6808,7 +6808,7 @@ RELEV_FML_CODEGEN_INCLS=${output_include;hide:"kernel/relevfml/relev_fml.h"} ${o ### ### Create serialization support for enumeration members defined in the header (String <-> Enum conversions) and compile it into the module. ### -### Documentation: https://wiki.yandex-team.ru/yatool/HowToWriteYaMakeFiles/ +### Documentation: https://wiki.yandex-team.ru/yatool/HowToWriteYaMakeFiles/ macro GENERATE_ENUM_SERIALIZATION(File) { .CMD=$ENUM_PARSER_TOOL ${input:File} --include-path ${input;rootrel:File} --output ${output;chksum;suf=_serialized.cpp:File} ${output_include;hide:File} ${output_include;hide:"util/generic/serialized_enum.h"} ${kv;hide:"p EN"} ${kv;hide:"pc yellow"} .SEM=generate_enum_serilization ${input:File} ${output;hide;suf=_serialized.o:File} INCLUDE_HEADERS ${input;rootrel:File} ${tool;hide:"tools/enum_parser/enum_parser/bin"} @@ -6827,8 +6827,8 @@ macro GENERATE_ENUM_SERIALIZATION_WITH_HEADER(File) { PEERDIR(tools/enum_parser/enum_serialization_runtime) } -### @usage: DEB_VERSION(File) -### +### @usage: DEB_VERSION(File) +### ### Creates a header file DebianVersion.h define the DEBIAN_VERSION taken from the File. macro DEB_VERSION(File) { .CMD=$YMAKE_PYTHON ${input:"build/scripts/mkver.py"} ${input:File} ${output;stdout:"DebianVersion.h"} ${kv;hide:"p CL"} ${kv;hide:"pc yellow"} @@ -6911,9 +6911,9 @@ macro NO_NEED_CHECK(Flags...) { # tag:deprecated ### @usage: NEED_REVIEW() # deprecated ### -### Mark the project as needing review. +### Mark the project as needing review. ### Reviewers are listed in the macro OWNER. The use of this macro is disabled by default. -### Details can be found here: https://clubs.at.yandex-team.ru/arcadia/6104 +### Details can be found here: https://clubs.at.yandex-team.ru/arcadia/6104 macro NEED_REVIEW(Flags...) { # TODO: FIXME ENABLE(UNUSED_MACRO) @@ -6924,9 +6924,9 @@ macro NEED_REVIEW(Flags...) { ### Specify version of a module. Currently unused by build system, only informative. macro VERSION(Flags...) { ENABLE(UNUSED_MACRO) -} - -DATAWORK_SCHEEME_EXPORT_FLAGS= +} + +DATAWORK_SCHEEME_EXPORT_FLAGS= when ($UNIX == "yes") { SCHEEME2_CFLAGS= -E -x c++ @@ -6937,34 +6937,34 @@ when ($WIN32 == "yes") { } SCHEEME2_STRUCT_INFO_FLAGS=-f "const static ui32 RecordSig" -u "RecordSig" --gcc44_no_typename --no_complex_overloaded_func_export -### @usage: GEN_SCHEEME2(scheeme_name from_file dependent_files...) -### -### Generates a C++ description for structure(contains the field RecordSig) in the specified file (and connected). -### +### @usage: GEN_SCHEEME2(scheeme_name from_file dependent_files...) +### +### Generates a C++ description for structure(contains the field RecordSig) in the specified file (and connected). +### ### 1. ${scheeme_name}.inc - the name of the generated file. -### 2. Use an environment variable - DATAWORK_SCHEEME_EXPORT_FLAGS that allows to specify flags to tools/structparser -### +### 2. Use an environment variable - DATAWORK_SCHEEME_EXPORT_FLAGS that allows to specify flags to tools/structparser +### ### @example: ### ### SET(DATAWORK_SCHEEME_EXPORT_FLAGS --final_only -m "::") ### -### all options are passed to structparser (in this example --final_only - do not export heirs with public base that contains the required field,,- m "::" only from the root namespace) +### all options are passed to structparser (in this example --final_only - do not export heirs with public base that contains the required field,,- m "::" only from the root namespace) ### sets in extra option -### +### ### @example: ### ### SET(EXTRACT_STRUCT_INFO_FLAGS -f \"const static ui32 RecordSig\" ### -u \"RecordSig\" -n${scheeme_name}SchemeInfo ----gcc44_no_typename no_complex_overloaded_func_export ### ${DATAWORK_SCHEEME_EXPORT_FLAGS}) ### -### for compatibility with C++ compiler and the external environment. +### for compatibility with C++ compiler and the external environment. ### See tools/structparser for more details. macro GEN_SCHEEME2(ScheemeName, FromFile) { .CMD=$CXX_COMPILER $C_FLAGS_PLATFORM -c ${tmp;stdout:FromFile.cph} $SCHEEME2_CFLAGS ${input:FromFile} ${pre=-I:_C__INCLUDE} $CXXFLAGS -Wno-error && ${tool:"tools/structparser"} -o ${output:ScheemeName.inc} -n N${ScheemeName}SchemeInfo $SCHEEME2_STRUCT_INFO_FLAGS $DATAWORK_SCHEEME_EXPORT_FLAGS ${tmp:FromFile.cph} ${output;stdout;noauto:ScheemeName.inc.log} ${kv;hide:"p SH"} ${kv;hide:"pc yellow"} } ### @usage: SYMLINK(from to) -### Add symlink +### Add symlink macro SYMLINK(From, To) { .CMD=$YMAKE_PYTHON ${input:"build/scripts/symlink.py"} ${input;dirallowed:From} ${output;noauto:To} ${kv;hide:"p LN"} ${kv;hide:"pc light-cyan"} } @@ -6995,10 +6995,10 @@ macro RUN_PROGRAM(Tool, IN{input}[], OUT{output}[], OUT_NOAUTO{output}[], TOOL{t # tag:lua-specific ### @usage: LUA(script_path args... [CWD dir] [ENV key=value...] [TOOL tools...] [IN inputs...] [OUT[_NOAUTO] outputs...] [STDOUT[_NOAUTO] output] [OUTPUT_INCLUDES output_includes...][ REQUIREMENTS reqs]) -### +### ### Run a lua script. ### These macros are similar: RUN_PROGRAM, LUA, PYTHON. -### +### ### Parameters: ### - script_path - Path to the script.3 ### - args... - Program arguments. Relative paths listed in TOOL, IN, OUT, STDOUT become absolute. @@ -7019,10 +7019,10 @@ macro LUA(ScriptPath, IN{input}[], OUT{output}[], OUT_NOAUTO{output}[], TOOL{too # tag:python-specific ### @usage: PYTHON(script_path args... [CWD dir] [ENV key=value...] [TOOL tools...] [IN inputs...] [OUT[_NOAUTO] outputs...] [STDOUT[_NOAUTO] output] [OUTPUT_INCLUDES output_includes...] [REQUIREMENTS reqs]) -### +### ### Run a python script with $(PYTHON)/python built from devtools/huge_python. ### These macros are similar: RUN_PROGRAM, LUA, PYTHON. -### +### ### Parameters: ### - script_path - Path to the script. ### - args... - Program arguments. Relative paths listed in TOOL, IN, OUT, STDOUT become absolute. @@ -7127,8 +7127,8 @@ macro COMPILE_C_AS_CXX() { ### Compile files without debug info collection. macro NO_DEBUG_INFO() { SET(NO_DEBUGINFO yes) -} - +} + ### @usage: CTEMPLATE_VARNAMES(File) ### ### Generate File.varnames.h using contrib/libs/ctemplate/make_tpl_varnames_h @@ -7138,9 +7138,9 @@ macro CTEMPLATE_VARNAMES(File) { .CMD=${tool:"contrib/libs/ctemplate/make_tpl_varnames_h"} -f ${output;addincl;nopath;noallext:File.varnames.h} ${input:File} } -LLVM_OPTS= +LLVM_OPTS= CLANG_ROOT=$CLANG_RESOURCE_GLOBAL - + ### @usage: GENERATED_SRCS(srcs... PARSE_META_FROM cpp_srcs... [OUTPUT_INCLUDES output_includes...] [OPTIONS]) ### ### Generate sources using Jinja 2 template engine. @@ -7184,8 +7184,8 @@ macro CLANG_EMIT_AST_CXX(Input, Output, Opts...) { macro LLVM_COMPILE_CXX(Input, Output, Opts...) { .CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS $CLANG_ROOT/bin/clang++ ${pre=-I:_C__INCLUDE} $BC_CXXFLAGS $C_FLAGS_PLATFORM -Wno-unknown-warning-option $LLVM_OPTS -std=c++17 -fno-lto -emit-llvm -c ${input:Input} -o ${output;noauto:Output} $Opts ${kv;hide:"p BC"} ${kv;hide:"pc light-green"} PEERDIR(build/platform/clang) -} - +} + ### @usage: LLVM_COMPILE_C(Input Output Opts...) ### ### Emit LLVM bytecode from .c file. BC_CFLAGS, LLVM_OPTS and C_FLAGS_PLATFORM are passed in, while CFLAGS are not. @@ -7193,8 +7193,8 @@ macro LLVM_COMPILE_CXX(Input, Output, Opts...) { macro LLVM_COMPILE_C(Input, Output, Opts...) { .CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS $CLANG_ROOT/bin/clang ${pre=-I:_C__INCLUDE} $BC_CFLAGS $C_FLAGS_PLATFORM $LLVM_OPTS -fno-lto -emit-llvm -c ${input:Input} -o ${output;noauto:Output} $Opts ${kv;hide:"p BC"} ${kv;hide:"pc light-green"} PEERDIR(build/platform/clang) -} - +} + ### @usage: BPF(Input Output Opts...) ### ### Emit eBPF bytecode from .c file. @@ -7229,8 +7229,8 @@ macro LLVM_COMPILE_LL(Input, Output, Opts...) { macro LLVM_LINK(Output, Inputs...) { .CMD=$CLANG_ROOT/bin/llvm-link ${input:Inputs} -o ${output;noauto:Output} ${kv;hide:"p LD"} ${requirements;hide:LD_REQUIREMENTS} ${kv;hide:"pc light-red"} PEERDIR(build/platform/clang) -} - +} + ### @usage: LLVM_OPT(Input Output Opts...) ### ### Call llvm-opt with set of Opts on Input to produce Output. @@ -7238,12 +7238,12 @@ macro LLVM_LINK(Output, Inputs...) { macro LLVM_OPT(Input, Output, Opts...) { .CMD=$YMAKE_PYTHON ${input:"build/scripts/llvm_opt_wrapper.py"} $CLANG_ROOT/bin/opt ${input:Input} -o ${output;noauto:Output} $Opts ${kv;hide:"p OP"} ${kv;hide:"pc yellow"} PEERDIR(build/platform/clang) -} - +} + when ($NO_DEBUGINFO == "yes") { DEBUG_INFO_FLAGS= } - + when ($CLANG && $DEBUGINFO_LINES_ONLY == "yes" && $NO_DEBUGINFO != "yes") { DEBUG_INFO_FLAGS=-gline-tables-only } @@ -7257,17 +7257,17 @@ PACK_TGZ=${cwd:ARCADIA_BUILD_ROOT} tar -czf ${rootrel:OUTPUT} ${rootrel:INPUT} $ macro TOUCH(Outputs...) { .CMD=$YMAKE_PYTHON ${input:"build/scripts/touch.py"} ${output:Outputs} } -TOUCH_UNIT=$YMAKE_PYTHON ${input:"build/scripts/touch.py"} ${kv;hide:"p UN"} ${kv;hide:"pc light-cyan"} $TARGET +TOUCH_UNIT=$YMAKE_PYTHON ${input:"build/scripts/touch.py"} ${kv;hide:"p UN"} ${kv;hide:"pc light-cyan"} $TARGET TOUCH_PACKAGE=$YMAKE_PYTHON ${input:"build/scripts/touch.py"} ${kv;hide:"pc light-red"} $TARGET && $YMAKE_PYTHON ${input:"build/scripts/copy_to_dir.py"} --dest-dir $BINDIR --build-root $ARCADIA_BUILD_ROOT $PACKED_PACKAGE_ARGS $SRCS_GLOBAL $PEERS _P_PK=${kv;hide:"p PK"} TOUCH_PACKAGE_MF=$GENERATE_MF && $TOUCH_PACKAGE $_P_PK TOUCH_JAVA_UNIT=$YMAKE_PYTHON ${input:"build/scripts/touch.py"} ${kv;hide:"java $CURDIR"} $TARGET NO_CHECK_IMPORTS_FOR_VALUE=None -### @usage: NO_CHECK_IMPORTS([patterns]) -### +### @usage: NO_CHECK_IMPORTS([patterns]) +### ### Do not run checks on imports of Python modules. -### Optional parameter mask patterns describes the names of the modules that do not need to check. +### Optional parameter mask patterns describes the names of the modules that do not need to check. macro NO_CHECK_IMPORTS(Masks...) { SET(NO_CHECK_IMPORTS_FOR_VALUE $Masks) } @@ -7380,8 +7380,8 @@ macro WHOLE_ARCHIVE(PEERS...) { ANDROID_SDK_ROOT=${ANDROID_SDK_RESOURCE_GLOBAL}/android_sdk -macro TASKLET() { - PEERDIR(tasklet/api) +macro TASKLET() { + PEERDIR(tasklet/api) # CPP CPP_PROTO_PLUGIN(tasklet_cpp tasklet/gen/cpp .tasklet.h) @@ -7391,16 +7391,16 @@ macro TASKLET() { #Java JAVA_PROTO_PLUGIN(tasket_java tasklet/gen/java DEPS tasklet/runtime/java/lib $JAVA_GRPC_STUB $JAVA_GRPC_PROTOBUF) -} - -TASKLET_REG_INCLUDES= \ - ${output_include;hide:"tasklet/runtime/lib/cpp_wrapper.h"} \ +} + +TASKLET_REG_INCLUDES= \ + ${output_include;hide:"tasklet/runtime/lib/cpp_wrapper.h"} \ ${output_include;hide:"tasklet/runtime/lib/go_wrapper.h"} \ ${output_include;hide:"tasklet/runtime/lib/py_wrapper.h"} \ ${output_include;hide:"tasklet/runtime/lib/js_wrapper.h"} \ - ${output_include;hide:"tasklet/runtime/lib/registry.h"} + ${output_include;hide:"tasklet/runtime/lib/registry.h"} -macro TASKLET_REG(Name, Lang, Impl, Includes...) { +macro TASKLET_REG(Name, Lang, Impl, Includes...) { PEERDIR(tasklet/domain sandbox/bin sandbox/taskbox/worker) when($Lang == "js") { @@ -7410,7 +7410,7 @@ macro TASKLET_REG(Name, Lang, Impl, Includes...) { } .CMD=$YMAKE_PYTHON ${input:"build/scripts/gen_tasklet_reg.py"} $Name -l $Lang -i $Impl ${output;noauto:Name.task.cpp} $Includes ${output_include;hide:Includes} $TASKLET_REG_INCLUDES ${kv;hide:"p TT"} ${kv;hide:"pc yellow"} - SRCS(GLOBAL $Name.task.cpp) + SRCS(GLOBAL $Name.task.cpp) } # TEMPORARY METHOD FOR EXTENDED REGISTRY SETUP |