change ymake.core.conf to use partitioned python yndexing
change ymake.core.conf to use partitioned python yndexing
([arc::pullid] eff9062d-51daa745-21363bb5-f71dcefe)
@@ -32,12 +32,8 @@ otherwise {
GCCFILTER=
}
-macro GENERATE_PYTHON_YNDEXER_ARGS(PartitionCount, PartitionIndex) {
- .CMD=${cwd:ARCADIA_BUILD_ROOT} ${env:"XDG_CACHE_HOME=$ARCADIA_BUILD_ROOT"} $YMAKE_PYTHON ${input:"build/scripts/python_yndexer.py"} $PYNDEXER_RESOURCE_GLOBAL/pyxref 1500 ${output;noext;rootrel;suf=$PartitionIndex.ydx.pb2:REALPRJNAME} $TARGET $PartitionCount $PartitionIndex
-}
-
when ($CODENAVIGATION && $NOCODENAVIGATION != "yes") {
- PY_PROGRAM_LINK_EXE=$LINK_EXE && $GENERATE_PYTHON_YNDEXER_ARGS(10, 0) && $GENERATE_PYTHON_YNDEXER_ARGS(10, 1) && $GENERATE_PYTHON_YNDEXER_ARGS(10, 2) && $GENERATE_PYTHON_YNDEXER_ARGS(10, 3) && $GENERATE_PYTHON_YNDEXER_ARGS(10, 4) && $GENERATE_PYTHON_YNDEXER_ARGS(10, 5) && $GENERATE_PYTHON_YNDEXER_ARGS(10, 6) && $GENERATE_PYTHON_YNDEXER_ARGS(10, 7) && $GENERATE_PYTHON_YNDEXER_ARGS(10, 8) && $GENERATE_PYTHON_YNDEXER_ARGS(10, 9)
+ PY_PROGRAM_LINK_EXE=$LINK_EXE ${kv;hide:"pyndex $TARGET"}
YNDEXER_ARGS=$YMAKE_PYTHON ${input:"build/scripts/yndexer.py"} $CPPYNDEXER_RESOURCE_GLOBAL/yndexer 1500 $(SOURCE_ROOT) $ARCADIA_BUILD_ROOT ${input:SRC}
YNDEXER_OUTPUT=$YNDEXER_OUTPUT_FILE
}
