Closed Bug 1846849 Opened 10 months ago Closed 6 months ago

Add toolchain for building custom Chromium-as-release for Apple silicon

Categories

(Testing :: Performance, task, P1)

Default
task

Tracking

(firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: kshampur, Assigned: kshampur)

References

(Depends on 1 open bug)

Details

(Whiteboard: [fxp])

Attachments

(4 files)

From googles instructions looks like you can cross compile to arm64 from an intel mac. I tried one here last week out of curiosity, and the build time takes about 11-12 hours.

we would probably also have to grab the chromium ARM driver so the chromium fetch should be modified for that to run the performance tests

Assignee: nobody → kshampur
Status: NEW → ASSIGNED

making note we'll have to add a fetch for chromium arm mac https://download-chromium.appspot.com/?platform=Mac_Arm&type=snapshots as part of this bug

Depends on: 1858740

Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1858740#c9 I will probably continue building this with the intel OSX workers

This patch updates the chromium fetches to now include the ARM builds so
that we can use the appropriate chromedriver for CaR apple silicon
builds.

Depends on D192712

tasks seem to be passing https://treeherder.mozilla.org/jobs?repo=try&tier=1%2C2%2C3&revision=4a1dcf5f2f83a1264fb3665713c37f8a644da925&selectedTaskRun=c7QBjBfMSLKWtwsdNGCudg.0

but I think that is actually using the intel mac chromedriver rather than the arm chromedriver. I need to double check

looking at the Trace, looks to be working as expected though

See Also: → 1864673
Attachment #9361886 - Attachment description: WIP: Bug 1846849 - Add toolchain for building custom Chromium-as-release for Apple silicon. → WIP: Bug 1846849 - Add toolchain for building custom Chromium-as-release for Apple silicon. r?#perftest
Attachment #9362344 - Attachment description: WIP: Bug 1846849 - Add fetch for Chromium ARM for apple silicon. → WIP: Bug 1846849 - Add fetch for Chromium ARM for apple silicon. r?#perftest
Attachment #9364068 - Attachment description: WIP: Bug 1846849 - Run select performance tests on CaR for Apple Silicon. → WIP: Bug 1846849 - Run select performance tests on CaR for Apple Silicon. r?#perftest
Attachment #9364070 - Attachment description: WIP: Bug 1846849 - Update chromium cron to include ARM relevant fetches. → WIP: Bug 1846849 - Update chromium cron to include ARM relevant fetches. r?#perftest
Attachment #9361886 - Attachment description: WIP: Bug 1846849 - Add toolchain for building custom Chromium-as-release for Apple silicon. r?#perftest → Bug 1846849 - Add toolchain for building custom Chromium-as-release for Apple silicon. r?#perftest
Attachment #9362344 - Attachment description: WIP: Bug 1846849 - Add fetch for Chromium ARM for apple silicon. r?#perftest → Bug 1846849 - Add fetch for Chromium ARM for apple silicon. r?#perftest
Attachment #9364068 - Attachment description: WIP: Bug 1846849 - Run select performance tests on CaR for Apple Silicon. r?#perftest → Bug 1846849 - Run select performance tests on CaR for Apple Silicon. r?#perftest
Attachment #9364070 - Attachment description: WIP: Bug 1846849 - Update chromium cron to include ARM relevant fetches. r?#perftest → Bug 1846849 - Update chromium cron to include ARM relevant fetches. r?#perftest
Priority: P2 → P1
Blocks: 1867068
Pushed by kshampur@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3f0039ff61dc
Add toolchain for building custom Chromium-as-release for Apple silicon. r=perftest-reviewers,afinder
https://hg.mozilla.org/integration/autoland/rev/619905522d8c
Add fetch for Chromium ARM for apple silicon. r=perftest-reviewers,taskgraph-reviewers,bhearsum,afinder
https://hg.mozilla.org/integration/autoland/rev/b17dabfdb576
Run select performance tests on CaR for Apple Silicon. r=perftest-reviewers,afinder
https://hg.mozilla.org/integration/autoland/rev/811f3fca797d
Update chromium cron to include ARM relevant fetches. r=perftest-reviewers,taskgraph-reviewers,afinder,ahal
Regressions: 1867410

^ making note that is likely an incorrect regression based on what I found here https://bugzilla.mozilla.org/show_bug.cgi?id=1867410#c3

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: