Apache DataFusion SQL Query Engine
ARROW-9508: [Release][APT][Yum] Enable verification for arm64 binaries
Sutou Kouheif34efb9e4758
diff --git a/dev/release/verify-apt.sh b/dev/release/verify-apt.shindex 111127954e..1182c2b77c 100755--- a/dev/release/verify-apt.sh+++ b/dev/release/verify-apt.sh@@ -51,8 +51,8 @@ fihave_flight=yeshave_gandiva=yeshave_plasma=yes-case "${distribution}-${code_name}-$(arch)" in- debian-stretch-*)+case "${distribution}-${code_name}" in+ debian-stretch)sed \-i"" \-e "s/ main$/ main contrib non-free/g" \@@ -61,24 +61,20 @@ case "${distribution}-${code_name}-$(arch)" indeb http://deb.debian.org/debian ${code_name}-backports mainAPT_LINE;;- debian-buster-*)+ debian-buster)sed \-i"" \-e "s/ main$/ main contrib non-free/g" \/etc/apt/sources.list;;- ubuntu-xenial-x86_64)+ ubuntu-xenial)have_flight=no;;- ubuntu-xenial-aarch64)- have_flight=no- have_gandiva=no- have_plasma=no- ;;- ubuntu-bionic-aarch64)- have_plasma=no- ;;esac+if [ "$(arch)" = "aarch64" ]; then+ have_gandiva=no+ have_plasma=no+fikeyring_archive_base_name="apache-arrow-archive-keyring-latest-${code_name}.deb"curl \diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.shindex 98c8805108..e6a0284107 100755--- a/dev/release/verify-release-candidate.sh+++ b/dev/release/verify-release-candidate.sh@@ -147,13 +147,6 @@ test_apt() {"arm64v8/ubuntu:eoan" \"ubuntu:focal" \"arm64v8/ubuntu:focal"; do \- # We can't build some arm64 binaries by Crossbow for now.- if [ "${target}" = "arm64v8/debian:stretch" ]; then continue; fi- if [ "${target}" = "arm64v8/debian:buster" ]; then continue; fi- if [ "${target}" = "arm64v8/ubuntu:xenial" ]; then continue; fi- if [ "${target}" = "arm64v8/ubuntu:bionic" ]; then continue; fi- if [ "${target}" = "arm64v8/ubuntu:eoan" ]; then continue; fi- if [ "${target}" = "arm64v8/ubuntu:focal" ]; then continue; ficase "${target}" inarm64v8/*)if [ "$(arch)" = "aarch64" -o -e /usr/bin/qemu-aarch64-static ]; then@@ -181,9 +174,6 @@ test_yum() {"arm64v8/centos:7" \"centos:8" \"arm64v8/centos:8"; do- # We can't build some arm64 binaries by Crossbow for now.- if [ "${target}" = "arm64v8/centos:7" ]; then continue; fi- if [ "${target}" = "arm64v8/centos:8" ]; then continue; ficase "${target}" inarm64v8/*)if [ "$(arch)" = "aarch64" -o -e /usr/bin/qemu-aarch64-static ]; thendiff --git a/dev/release/verify-yum.sh b/dev/release/verify-yum.shindex f8f95f4042..5636ce041f 100755--- a/dev/release/verify-yum.sh+++ b/dev/release/verify-yum.sh@@ -50,20 +50,23 @@ have_gandiva=yeshave_glib=yeshave_parquet=yesinstall_command="dnf install -y --enablerepo=PowerTools"-case "${distribution}-${distribution_version}-$(arch)" in- centos-6-*)+case "${distribution}-${distribution_version}" in+ centos-6)have_flight=nohave_gandiva=nohave_glib=nohave_parquet=noinstall_command="yum install -y";;- centos-7-*)+ centos-7)have_flight=nohave_gandiva=noinstall_command="yum install -y";;esac+if [ "$(arch)" = "aarch64" ]; then+ have_gandiva=no+fi${install_command} \${bintray_base_url}/${distribution_version}/apache-arrow-release-latest.rpm