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

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git

commit e7919ab1b6dad8f7b737c8302d0c18366ab445c9
Author: wangbo <[email protected]>
AuthorDate: Thu Mar 21 16:16:36 2024 +0800

    Add DISABLE_BUILD_UI/DISABLE_BUILD_SPARK_DPP/DISABLE_BUILD_HIVE_UDF in 
build.sh (#32595)
---
 build.sh | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index fdcd0d1d8ea..443b0b380af 100755
--- a/build.sh
+++ b/build.sh
@@ -150,6 +150,7 @@ HELP=0
 PARAMETER_COUNT="$#"
 PARAMETER_FLAG=0
 DENABLE_CLANG_COVERAGE='OFF'
+BUILD_UI=1
 if [[ "$#" == 1 ]]; then
     # default
     BUILD_FE=1
@@ -382,6 +383,24 @@ if [[ -n "${DISABLE_BE_JAVA_EXTENSIONS}" ]]; then
     fi
 fi
 
+if [[ -n "${DISABLE_BUILD_UI}" ]]; then
+    if [[ "${DISABLE_BUILD_UI}" == "ON" ]]; then
+        BUILD_UI=0
+    fi
+fi
+
+if [[ -n "${DISABLE_BUILD_SPARK_DPP}" ]]; then
+    if [[ "${DISABLE_BUILD_SPARK_DPP}" == "ON" ]]; then
+        BUILD_SPARK_DPP=0
+    fi
+fi
+
+if [[ -n "${DISABLE_BUILD_HIVE_UDF}" ]]; then
+    if [[ "${DISABLE_BUILD_HIVE_UDF}" == "ON" ]]; then
+        BUILD_HIVE_UDF=0
+    fi
+fi
+
 if [[ -z "${DISABLE_JAVA_CHECK_STYLE}" ]]; then
     DISABLE_JAVA_CHECK_STYLE='OFF'
 fi
@@ -574,7 +593,9 @@ function build_ui() {
 
 # FE UI must be built before building FE
 if [[ "${BUILD_FE}" -eq 1 ]]; then
-    build_ui
+    if [[ "${BUILD_UI}" -eq 1 ]]; then
+        build_ui
+    fi
 fi
 
 # Clean and build Frontend


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to