diff options
author | nechda <nechda@yandex-team.com> | 2024-11-02 11:20:12 +0300 |
---|---|---|
committer | nechda <nechda@yandex-team.com> | 2024-11-02 11:34:51 +0300 |
commit | c1e88b2643346523bc487519ca3615245fe372d2 (patch) | |
tree | 01fe58134bf0cf4c26e720c621c64685a69cc6e2 /build/conf | |
parent | 73efac8142e4fb2b149797aadda491055f8fba02 (diff) | |
download | ydb-c1e88b2643346523bc487519ca3615245fe372d2.tar.gz |
Add python wrapper for clang
commit_hash:0ac8fe42fec35bd7fd78602530d909a5369b4e0b
Diffstat (limited to 'build/conf')
-rw-r--r-- | build/conf/compilers/gnu_compiler.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/conf/compilers/gnu_compiler.conf b/build/conf/compilers/gnu_compiler.conf index 161f305f4e..38df70397e 100644 --- a/build/conf/compilers/gnu_compiler.conf +++ b/build/conf/compilers/gnu_compiler.conf @@ -215,11 +215,17 @@ _C_CPP_KV_STYLE_NEW=${hide;kv:_C_CPP_KV_STYLE_P} ${hide;kv:_C_CPP_KV_STYLE_PC} _C_CPP_KV_STYLE_P=p CC _C_CPP_KV_STYLE_PC=pc green +_C_CPP_WRAPPER=$YMAKE_PYTHON3 ${input:"build/scripts/wrapcc.py"} ${input:SRC} +when ($CLANG_TIDY_ARGS || $RETRY_ARGS || $YNDEXER_ARGS || $OPENSOURCE == "yes") { + _C_CPP_WRAPPER= +} + _CPP_ARGS_NEW=\ $CLANG_STATIC_ANALYZER_OPTIONS_NEW && \ $CLANG_TIDY_ARGS \ $YNDEXER_ARGS \ $RETRY_ARGS \ + $_C_CPP_WRAPPER \ $CXX_COMPILER \ $C_FLAGS_PLATFORM \ $GCC_COMPILE_FLAGS \ @@ -240,6 +246,7 @@ _C_ARGS_NEW=\ $CLANG_TIDY_ARGS \ $YNDEXER_ARGS \ $RETRY_ARGS \ + $_C_CPP_WRAPPER \ $C_COMPILER \ $C_FLAGS_PLATFORM \ $GCC_COMPILE_FLAGS \ |