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-13 12:08:08 +0000
commit0e0814a6f853a2631c36a0ec9dbcc1f78ff59e87 (patch)
treedd080075387593b6170be8db0b8e89c3ad1ad316
parentafed300f173dea8fe45bfde20f9c20d7c23658a4 (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 17e46f46..69040d07 100644
--- a/recipes-wam/chromium/chromium.inc
+++ b/recipes-wam/chromium/chromium.inc
@@ -149,6 +149,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\