diff options
author | snermolaev <snermolaev@yandex-team.ru> | 2022-05-12 16:37:37 +0300 |
---|---|---|
committer | snermolaev <snermolaev@yandex-team.ru> | 2022-05-12 16:37:37 +0300 |
commit | 5625647c87521120ca5a1f7d24288caa83cd1804 (patch) | |
tree | 0b0380651798a5411920c9b875698b85123cbc40 /build | |
parent | f7b9a8f2cd9f2e22758e6ab093cb792081e6c94d (diff) | |
download | ydb-5625647c87521120ca5a1f7d24288caa83cd1804.tar.gz |
DEVTOOLSSUPPORT-18829: rename PYTHON3 to RUN_PYTHON3
ref:618279fd85d65f9faa70ea1ebd8100e5582d0b9c
Diffstat (limited to 'build')
-rw-r--r-- | build/ymake.core.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 3d5d1c253e..845f26f0f8 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -7051,7 +7051,7 @@ macro _FMT_INDUCED_DEPS(For, Deps...) { ### ``` ### PREPARE_INDUCED_DEPS(PYX_DEPS pyx imported.pxd) ### PREPARE_INDUCED_DEPS(CPP_DEPS cpp cdefed.h) -### PYTHON3(generate_pyx.py genereted.pyx OUT generated.pyx INDUCED_DEPS $PYX_DEPS $CPP_DEPS) +### RUN_PYTHON3(generate_pyx.py genereted.pyx OUT generated.pyx INDUCED_DEPS $PYX_DEPS $CPP_DEPS) ### ``` ### ### The VAR will basically contain pair of `Type:[Files...]` in a form suitable for passing @@ -7141,7 +7141,7 @@ macro PYTHON(ScriptPath, IN{input}[], IN_NOPARSE{input}[], OUT{output}[], OUT_NO } # tag:python-specific -### @usage: PYTHON3(script_path args... [CWD dir] [ENV key=value...] [TOOL tools...] [IN[_NOPARSE] inputs...] [OUT[_NOAUTO] outputs...] [STDOUT[_NOAUTO] output] [OUTPUT_INCLUDES output_includes...] [INDUCED_DEPS $VARs...]) +### @usage: RUN_PYTHON3(script_path args... [CWD dir] [ENV key=value...] [TOOL tools...] [IN[_NOPARSE] inputs...] [OUT[_NOAUTO] outputs...] [STDOUT[_NOAUTO] output] [OUTPUT_INCLUDES output_includes...] [INDUCED_DEPS $VARs...]) ### ### Run a python script with prebuilt python3 interpretor built from devtools/huge_python3. ### These macros are similar: RUN_PROGRAM, LUA, PYTHON. @@ -7161,7 +7161,7 @@ macro PYTHON(ScriptPath, IN{input}[], IN_NOPARSE{input}[], OUT{output}[], OUT_NO ### ### For absolute paths use ${ARCADIA_ROOT} and ${ARCADIA_BUILD_ROOT}, or ### ${CURDIR} and ${BINDIR} which are expanded where the outputs are used. -macro PYTHON3(ScriptPath, IN{input}[], IN_NOPARSE{input}[], OUT{output}[], OUT_NOAUTO{output}[], TOOL{tool}[], OUTPUT_INCLUDES[], INDUCED_DEPS[], STDOUT="", STDOUT_NOAUTO="", CWD="", ENV[], Args...) { +macro RUN_PYTHON3(ScriptPath, IN{input}[], IN_NOPARSE{input}[], OUT{output}[], OUT_NOAUTO{output}[], TOOL{tool}[], OUTPUT_INCLUDES[], INDUCED_DEPS[], STDOUT="", STDOUT_NOAUTO="", CWD="", ENV[], Args...) { .CMD=${cwd:CWD} ${env:ENV} $YMAKE_PYTHON3 ${input:ScriptPath} $Args ${input;hide:IN} ${input;context=TEXT;hide:IN_NOPARSE} ${output_include;hide:OUTPUT_INCLUDES} $INDUCED_DEPS ${tool;hide:TOOL} ${output;hide:OUT} ${output;noauto;hide:OUT_NOAUTO} ${output;stdout:STDOUT} ${output;stdout;noauto:STDOUT_NOAUTO} ${kv;hide:"p PY"} ${kv;hide:"pc yellow"} ${kv;hide:"show_out"} .PEERDIR=$YMAKE_PYTHON3_PEER .SEM=find_package Python3 && add_custom_command $_SET_ENV_FOR_CUSTOM_COMMAND($ENV) OUTPUT ${output:OUT} ${output;noauto:OUT_NOAUTO} ${output:STDOUT} ${output;noauto:STDOUT_NOAUTO} DEPENDS ${input:IN} ${input;context=TEXT:IN_NOPARSE} ${input:ScriptPath} ${tool:TOOL} ${pre=WORKING_DIRECTORY :CWD} COMMAND Python3::Interpreter ${input:ScriptPath} $Args ${pre=> :STDOUT} ${pre=> :STDOUT_NOAUTO} $_TARGET_SOURCES_FOR_HEADERS($OUT $OUT_NOAUTO $STDOUT $STDOUT_NOAUTO) |