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

Allow Mac ci builders to run on arm #41187

Closed
wants to merge 3 commits into from
Closed

Conversation

jmagman
Copy link
Member

@jmagman jmagman commented Apr 14, 2023

Ideally we wouldn't specify a cpu except for the builders that needed either Intel or arm specifically, respectively, and let the scheduler figure out which bots to run based on capacity.

Allow all the Mac .ci.yaml builders (not ci/builders) on arm Macs. Pin the ones to x64 that need to for one reason or another.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@jmagman
Copy link
Member Author

jmagman commented Apr 14, 2023

Mac Host clang-tidy failing because its specifying the number of cores, which doesn't match the arm Macs. I'll deal with that one separately #41183 (comment)

@@ -338,6 +338,7 @@ targets:
{"download_emsdk": true}
add_recipes_cq: "true"
build_host: "true"
cpu: x86 # https://github.com/flutter/flutter/issues/124877
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifying Macmini8,1 Intel machine, see flutter/flutter#124877.

@@ -372,6 +373,7 @@ targets:
recipe: engine/engine_unopt
properties:
add_recipes_cq: "true"
cpu: x86 # https://github.com/flutter/flutter/issues/124877
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Macmini8,1 also

@jmagman jmagman changed the title Run Mac ci builders on arm Allow Mac ci builders to run on arm Apr 14, 2023
@@ -52,7 +52,7 @@ platform_properties:
{"dependency": "open_jdk", "version": "version:11"}
]
device_type: none
cpu: x86
cpu: arm64
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once the arm tests all pass, this will be removed so the scheduler can choose either arm64 or x64 depending on capacity.

@jmagman
Copy link
Member Author

jmagman commented Apr 14, 2023

We still have a lot of builders that need to be run on Intel for one reason or another. Closing this in favor of pinning builders that don't need Intel to arm to free up the Intel capacity.
Example #41185, #41183

@jmagman jmagman closed this Apr 14, 2023
@jmagman jmagman deleted the arm-ci branch April 14, 2023 21:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant