From 8e0d6da738463b018cc3b5a9eace3985868eb6c9 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Fri, 15 Nov 2024 10:46:34 -0800 Subject: [PATCH] Move mac clangd build from x64 to arm (flutter/engine#56567) Build and x64 dimension was introduced in https://github.com/flutter/engine/pull/50901, and I blindly copied it into the .ci.yaml in https://github.com/flutter/engine/pull/56014. However I don't think clangd needs to run on the scarce (and flakier) Intel Macs (37 x64 bots in prod vs 55 arm bots). Suspect this was copied from clang_tidy #26910 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style --- engine/src/flutter/.ci.yaml | 2 +- engine/src/flutter/ci/builders/standalone/mac_clangd.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index c2fa6b8e48..1687b69e18 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -509,7 +509,7 @@ targets: recipe: engine_v2/builder properties: config_name: mac_clangd - cpu: x86 + cpu: arm64 - name: Mac mac_unopt recipe: engine_v2/engine_v2 diff --git a/engine/src/flutter/ci/builders/standalone/mac_clangd.json b/engine/src/flutter/ci/builders/standalone/mac_clangd.json index 4f7b01c033..010785997e 100644 --- a/engine/src/flutter/ci/builders/standalone/mac_clangd.json +++ b/engine/src/flutter/ci/builders/standalone/mac_clangd.json @@ -32,7 +32,7 @@ "name": "clangd", "script": "flutter/tools/clangd_check/bin/main.dart", "parameters": [ - "--clangd=buildtools/mac-x64/clang/bin/clangd", + "--clangd=buildtools/mac-arm64/clang/bin/clangd", "--compile-commands-dir=../out/ci/mac_unopt_debug_no_rbe" ] }