support different python version in build-support scripts (#10378)

Co-authored-by: hucheng01 <hucheng01@baidu.com>
This commit is contained in:
carlvinhust2012
2022-07-11 23:23:45 +08:00
committed by GitHub
parent 62fba5aa5d
commit aea41c2ffa
2 changed files with 2 additions and 5 deletions

View File

@ -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"

View File

@ -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"