aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.com>2023-09-18 06:37:45 +0300
committersnermolaev <snermolaev@yandex-team.com>2023-09-18 06:59:09 +0300
commit90534ca4b1c6f4df5915ead7b112807048972f7a (patch)
tree64aaa3203c48cd868dc4d19d813319e629fa6b29
parent82e7718a0acb22420228caec08d061b98e56c5ff (diff)
downloadydb-90534ca4b1c6f4df5915ead7b112807048972f7a.tar.gz
ignore macro CLANG_EMIT_AST_CXX_RUN_TOOL for PY3 submodules
-rw-r--r--build/conf/python.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/build/conf/python.conf b/build/conf/python.conf
index 9a78fada46..f48eddac95 100644
--- a/build/conf/python.conf
+++ b/build/conf/python.conf
@@ -952,6 +952,11 @@ multimodule PY23_LIBRARY {
OBJ_SUF=.py2
}
module PY3: PY3_LIBRARY {
+ # Use of CLANG_EMIT_AST_CXX_RUN_TOOL in both submodules of PY23_LIBRARY leads to UID blinking
+ # (clash of outputs for for commands from different submodules). Due to the order of submodules
+ # processing (alphabetical order) we have to ignore CLANG_EMIT_AST_CXX_RUN_TOOL in all submodules
+ # other than in the first one.
+ .IGNORED=CLANG_EMIT_AST_CXX_RUN_TOOL
.RESTRICTED=RUN_ANTLR4_PYTHON
RUN_CYTHON_SCRIPT_H=$YMAKE_PYTHON $CYTHON_SCRIPT
OBJ_SUF=.py3
@@ -981,6 +986,11 @@ multimodule PY23_NATIVE_LIBRARY {
SET(MODULE_LANG PY2)
}
module PY3: LIBRARY {
+ # Use of CLANG_EMIT_AST_CXX_RUN_TOOL in both submodules of PY23_NATIVE_LIBRARY leads to UID blinking
+ # (clash of outputs for for commands from different submodules). Due to the order of submodules
+ # processing (alphabetical order) we have to ignore CLANG_EMIT_AST_CXX_RUN_TOOL in all submodules
+ # other than in the first one.
+ .IGNORED=CLANG_EMIT_AST_CXX_RUN_TOOL
.RESTRICTED=PY_SRCS USE_PYTHON2 USE_PYTHON3 RUN_ANTLR4_PYTHON
.ALIASES=PYTHON2_ADDINCL=PYTHON3_ADDINCL
.SEM=CPP_LIBRARY_SEM
@@ -1009,6 +1019,11 @@ multimodule PY23_TEST {
SET_APPEND(_MAKEFILE_INCLUDE_LIKE_DEPS canondata/py2test/result.json)
}
module PY3TEST_PROGRAM: PY3TEST_BIN {
+ # Use of CLANG_EMIT_AST_CXX_RUN_TOOL in both submodules of PY23_TEST leads to UID blinking
+ # (clash of outputs for for commands from different submodules). Due to the order of submodules
+ # processing (alphabetical order) we have to ignore CLANG_EMIT_AST_CXX_RUN_TOOL in all submodules
+ # other than in the first one.
+ .IGNORED=CLANG_EMIT_AST_CXX_RUN_TOOL
.FINAL_TARGET=yes
.RESTRICTED=RUN_ANTLR4_PYTHON
OBJ_SUF=.py3