aboutsummaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
authorYuri Wiitala <miu@chromium.org>2019-12-09 14:11:34 -0800
committerCommit Bot <commit-bot@chromium.org>2019-12-09 23:16:39 +0000
commit1a5032f91662568ed3fec6da12e747838914cf58 (patch)
treefec3f67dcd987f5d30330f934b5be643f9462f31 /infra
parent84b1341d27e60346914d43d7b8fb385eebba66bb (diff)
downloadopenscreen-1a5032f91662568ed3fec6da12e747838914cf58.tar.gz
Upgrade Mac bot to 10.15, to auto-upgrade compiler/toolchain.
Bug: openscreen:86 Change-Id: I6eaca1e376dedb509be3c3009b0c33cce322647e Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1954824 Reviewed-by: Jordan Bayles <jophba@chromium.org> Commit-Queue: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'infra')
-rw-r--r--infra/config/global/cr-buildbucket.cfg18
1 files changed, 17 insertions, 1 deletions
diff --git a/infra/config/global/cr-buildbucket.cfg b/infra/config/global/cr-buildbucket.cfg
index 0b35cbf4..1c1bce2f 100644
--- a/infra/config/global/cr-buildbucket.cfg
+++ b/infra/config/global/cr-buildbucket.cfg
@@ -74,7 +74,23 @@ builder_mixins {
builder_mixins {
name: "mac"
- dimensions: "os:Mac-10.13"
+
+ # NOTE: The OS version here will determine which version of XCode is being
+ # used, and thus determines the compiler/linker versions. Relevant links; so
+ # you and I never have to spend hours finding this stuff all over again to fix
+ # things like https://crbug.com/openscreen/86:
+ #
+ # 1. The recipe code that uses the "osx_sdk" recipe module:
+ #
+ # https://cs.chromium.org/chromium/build/scripts/slave/recipes
+ # /openscreen.py?rcl=671f9f1c5f5bef81d0a39973aa8729cc83bb290e&l=74
+ #
+ # 2. The XCode version look-up table in the "osx_sdk" recipe module:
+ #
+ # https://cs.chromium.org/chromium/tools/depot_tools/recipes/recipe_modules
+ # /osx_sdk/api.py?rcl=fe18a43d590a5eac0d58e7e555b024746ba290ad&l=26
+ dimensions: "os:Mac-10.15"
+
caches: {
# Cache for mac_toolchain tool and XCode.app used in recipes.
name: "osx_sdk"