You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by aa...@apache.org on 2021/12/23 09:14:38 UTC

[hadoop] branch branch-3.3 updated: HADOOP-18052. Support Apple Silicon in start-build-env.sh (#3817)

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

aajisaka pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new 6c252cf  HADOOP-18052. Support Apple Silicon in start-build-env.sh (#3817)
6c252cf is described below

commit 6c252cfb444cde113742b8068b4beccd10eee5ed
Author: Akira Ajisaka <aa...@apache.org>
AuthorDate: Thu Dec 23 18:13:18 2021 +0900

    HADOOP-18052. Support Apple Silicon in start-build-env.sh (#3817)
    
    Reviewed-by: Wei-Chiu Chuang <we...@apache.org>
    (cherry picked from commit c8725de54708ce6b987894e75f18bd45ca2eeff6)
---
 start-build-env.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/start-build-env.sh b/start-build-env.sh
index 2ee44de..375a027 100755
--- a/start-build-env.sh
+++ b/start-build-env.sh
@@ -23,7 +23,7 @@ DOCKER_DIR=dev-support/docker
 DOCKER_FILE="${DOCKER_DIR}/Dockerfile"
 
 CPU_ARCH=$(echo "$MACHTYPE" | cut -d- -f1)
-if [ "$CPU_ARCH" = "aarch64" ]; then
+if [[ "$CPU_ARCH" = "aarch64" || "$CPU_ARCH" = "arm64" ]]; then
   DOCKER_FILE="${DOCKER_DIR}/Dockerfile_aarch64"
 fi
 

---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org