From cb6fdbc7c07fda740fb6ec7a81ff35330254b3b6 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Tue, 14 May 2024 13:52:29 -0700 Subject: [PATCH] [docs] Suggest using same Xcode version as bots 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. --- docs/rbe/rbe.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/rbe/rbe.md b/docs/rbe/rbe.md index 2232187a4d85f..6de0293cfd5c8 100644 --- a/docs/rbe/rbe.md +++ b/docs/rbe/rbe.md @@ -158,11 +158,16 @@ RBE builds can also be slow if your network connection is bandwidth constrained. Anecdotally, even with a warm cache, I have noticed slow builds from home due to RBE saturating my low-tier Comcast Business connection. -For Googlers on a corp macOS device, both RBE and non-RBE builds can be slow -due to various background and monitoring processes running. See -[here](https://buganizer.corp.google.com/issues/324404733#comment16) for how -to disable some of them. You should also disable Spotlight scanning of the -engine source directory as described +For developers on a macOS host device, ensure that you're using the same version +of Xcode as is in use on the bots. The value of "Build version" returned by +`xcodebuild -version` should match the `sdk_version` value set in +`ci/builders/local_engine.json` for the build you're running. + +For Googlers on a corp macOS device, both RBE and non-RBE builds can be slow due +to various background and monitoring processes running. See +[here](https://buganizer.corp.google.com/issues/324404733#comment16) for how to +disable some of them. You should also disable Spotlight scanning of the engine +source directory as described [here](go/building-chrome-mac#add-the-source-directory-to-the-spotlight-privacy-list). When RBE builds are slow, non-RBE builds may be faster, especially incremental