HADOOP-18052. Support Apple Silicon in start-build-env.sh (#3817)

Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
This commit is contained in:
Akira Ajisaka 2021-12-23 18:13:18 +09:00 committed by GitHub
parent 00e2405fbd
commit c8725de547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ DOCKER_DIR=dev-support/docker
DOCKER_FILE="${DOCKER_DIR}/Dockerfile" DOCKER_FILE="${DOCKER_DIR}/Dockerfile"
CPU_ARCH=$(echo "$MACHTYPE" | cut -d- -f1) 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" DOCKER_FILE="${DOCKER_DIR}/Dockerfile_aarch64"
fi fi