summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2023-04-20 18:15:23 -0700
committerJames Zern <jzern@google.com>2023-05-02 17:43:39 -0700
commit33aba6ecc16c71b6f380cfd3d24eab11690deb99 (patch)
tree0a90c01bd0d9159ae70182db9d9f68dba0517e78
parent84a180fe858fd6de9c301cd884e2f1ff341781b3 (diff)
downloadlibvpx-33aba6ecc16c71b6f380cfd3d24eab11690deb99.tar
libvpx-33aba6ecc16c71b6f380cfd3d24eab11690deb99.tar.gz
libvpx-33aba6ecc16c71b6f380cfd3d24eab11690deb99.tar.bz2
libvpx-33aba6ecc16c71b6f380cfd3d24eab11690deb99.zip
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
-rw-r--r--build/make/configure.sh4
-rwxr-xr-xconfigure1
2 files changed, 5 insertions, 0 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 32105651f..ec9af5e63 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 890ad3968..20707727e 100755
--- a/configure
+++ b/configure
@@ -243,6 +243,7 @@ CODEC_FAMILIES="
ARCH_LIST="
arm
+ aarch64
mips
x86
x86_64