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

adonisling 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 f8eb08252c [chore](workflows) Disable PCH in GitHub workflows by 
default (#19447)
f8eb08252c is described below

commit f8eb08252c95f9c6fca1d3b1111fa26c67c7834a
Author: Adonis Ling <adonis0...@gmail.com>
AuthorDate: Wed May 10 00:05:32 2023 +0800

    [chore](workflows) Disable PCH in GitHub workflows by default (#19447)
    
    PCH slows the BE UT workflows down. Disable it by default in workflows.
---
 .github/workflows/be-ut-clang.yml | 2 +-
 .github/workflows/be-ut-mac.yml   | 3 +--
 run-be-ut.sh                      | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/be-ut-clang.yml 
b/.github/workflows/be-ut-clang.yml
index 4688d5e024..9a2ece76b3 100644
--- a/.github/workflows/be-ut-clang.yml
+++ b/.github/workflows/be-ut-clang.yml
@@ -86,4 +86,4 @@ jobs:
           popd
 
           export 
PATH="${DEFAULT_DIR}/ldb-toolchain/bin/:$(pwd)/thirdparty/installed/bin/:${PATH}"
-          DORIS_TOOLCHAIN=clang ./run-be-ut.sh -j "$(nproc)" --run --clean
+          DORIS_TOOLCHAIN=clang ENABLE_PCH=OFF ./run-be-ut.sh -j "$(nproc)" 
--run --clean
diff --git a/.github/workflows/be-ut-mac.yml b/.github/workflows/be-ut-mac.yml
index 5641cab7f8..382ee5fee8 100644
--- a/.github/workflows/be-ut-mac.yml
+++ b/.github/workflows/be-ut-mac.yml
@@ -95,5 +95,4 @@ jobs:
           tar -xvf doris-thirdparty-prebuilt-darwin-x86_64.tar.xz
           popd
 
-          ./run-be-ut.sh --run -j "$(nproc)" --clean
-
+          ENABLE_PCH=OFF ./run-be-ut.sh --run -j "$(nproc)" --clean
diff --git a/run-be-ut.sh b/run-be-ut.sh
index 06f7d4c0c6..06b3a7e558 100755
--- a/run-be-ut.sh
+++ b/run-be-ut.sh
@@ -221,7 +221,7 @@ export UDF_RUNTIME_DIR="${DORIS_HOME}/lib/udf-runtime"
 export LOG_DIR="${DORIS_HOME}/log"
 while read -r variable; do
     eval "export ${variable}"
-done < <(sed 's/ //g' "${DORIS_HOME}/conf/be.conf" | grep -E 
"^[[:upper:]]([[:upper:]]|_|[[:digit:]])*=")
+done < <(sed 's/[[:space:]]*\(=\)[[:space:]]*/\1/' 
"${DORIS_HOME}/conf/be.conf" | grep -E 
"^[[:upper:]]([[:upper:]]|_|[[:digit:]])*=")
 
 mkdir -p "${LOG_DIR}"
 mkdir -p "${UDF_RUNTIME_DIR}"


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

Reply via email to