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

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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 9ab212539df [chore](build) Update build script #54514 (#54635)
9ab212539df is described below

commit 9ab212539df9503b88c6fe2d2760a565cc31e1b4
Author: Gavin Chou <[email protected]>
AuthorDate: Mon Aug 18 09:19:03 2025 +0800

    [chore](build) Update build script #54514 (#54635)
    
    pick #54514
---
 gensrc/script/Makefile             | 4 +++-
 gensrc/script/gen_build_version.sh | 7 ++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/gensrc/script/Makefile b/gensrc/script/Makefile
index b476a1c4442..4d6853aa35d 100644
--- a/gensrc/script/Makefile
+++ b/gensrc/script/Makefile
@@ -20,6 +20,8 @@
 BUILD_DIR = ${CURDIR}/../build/
 FE_TARGET_DIR = ${CURDIR}/../../fe/fe-core/target/generated-sources/build
 
+export DORIS_VENDOR ?= doris
+
 # Prerequisites on the right side of '|' is only order
 all: gen_builtins gen_version
 .PHONY: all
@@ -46,5 +48,5 @@ gen_builtins: ${GEN_BUILTINS_OUTPUT}
 
 # generate version info
 gen_version:
-       ${CURDIR}/gen_build_version.sh
+       ${CURDIR}/gen_build_version.sh $(DORIS_VENDOR)
 .PHONY: gen_version
diff --git a/gensrc/script/gen_build_version.sh 
b/gensrc/script/gen_build_version.sh
index 438f28d79b5..2b3a7f7ce3c 100755
--- a/gensrc/script/gen_build_version.sh
+++ b/gensrc/script/gen_build_version.sh
@@ -27,7 +27,12 @@
 
 set -eo pipefail
 
-build_version_prefix="doris"
+vendor=doris
+if [[ $1 != "" ]]; then
+    vendor=$1
+fi
+
+build_version_prefix="${vendor}"
 build_version_major=3
 build_version_minor=0
 build_version_patch=7


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

Reply via email to