This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new d99ba30e2f5 [enhancement](build): align package arch with branch-2.0
(#28950)
d99ba30e2f5 is described below
commit d99ba30e2f520e9811bbde49488f1b2739d2097c
Author: py023 <[email protected]>
AuthorDate: Mon Dec 25 11:50:43 2023 +0800
[enhancement](build): align package arch with branch-2.0 (#28950)
Signed-off-by: lobshunter <[email protected]>
Co-authored-by: lobshunter <[email protected]>
---
build-for-release.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/build-for-release.sh b/build-for-release.sh
index 4b48e5f8109..45b118b16a2 100755
--- a/build-for-release.sh
+++ b/build-for-release.sh
@@ -111,6 +111,17 @@ echo "Get params:
ARCH="$(uname -m)"
+if [[ "${ARCH}" == "aarch64" ]]; then
+ ARCH="arm64"
+elif [[ "${ARCH}" == "x86_64" ]]; then
+ ARCH="x64"
+else
+ echo "Unknown arch: ${ARCH}"
+ exit 1
+fi
+
+echo "ARCH: ${ARCH}"
+
ORI_OUTPUT="${ROOT}/output"
FE="fe"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]