This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit 72615699c8accfffde5961f1f16fe2645a043cc3 Author: Mingyu Chen <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
