From 6401ca18083c3697f9a796ed9b1be79f088dbe9b Mon Sep 17 00:00:00 2001 From: Nick Lange Date: Wed, 21 Jan 2026 01:18:35 -0500 Subject: [PATCH 1/2] Allow building aarch64 (Large VM, Debian) for a rpi4 deployment I'm not sure why the current build script has the current logic, but to compile on an aarch64 VM for deployment to a rpi4, we need to use the right cross-compiler. --- examples/raspberry_pi/setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/raspberry_pi/setup.sh b/examples/raspberry_pi/setup.sh index 0b4f43ed1d3..3f40f76bb78 100755 --- a/examples/raspberry_pi/setup.sh +++ b/examples/raspberry_pi/setup.sh @@ -160,9 +160,12 @@ detect_host() { esac case "$HOST_ARCH" in - x86_64|amd64|arm64|aarch64) + x86_64|amd64|arm64) HOST_ARCH="x86_64" ;; + aarch64) + HOST_ARCH="aarch64" + ;; *) log_error "Unsupported host architecture: $HOST_ARCH" exit 1 From 9f142408c656052b17ac23039d83e6e823530eb9 Mon Sep 17 00:00:00 2001 From: Nick J Lange Date: Thu, 22 Jan 2026 00:36:07 -0500 Subject: [PATCH 2/2] Update examples/raspberry_pi/setup.sh Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- examples/raspberry_pi/setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/raspberry_pi/setup.sh b/examples/raspberry_pi/setup.sh index 3f40f76bb78..880907b2d20 100755 --- a/examples/raspberry_pi/setup.sh +++ b/examples/raspberry_pi/setup.sh @@ -163,9 +163,9 @@ detect_host() { x86_64|amd64|arm64) HOST_ARCH="x86_64" ;; - aarch64) - HOST_ARCH="aarch64" - ;; + aarch64) + HOST_ARCH="aarch64" + ;; *) log_error "Unsupported host architecture: $HOST_ARCH" exit 1