Building Chromium and using Reclient on ARM linux

789 views
Skip to first unread message

Yoav Weiss (@Shopify)

unread,
Sep 16, 2024, 11:50:44 PM9/16/24
to Chromium-dev
Hey folks!

I'm trying to optimize my Chromium workflow and would love some advice.
Currently I'm building Chromium on a cloud amd64 Linux VM, and using reclient.
That works.. fine, but at the same time I'm unhappy with the machine's local I/O performance, it's an expense to continuously justify and I don't have that env when I'm offline.

So I thought I can try to improve on that by installing a Linux VM locally, on my M1 MBP.
As it turns out, running amd64 Linux on M1 (in emulation mode) is extremely slow. So I'd like to try and build Chromium on ARM Linux, while using Reclient.

But when I tried that, I ran into issues where `gclient runhooks` didn't pull in the right `gn` binary, and it was unclear if reclient even supports that configuration.

Can y'all confirm if this is at all possible? Anyone else that has tried a similar setup?

Cheers :)
Yoav 

danakj

unread,
Sep 17, 2024, 2:15:24 PM9/17/24
to yoav...@chromium.org, Chromium-dev
I think you will run into a lot of missing things right now.


Take a look at all the `linux-amd64` in this file, and note how there's no `linux-arm64` equivalent for most if not all of them. Compare that to `mac-amd64` and `mac-arm64`.
 

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAOmohSLGYwR5ph3Prqg4NfSbHMxVSGkuzMc82CWb6F0x_seUYw%40mail.gmail.com.

Dirk Pranke

unread,
Sep 17, 2024, 2:58:31 PM9/17/24
to dan...@chromium.org, yoav...@chromium.org, Chromium-dev
On Tue, Sep 17, 2024 at 11:14 AM danakj <dan...@chromium.org> wrote:

On Mon, Sep 16, 2024 at 11:49 PM Yoav Weiss (@Shopify) <yoav...@chromium.org> wrote:
Hey folks!

I'm trying to optimize my Chromium workflow and would love some advice.
Currently I'm building Chromium on a cloud amd64 Linux VM, and using reclient.
That works.. fine, but at the same time I'm unhappy with the machine's local I/O performance, it's an expense to continuously justify and I don't have that env when I'm offline.

So I thought I can try to improve on that by installing a Linux VM locally, on my M1 MBP.
As it turns out, running amd64 Linux on M1 (in emulation mode) is extremely slow. So I'd like to try and build Chromium on ARM Linux, while using Reclient.

But when I tried that, I ran into issues where `gclient runhooks` didn't pull in the right `gn` binary, and it was unclear if reclient even supports that configuration.

Can y'all confirm if this is at all possible? Anyone else that has tried a similar setup?

Cheers :)
Yoav 

I think you will run into a lot of missing things right now.

Agreed. I wouldn't consider Linux ARM a supported platform. There's no gn binary. I'm not sure what all else is missing, but I'm sure there are other things.

-- Dirk
 


Take a look at all the `linux-amd64` in this file, and note how there's no `linux-arm64` equivalent for most if not all of them. Compare that to `mac-amd64` and `mac-arm64`.
 

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAOmohSLGYwR5ph3Prqg4NfSbHMxVSGkuzMc82CWb6F0x_seUYw%40mail.gmail.com.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
Reply all
Reply to author
Forward
0 new messages