support different python version in build-support scripts (#10378)
Co-authored-by: hucheng01 <hucheng01@baidu.com>
This commit is contained in:
@ -30,5 +30,4 @@ export DORIS_HOME=`cd "${ROOT}/.."; pwd`
|
||||
|
||||
CLANG_FORMAT=${CLANG_FORMAT_BINARY:=$(which clang-format)}
|
||||
|
||||
python3 ${DORIS_HOME}/build-support/run_clang_format.py "--clang-format-executable" "${CLANG_FORMAT}" "-r" "--style" "file" "--inplace" "false" "--extensions" "c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx" "--exclude" "none" "be/src be/test"
|
||||
|
||||
python ${DORIS_HOME}/build-support/run_clang_format.py "--clang-format-executable" "${CLANG_FORMAT}" "-r" "--style" "file" "--inplace" "false" "--extensions" "c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx" "--exclude" "none" "be/src be/test"
|
||||
|
||||
@ -30,6 +30,4 @@ export DORIS_HOME=`cd "${ROOT}/.."; pwd`
|
||||
|
||||
CLANG_FORMAT=${CLANG_FORMAT_BINARY:=$(which clang-format)}
|
||||
|
||||
python3 ${DORIS_HOME}/build-support/run_clang_format.py "--clang-format-executable" "${CLANG_FORMAT}" "-r" "--style" "file" "--inplace" "true" "--extensions" "c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx" "--exclude" "none" "be/src be/test"
|
||||
|
||||
|
||||
python ${DORIS_HOME}/build-support/run_clang_format.py "--clang-format-executable" "${CLANG_FORMAT}" "-r" "--style" "file" "--inplace" "true" "--extensions" "c,h,C,H,cpp,hpp,cc,hh,c++,h++,cxx,hxx" "--exclude" "none" "be/src be/test"
|
||||
|
||||
Reference in New Issue
Block a user