From 33aba6ecc16c71b6f380cfd3d24eab11690deb99 Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 20 Apr 2023 18:15:23 -0700 Subject: [PATCH] configure: add aarch64 to ARCH_LIST This will allow identifying Windows Visual Studio targets as aarch64; the Microsoft compiler does not define __aarch64__. An alternative would be to define this in the code, checking for _M_ARM64 or _M_ARM64EC. For now we'll use the existing VPX_ARCH_* system. For compatibility VPX_ARCH_ARM will continue to be defined to 1 in this case. Bug: webm:1788 Bug: b/277255076 Change-Id: I12e25710891e86f0c7339ba96884c18ed90ba16f --- build/make/configure.sh | 4 ++++ configure | 1 + 2 files changed, 5 insertions(+) diff --git a/build/make/configure.sh b/build/make/configure.sh index 3210565..ec9af5e 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -842,6 +842,10 @@ process_common_toolchain() { # Enable the architecture family case ${tgt_isa} in + arm64 | armv8) + enable_feature arm + enable_feature aarch64 + ;; arm*) enable_feature arm ;; diff --git a/configure b/configure index 890ad39..2070772 100755 --- a/configure +++ b/configure @@ -243,6 +243,7 @@ CODEC_FAMILIES=" ARCH_LIST=" arm + aarch64 mips x86 x86_64 -- 2.7.4