From fef44620cc58fca454138ce77f56d49ef96bf670 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 27 Aug 2024 08:31:26 +0000 Subject: [PATCH] Fixed build error on macos (#33200) This was due to uname reporting the architecture as arm64 instead of aarch64 on macos Signed-off-by: Benjamin Vincent Schulenburg --- python/servo/platform/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/servo/platform/__init__.py b/python/servo/platform/__init__.py index e06bebaf863..e09e8bf625d 100644 --- a/python/servo/platform/__init__.py +++ b/python/servo/platform/__init__.py @@ -40,7 +40,7 @@ def host_triple(): cpu_type = "x86_64" elif cpu_type == "arm": cpu_type = "arm" - elif cpu_type == "aarch64": + elif cpu_type in ["aarch64", "arm64"]: cpu_type = "aarch64" else: cpu_type = "unknown"