diff options
author | Geordan Neukum <gneukum1@gmail.com> | 2021-04-06 01:45:02 -0400 |
---|---|---|
committer | Geordan Neukum <gneukum1@gmail.com> | 2021-04-10 17:45:41 -0400 |
commit | 27bcba2b9aa5d2125e833d9b944e8ac3c4509332 (patch) | |
tree | f9bc5f082b6863969a43040a0fc4494dac6c7302 | |
parent | f866dc40ccbb87aa708012a7d2c46b1ad4dc612c (diff) |
utils: add ARM64 to supported host architectures
In order to support building on arm64 hosts (such as apple silicon), let's
update our uname parsing code to resolve the 'arm64' architecture to
Architecture.ARM64 instead of Architecture.ARM.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/691>
-rw-r--r-- | cerbero/utils/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index fb0ffd8e..f034af30 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -163,6 +163,8 @@ def system_info(): arch = Architecture.X86 elif arch.startswith('armv7'): arch = Architecture.ARMv7 + elif arch.startswith('arm64'): + arch = Architecture.ARM64 elif arch.startswith('arm'): arch = Architecture.ARM else: |