Building cef on aarch64

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Building cef on aarch64

Postby aleitner » Tue Dec 12, 2023 11:09 am

I've been successfully building CEF with ozone headless support on x86_64 Linux, but when I tried the same on aarch64, the build process fails during the use of automate-git.py with the following error:

Code: Select all
failed to resolve infra/rbe/client/linux-arm64@re_client_version:0.124.1.13f78cc-gomaip (line 8): no such package: infra/rbe/client/linux-arm64


Here are the relevant parts of my .spec file for this particular step:

Code: Select all
BuildRequires: cups-devel
BuildRequires: glib2-devel
BuildRequires: gperf
BuildRequires: libva-devel
BuildRequires: nss-devel
BuildRequires: pciutils-devel
BuildRequires: procps

%build
%ifarch aarch64
export CEF_INSTALL_SYSROOT=arm64
%endif

... (environment setup)

# Download CEF, no build
python3.9 %{SOURCE1} \
--download-dir=%{_builddir}/chromium_git \
--checkout=%{cef_commit_hash} \
--no-distrib \
--no-build \
--force-clean \
--force-clean-deps


I made it to export CEF_INSTALL_SYSROOT with 'arm64' to inform the script about the platform. The error suggests an issue resolving the relevant remote build execution client package for aarch64.

Could someone please provide insights into what might be causing this issue? Are there additional flags or environment variables that need to be set for a successful aarch64
aleitner
Techie
 
Posts: 49
Joined: Fri Jun 16, 2023 12:05 pm

Re: Building cef on aarch64

Postby magreenblatt » Tue Dec 12, 2023 11:13 am

I think Chromium ARM builds on Linux are only supported via cross-compile. See https://bitbucket.org/chromiumembedded/ ... figuration
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 217 guests