summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-05-03 20:12:56 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-05-11 10:21:38 +0000
commitd0421c2a9a2d6a0d2d7867972f40116f07fd0bc6 (patch)
tree1496cc9b6335314d205326a050a8ad967a560ce9
parentf56b9b470dba3ecdb14d94ff241ad874286c2a3f (diff)
chromium: fix aarch64 build because of broken NEON extensions for GCC
highway library implementation of NEON extensions for aarch64 does not build on GCC in the version used in chromium91. Provisionally disable JPEG-XL decoder for aarch64 to workaround the problem. Bug-AGL: SPEC-4355 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Idb6ad1a16e6dca773e22ca5747ffdef09a35af5c
-rw-r--r--recipes-wam/chromium/chromium.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-wam/chromium/chromium.inc b/recipes-wam/chromium/chromium.inc
index ec9cc9934..a54e463dd 100644
--- a/recipes-wam/chromium/chromium.inc
+++ b/recipes-wam/chromium/chromium.inc
@@ -156,6 +156,9 @@ GN_ARGS:append:armv6 = ' arm_use_neon=false'
# https://github.com/gperftools/gperftools/issues/693
GN_ARGS:append:libc-musl = ' use_allocator_shim=false'
+# Chromium 91 build of highway with NEON is broken. Do not build.
+GN_ARGS:append:aarch64 = ' enable_jxl_decoder=false'
+
# More options to speed up the build
GN_ARGS += "\
enable_nacl=false\