You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2023/06/27 10:11:24 UTC
[doris] branch master updated: [improvement](scripts) change the arch name in build-for-release scripts (#21240)
This is an automated email from the ASF dual-hosted git repository.
yiguolei 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 6eb8fc0fe3 [improvement](scripts) change the arch name in build-for-release scripts (#21240)
6eb8fc0fe3 is described below
commit 6eb8fc0fe336ad76f0165743de48d001d118dc37
Author: Mingyu Chen <mo...@163.com>
AuthorDate: Tue Jun 27 18:11:17 2023 +0800
[improvement](scripts) change the arch name in build-for-release scripts (#21240)
---
build-for-release.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/build-for-release.sh b/build-for-release.sh
index 10046bf98d..83b430215c 100755
--- a/build-for-release.sh
+++ b/build-for-release.sh
@@ -110,6 +110,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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org