This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new aea41c2ffa support different python version in build-support scripts 
(#10378)
aea41c2ffa is described below

commit aea41c2ffa79ed3bb009fc66fc9edce10ba78519
Author: carlvinhust2012 <huchengha...@126.com>
AuthorDate: Mon Jul 11 23:23:45 2022 +0800

    support different python version in build-support scripts (#10378)
    
    Co-authored-by: hucheng01 <huchen...@baidu.com>
---
 build-support/check-format.sh | 3 +--
 build-support/clang-format.sh | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/build-support/check-format.sh b/build-support/check-format.sh
index f247fa01a3..f68a278985 100755
--- a/build-support/check-format.sh
+++ b/build-support/check-format.sh
@@ -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"
diff --git a/build-support/clang-format.sh b/build-support/clang-format.sh
index 04464fc78e..005458372c 100755
--- a/build-support/clang-format.sh
+++ b/build-support/clang-format.sh
@@ -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"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to