From: James Zern Date: Fri, 21 Apr 2023 01:15:23 +0000 (-0700) Subject: configure: add aarch64 to ARCH_LIST X-Git-Tag: accepted/tizen/7.0/unified/20240521.012539~1^2~188^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33aba6ecc16c71b6f380cfd3d24eab11690deb99;p=platform%2Fupstream%2Flibvpx.git 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 --- 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