Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 3a22f0f

Browse files
authored
Run mac unopt arm builds with arm toolchain (#41353)
Add `--force-mac-arm64` to arm gn commands running on Mac ARM bots to compile natively and not with Rosetta. Sometimes we've seen random slow-downs in CI when lots of Rosetta processes run at the same time. This will disable goma for these builds but it doesn't seem to be much slower: `build ios_debug_sim_arm64` step on prod: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20Production%20Engine%20Drone/123894/overview - 1.1 minute vs this PR: https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20Engine%20Drone/747210/overview - 1.8 minute
1 parent ff0ff3c commit 3a22f0f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ci/builders/mac_unopt.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
"--unoptimized",
142142
"--no-lto",
143143
"--prebuilt-dart-sdk",
144+
"--force-mac-arm64",
144145
"--mac-cpu",
145146
"arm64"
146147
],
@@ -187,6 +188,7 @@
187188
"debug",
188189
"--simulator",
189190
"--no-lto",
191+
"--force-mac-arm64",
190192
"--simulator-cpu",
191193
"arm64"
192194
],

0 commit comments

Comments
 (0)