From 99a7a2cbfc214bad4ed406d91d7355ba12a13474 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 14 Nov 2023 20:21:49 -0600 Subject: [PATCH] [buildcore] Fix arch output for host_env to be more consistent --- deps/buildcore/scripts/pybb.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deps/buildcore/scripts/pybb.py b/deps/buildcore/scripts/pybb.py index 915aa5a0..fea27ced 100755 --- a/deps/buildcore/scripts/pybb.py +++ b/deps/buildcore/scripts/pybb.py @@ -117,9 +117,7 @@ def hostname() -> int: def host_env() -> int: os_name = platform.system().lower() - arch = platform.machine() - if arch == 'amd64': - arch = 'x86_64' + arch = util.get_arch() print(f'{os_name}-{arch}') return 0