Article 6Q1M3 Chromium for aarch64

Chromium for aarch64

by
stormtracknole
from LinuxQuestions.org on (#6Q1M3)
Greetings!

So I have been working on a little project for a while and I was waiting to see if I was successful before posting here. Some of you may, or may not know, that AWS provides ARM (aarch64) based EC2 instances using their Graviton chips. I was curious if I could set up a chroot environment using AmazonLinux2023. Sure enough, I was successful. My reasoning was that I have always wanted to build chromium for aarch64 and that was proving to be elusive. Mainly because it would take too long to troubleshoot errors.

So, I selected a m7g.4xlarge instance, which has 16 cores and 64 GB of ram along with an NVME drive. I used alien's SlackBuild as a starting point and then began to tweak. After a few days of tweaking, I finally have a working SlackBuild.

I was able to build both chromium and chromum-ungoogled in a little bit over 3 hours:
Code:Slackware package /tmp/chromium-127.0.6533.119-aarch64-1stn.txz created.

/tmp/build/package-chromium

real 169m19.448s
user 2447m21.087s
sys 144m43.380s

Slackware package /tmp/chromium-ungoogled-127.0.6533.119-aarch64-1stn.txz created.

/tmp/build/package-chromium-ungoogled

real 168m33.870s
user 2439m2.462s
sys 145m19.345sI am attaching the SBo file here. Feel free to give it a try. I use alien's chromium source repo. Just use this SBo instead. Download or rsync alien's chromium repo source and place this SlackBuild there. Then run it from that directory.

I'm going to work on setting up a repo to host these txz packages for convenience. Trying to do it in a way that won't break the bank. Using this instance type has quite a bit of cost as it is. Once I have a repo in place, I'll post it here. In the mean time, feel free to use this SBo. A rough calculation would be at least 48 hours to compile on a Raspberry Pi 4.

Enjoy!
Attached Files
txt.gifchromium.SlackBuild.aarch64.txt (88.5 KB)
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments