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

Commit e6ae9a4

Browse files
authored
[docs] Suggest using same Xcode version as bots (#52821)
Document that when using RBE, users should ensure the locally installed Xcode toolchain version matches that of the bots, otherwise they're likely to experience slow builds due to cache misses. Ideally, we should also check the value automatically against the `sdk_version` specified in the relevant `et` build config itself. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent a1d930a commit e6ae9a4

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs/rbe/rbe.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,16 @@ RBE builds can also be slow if your network connection is bandwidth constrained.
158158
Anecdotally, even with a warm cache, I have noticed slow builds from home due
159159
to RBE saturating my low-tier Comcast Business connection.
160160

161-
For Googlers on a corp macOS device, both RBE and non-RBE builds can be slow
162-
due to various background and monitoring processes running. See
163-
[here](https://buganizer.corp.google.com/issues/324404733#comment16) for how
164-
to disable some of them. You should also disable Spotlight scanning of the
165-
engine source directory as described
161+
For developers on a macOS host device, ensure that you're using the same version
162+
of Xcode as is in use on the bots. The value of "Build version" returned by
163+
`xcodebuild -version` should match the `sdk_version` value set in
164+
`ci/builders/local_engine.json` for the build you're running.
165+
166+
For Googlers on a corp macOS device, both RBE and non-RBE builds can be slow due
167+
to various background and monitoring processes running. See
168+
[here](https://buganizer.corp.google.com/issues/324404733#comment16) for how to
169+
disable some of them. You should also disable Spotlight scanning of the engine
170+
source directory as described
166171
[here](go/building-chrome-mac#add-the-source-directory-to-the-spotlight-privacy-list).
167172

168173
When RBE builds are slow, non-RBE builds may be faster, especially incremental

0 commit comments

Comments
 (0)