diff options
author | workfork <workfork@yandex-team.ru> | 2022-02-10 16:46:43 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:43 +0300 |
commit | 89db6fe2fe2c32d2a832ddfeb04e8d078e301084 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /build/ymake.core.conf | |
parent | c3745173272d1cf5b0642debb40d019e7ae71094 (diff) | |
download | ydb-89db6fe2fe2c32d2a832ddfeb04e8d078e301084.tar.gz |
Restoring authorship annotation for <workfork@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r-- | build/ymake.core.conf | 156 |
1 files changed, 78 insertions, 78 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 3ee8287185..081833998b 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -1094,12 +1094,12 @@ macro _JAVA_FLATC_CMD(SRC) { .PEERDIR=contrib/java/com/google/flatbuffers/flatbuffers-java/${JAVA_FLATBUFFERS_VERSION} } -# variables must be defined for all module types to make generate_mf.py work -MODULE_PREFIX= -MODULE_SUFFIX= +# variables must be defined for all module types to make generate_mf.py work +MODULE_PREFIX= +MODULE_SUFFIX= NEED_PLATFORM_PEERDIRS=yes PEERDIR_TEST_TOOL=yes - + # tag:python-specific PYTHON2=no PYTHON3=no @@ -1695,7 +1695,7 @@ module _PY2_PROGRAM: _BASE_PY_PROGRAM { ### ### Deprecated. Use PY3_PROGRAM instead. ### Python 2.x binary program. Links all Python 2.x libraries and Python 2.x interpreter into itself to form regular executable. -### If name is not specified it will be generated from the name of the containing project directory. +### If name is not specified it will be generated from the name of the containing project directory. ### This only compatible with PYTHON2-tagged modules and selects those from multimodules. ### ### Documentation: https://wiki.yandex-team.ru/devtools/commandsandvars/py_srcs/ @@ -1851,7 +1851,7 @@ UNITTEST_SEM=$CPP_PROGRAM_SEM && add_test NAME $REALPRJNAME COMMAND $REALPRJNAME ### 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 +### Documentation: https://wiki.yandex-team.ru/yatool/test/#opisanievya.make1 module UNITTEST: _BASE_UNITTEST { .SEM=UNITTEST_SEM PEERDIR(library/cpp/testing/unittest_main) @@ -2048,12 +2048,12 @@ macro DATA(Data...) { # tag:test TEST_TAGS_VALUE= -### @usage: TAG ([tag...]) +### @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. +### 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 +### Documentation: https://wiki.yandex-team.ru/yatool/test/#obshhieponjatija macro TAG(Tags...) { SET_APPEND(TEST_TAGS_VALUE $Tags) } @@ -2298,7 +2298,7 @@ module EXECTEST: _BARE_UNIT { # tag:cpp-specific tag:test ### @usage: Y_BENCHMARK([benchmarkname]) -### +### ### Benchmark test based on the library/cpp/testing/benchmark. ### ### For more details see: https://wiki.yandex-team.ru/yatool/test/#zapuskbenchmark @@ -2457,7 +2457,7 @@ module LIBRARY: _LIBRARY { when ($HAS_CPP_PROTOBUF_PEERS == "yes") { PEERDIR+=$CPP_PROTOBUF_PEERS } - SET(MODULE_TYPE LIBRARY) + SET(MODULE_TYPE LIBRARY) SET(MODULE_LANG CPP) ADD_CLANG_TIDY() @@ -2793,13 +2793,13 @@ macro DYNAMIC_LIBRARY_FROM(Path...) { } -### @usage: DLL(name major_ver [minor_ver] [EXPORTS symlist_file] [PREFIX prefix]) +### @usage: DLL(name major_ver [minor_ver] [EXPORTS symlist_file] [PREFIX prefix]) ### ### Dynamic library module defintion. -### 1. major_ver and minor_ver must be integers. +### 1. major_ver and minor_ver must be integers. ### 2. EXPORTS allows you to explicitly specify the list of exported functions. This accepts 2 kind of files: .exports with <lang symbol> pairs and JSON-line .symlist files -### 3. PREFIX allows you to change the prefix of the output file (default DLL has the prefix "lib"). -### +### 3. PREFIX allows you to change the prefix of the output file (default DLL has the prefix "lib"). +### ### DLL cannot participate in linking to programs but can be used from Java or as final artifact (packaged and deployed). module DLL: DLL_UNIT { SET(MAKE_ONLY_SHARED_LIB yes) @@ -3000,8 +3000,8 @@ macro PACKAGE_STRICT() { ### @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. +### 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. @@ -3010,7 +3010,7 @@ macro PACKAGE_STRICT() { ### ### @see: [PACK()](#macro_PACK) module PACKAGE: _BASE_UNIT { - .CMD=TOUCH_PACKAGE_MF + .CMD=TOUCH_PACKAGE_MF .PEERDIR_POLICY=as_build_from .ALL_INS_TO_OUT=yes .FINAL_TARGET=yes @@ -3043,10 +3043,10 @@ module CI_GROUP: _BARE_UNIT { PEERDIR_TAGS=CPP_PROTO PY3 PY3_NATIVE YQL_UDF_SHARED __EMPTY__ DOCBOOK JAR_RUNNABLE DLL } -TOUCH_UNIT_MF=$TOUCH_UNIT && $GENERATE_MF -TOUCH_DOCS=$YMAKE_PYTHON ${input:"build/scripts/touch.py"} ${kv;hide:"p DC"} ${kv;hide:"pc light-cyan"} $TARGET -TOUCH_DOCS_MF=$TOUCH_DOCS && $GENERATE_MF - +TOUCH_UNIT_MF=$TOUCH_UNIT && $GENERATE_MF +TOUCH_DOCS=$YMAKE_PYTHON ${input:"build/scripts/touch.py"} ${kv;hide:"p DC"} ${kv;hide:"pc light-cyan"} $TARGET +TOUCH_DOCS_MF=$TOUCH_DOCS && $GENERATE_MF + # tag:proto ### @usage: RESOLVE_PROTO() ### @@ -3062,11 +3062,11 @@ macro RESOLVE_PROTO() { } ### @usage: UNION(name) -### +### ### Collection of PEERDIR dependencies, files and artifacts. ### UNION doesn't build its peers, just provides those to modules depending on it. ### When specied in DEPENDS() macro the UNION is transitively closed, building all its peers and providing those by own paths (without adding this module path like PACKAGE does). -### +### ### Is only used together with the macros like FILES(), PEERDIR(), COPY(), FROM_SANDBOX(), RUN_PROGRAM or BUNDLE(). Don't use SRCS inside a UNION. ### ### Documentation: https://wiki.yandex-team.ru/yatool/large-data/ @@ -3076,7 +3076,7 @@ module UNION: _BASE_UNIT { NO_PLATFORM() SET(MODULE_SUFFIX .pkg.fake) SET(DONT_RESOLVE_INCLUDES yes) - .CMD=TOUCH_UNIT_MF + .CMD=TOUCH_UNIT_MF SET(NEED_PLATFORM_PEERDIRS no) PEERDIR_TAGS=CPP_PROTO CPP_FBS PY2 PY2_NATIVE YQL_UDF_SHARED __EMPTY__ DOCBOOK JAR_RUNABLE PY3_BIN DLL } @@ -3237,7 +3237,7 @@ macro _DOCS_YFM_USE_PLANTUML() { } # tag:docs -### @usage: DOCS() +### @usage: DOCS() ### ### Documentation project multimodule. ### @@ -3245,27 +3245,27 @@ macro _DOCS_YFM_USE_PLANTUML() { ### When PEERDIRed from other DOCS() module behaves like a UNION (supplying own content and dependencies to build target). ### Peerdirs from modules other than DOCS are not accepted. ### Most usual macros are not accepted, only used with the macros DOCS_DIR(), DOCS_CONFIG(), DOCS_VARS(), DOCS_BUILDER(). -### +### ### @see: [DOCS_DIR()](#macro_DOCS_DIR), [DOCS_CONFIG()](#macro_DOCS_CONFIG), [DOCS_VARS()](#macro_DOCS_VARS), [DOCS_BUILDER()](#macro_DOCS_BUILDER). -multimodule DOCS { +multimodule DOCS { module DOCSBOOK: _DOCS_BASE_UNIT { .CMD=_DOCS_BOOK_CMD .EPILOGUE=_DOCS_EPILOGUE - .FINAL_TARGET=yes + .FINAL_TARGET=yes .PEERDIR_POLICY=as_build_from ENABLE(DOCSBOOK) SET(MODULE_TYPE PROGRAM) - SET(PEERDIR_TAGS DOCSLIB) - SET(MODULE_TAG DOCBOOK) + SET(PEERDIR_TAGS DOCSLIB) + SET(MODULE_TAG DOCBOOK) _DOCS_YFM_OUTPUT_FORMAT=$_DOCS_YFM_BOOK_OUTPUT_FORMAT _DOCS_MKDOCS_CMDLINE_SUFFIX=$_DOCS_MKDOCS_BOOK_CMDLINE_SUFFIX _DOCS_COMMON_PROCESS_DEPS=$_DOCS_COMMON_BOOK_PROCESS_DEPS - PROCESS_DOCS() - } + PROCESS_DOCS() + } module DOCSLIB: _DOCS_BASE_UNIT { .CMD=_DOCS_LIB_CMD @@ -3275,8 +3275,8 @@ multimodule DOCS { ENABLE(DOCSLIB) SET(MODULE_TYPE LIBRARY) - SET(PEERDIR_TAGS DOCSLIB) - SET(MODULE_TAG DOCSLIB) + SET(PEERDIR_TAGS DOCSLIB) + SET(MODULE_TAG DOCSLIB) REALPRJNAME=preprocessed @@ -3285,9 +3285,9 @@ multimodule DOCS { _DOCS_COMMON_PROCESS_DEPS=$_DOCS_COMMON_LIB_PROCESS_DEPS PROCESS_DOCS() - } -} - + } +} + # tag:docs _DOCS_USE_PLANTUML= ### @usage: USE_PLANTUML() @@ -3298,11 +3298,11 @@ macro USE_PLANTUML() { } # tag:docs -DOCSBUILDER=yfm +DOCSBUILDER=yfm ### @usage: DOCS_BUILDER(tool) ### ### Specify docs builder tool. -### Avalialbe tools: mkdocs and yfm (by default). +### Avalialbe tools: mkdocs and yfm (by default). ### ### @see: [DOCS](#multimodule_DOCS) macro DOCS_BUILDER(DocsTool) { @@ -3313,52 +3313,52 @@ macro DOCS_BUILDER(DocsTool) { ### @usage: DOCS_DIR(path) ### ### Specify directory with source .md files for DOCS multimodule if it differs from project directory. -### Path must be Arcadia root relative. +### Path must be Arcadia root relative. ### ### @see: [DOCS](#multimodule_DOCS) -macro DOCS_DIR(Dir) { +macro DOCS_DIR(Dir) { SET(_DOCS_DIR_VALUE $Dir) -} - +} + # tag:docs _DOCS_DEFAULT_CONFIG= _DOCS_CONFIG_VALUE=$_DOCS_DEFAULT_CONFIG ### @usage: DOCS_CONFIG(path) ### -### Specify path to config file for DOCS multimodule if it differs from default path. -### If [DOCS_BUILDER()](#macro_DOCS_BUILDER) is set to "mkdocs" the default path is "%%project_directory%%/mkdocs.yml". -### If [DOCS_BUILDER()](#macro_DOCS_BUILDER) is not set or set to "yfm" the default path is "%%project_directory%%/.yfm". -### Path must be either Arcadia root relative. +### Specify path to config file for DOCS multimodule if it differs from default path. +### If [DOCS_BUILDER()](#macro_DOCS_BUILDER) is set to "mkdocs" the default path is "%%project_directory%%/mkdocs.yml". +### If [DOCS_BUILDER()](#macro_DOCS_BUILDER) is not set or set to "yfm" the default path is "%%project_directory%%/.yfm". +### Path must be either Arcadia root relative. ### ### @see: [DOCS](#multimodule_DOCS) -macro DOCS_CONFIG(File) { +macro DOCS_CONFIG(File) { SET(_DOCS_CONFIG_VALUE $File) -} - +} + # tag:docs _DOCS_VARS_VALUE= ### @usage: DOCS_VARS(variable1=value1 variable2=value2 ...) ### ### Specify a set of default values of template variables for DOCS multimodule. -### There must be no spaces around "=". Values will be treated as strings. +### There must be no spaces around "=". Values will be treated as strings. ### ### @see: [DOCS](#multimodule_DOCS) -macro DOCS_VARS(Args...) { +macro DOCS_VARS(Args...) { SET_APPEND(_DOCS_VARS_VALUE $Args) -} - +} + # tag:docs _DOCS_INCLUDE_SOURCES_VALUE= -### @usage: DOCS_INCLUDE_SOURCES(path...) -### -### Specify a list of paths to source code files which will be used as text includes in a documentation project. -### Paths must be Arcadia root relative. -### -### @see: [DOCS](#multimodule_DOCS) -macro DOCS_INCLUDE_SOURCES(Args...) { +### @usage: DOCS_INCLUDE_SOURCES(path...) +### +### Specify a list of paths to source code files which will be used as text includes in a documentation project. +### Paths must be Arcadia root relative. +### +### @see: [DOCS](#multimodule_DOCS) +macro DOCS_INCLUDE_SOURCES(Args...) { SET_APPEND(_DOCS_INCLUDE_SOURCES_VALUE $Args) -} - +} + # tag:python-specific PY_NAMESPACE_VALUE= @@ -3384,7 +3384,7 @@ macro _SRCS_NO_GLOBAL(GLOBAL[], FILES...) { # tag:java-specific JAVA_VCS_MF_ARG= COMPILE_JAVA_MF=$COMPILE_JAVA - + # tag:java-specific when ($EXT_JAVA_VCS_INFO == "yes") { JAVA_VCS_MF_ARG=--vcs-mf $VCS_JAVA @@ -3408,9 +3408,9 @@ macro EMBED_JAVA_VCS_INFO() { ### Unlike regular JAVA_LIBRARY this module doesn't produce .pom file, so it cannot be exported to Maven itself. ### PEERDIR it from JAVA_LIBRARY or JAVA_PROGRAM for export to Maven. module EXTERNAL_JAVA_LIBRARY: _BASE_UNIT { - .EXTS=.jsrc .java .jar .mf + .EXTS=.jsrc .java .jar .mf .NODE_TYPE=Bundle - .CMD=COMPILE_JAVA_MF + .CMD=COMPILE_JAVA_MF .PEERDIR_POLICY=as_build_from .FINAL_TARGET=no .ALIASES=SRCS=_SRCS_NO_GLOBAL @@ -6893,14 +6893,14 @@ macro COMPILE_NLG(Src...) { ### @usage: NEED_CHECK() ### -### Commits to the project marked with this macro will be blocked by pre-commit check and then will be -### automatically merged to trunk only if there is no new broken build targets in check results. -### The use of this macro is disabled by default. -macro NEED_CHECK(Flags...) { - # TODO: FIXME - ENABLE(UNUSED_MACRO) -} - +### Commits to the project marked with this macro will be blocked by pre-commit check and then will be +### automatically merged to trunk only if there is no new broken build targets in check results. +### The use of this macro is disabled by default. +macro NEED_CHECK(Flags...) { + # TODO: FIXME + ENABLE(UNUSED_MACRO) +} + ### @usage: NO_NEED_CHECK() ### ### Commits to the project marked with this macro will not be affected by higher-level NEED_CHECK macro. @@ -6912,7 +6912,7 @@ macro NO_NEED_CHECK(Flags...) { ### @usage: NEED_REVIEW() # deprecated ### ### Mark the project as needing review. -### Reviewers are listed in the macro OWNER. The use of this macro is disabled by default. +### 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 macro NEED_REVIEW(Flags...) { # TODO: FIXME @@ -7459,7 +7459,7 @@ PROTO_LIBRARY_SEM=$CPP_LIBRARY_SEM && target_proto_plugin cpp_styleguide ${tool: # tag:proto ### @usage: PROTO_LIBRARY() -### +### ### Build some varian of protocol buffers library. ### ### The particular variant is selected based on where PEERDIR to PROTO_LIBRARY comes from. |