The ARCH had a proper default in ci.sh which was passed along. That
was fine for regular tests, however, upgrade tests are executing
linux-build.sh without specifying the ARCH. Use proper default in
linux-build.sh.

Signed-off-by: Ales Musil <[email protected]>
---
 .ci/linux-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index d9b49b7b6..b51f43cff 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -8,7 +8,7 @@ if [ "$NO_DEBUG" = "0" ]; then
     set -x
 fi
 
-ARCH=${ARCH:-"x86_64"}
+ARCH=${ARCH:-$(uname -m)}
 USE_SPARSE=${USE_SPARSE:-"yes"}
 COMMON_CFLAGS=""
 OVN_CFLAGS=""
-- 
2.55.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to