detect 'arm64' as aarch64 CPU family

OpenBSD uses arm64 as identifier for the 64-bit ARM architecture.
Refs #1578.
pull/5271/head
Janne Grunau 6 years ago committed by Nirbheek Chauhan
parent a9d5881c8a
commit 96ceeb18bf
  1. 3
      mesonbuild/environment.py

@ -206,6 +206,9 @@ def detect_cpu_family(compilers):
trial = 'x86'
elif trial == 'bepc':
trial = 'x86'
# OpenBSD's 64 bit arm architecute identifies as 'arm64'
elif trial == 'arm64':
trial = 'aarch64'
elif trial.startswith('arm'):
trial = 'arm'
elif trial.startswith('ppc64'):

Loading…
Cancel
Save