This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push:
new 608a542 build_h3_tools: account for aarch64 (#181)
608a542 is described below
commit 608a542b01a6315eee58e6982ca5b25b885567e3
Author: Brian Neradt <[email protected]>
AuthorDate: Mon Jun 19 11:58:42 2023 -0500
build_h3_tools: account for aarch64 (#181)
In build_h3_tools, support Linux arm64 whose uname -m is aarch64. This
is already in ATS tools/build_h3_tools.sh
---
docker/fedora38/build_h3_tools.sh | 2 +-
docker/rockylinux8/build_h3_tools.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docker/fedora38/build_h3_tools.sh
b/docker/fedora38/build_h3_tools.sh
index 05b08b1..f074466 100644
--- a/docker/fedora38/build_h3_tools.sh
+++ b/docker/fedora38/build_h3_tools.sh
@@ -98,7 +98,7 @@ echo "Building boringssl..."
# We need this go version.
mkdir -p ${BASE}/go
-if [ `uname -m` = "arm64" ]; then
+if [ `uname -m` = "arm64" -o `uname -m` = "aarch64" ]; then
ARCH="arm64"
else
ARCH="amd64"
diff --git a/docker/rockylinux8/build_h3_tools.sh
b/docker/rockylinux8/build_h3_tools.sh
index b1b01d8..ef76543 100644
--- a/docker/rockylinux8/build_h3_tools.sh
+++ b/docker/rockylinux8/build_h3_tools.sh
@@ -98,7 +98,7 @@ echo "Building boringssl..."
# We need this go version.
mkdir -p ${BASE}/go
-if [ `uname -m` = "arm64" ]; then
+if [ `uname -m` = "arm64" -o `uname -m` = "aarch64" ]; then
ARCH="arm64"
else
ARCH="amd64"