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

Only install iOS simulator runtimes on builders that use them#32416

Merged
fluttergithubbot merged 1 commit intoflutter:mainfrom
jmagman:sim-ci
Apr 8, 2022
Merged

Only install iOS simulator runtimes on builders that use them#32416
fluttergithubbot merged 1 commit intoflutter:mainfrom
jmagman:sim-ci

Conversation

@jmagman
Copy link
Member

@jmagman jmagman commented Apr 4, 2022

iOS 13 and 15 runtime simulators are only needed for Mac Unopt at the moment. Remove runtime_versions as default on Mac builders and only set the property where needed. This should reduce the build time by ~4 minutes per builder.

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 jmagman self-assigned this Apr 4, 2022
[
{"name":"flutter_cocoapods","path":"cocoapods"},
{"name":"osx_sdk_13a233_13_15","path":"osx_sdk"},
{"name":"osx_sdk_13a233","path":"osx_sdk"},
Copy link
Member Author

Choose a reason for hiding this comment

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

@godofredoc do you think this is the right thing to do here to avoid the caches from colliding? Hopefully we don't have that problem once you are done the symlinking fixes.

Copy link
Contributor

Choose a reason for hiding this comment

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

If I understand mac_toolchain correctly we don't need to differentiate between xcode and runtimes because they use different caches. In other words once the symlink changes land we will be able to keep a single cache per xcode version and single caches per runtime.

@jmagman jmagman requested review from godofredoc and zanderso April 5, 2022 01:56
@jmagman jmagman marked this pull request as draft April 8, 2022 17:20
@jmagman
Copy link
Member Author

jmagman commented Apr 8, 2022

Holding off on this until @godofredoc is done his simulator symlink investigation.

@jmagman jmagman marked this pull request as ready for review April 8, 2022 20:27
@jmagman jmagman added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Apr 8, 2022
@fluttergithubbot fluttergithubbot merged commit 5b71661 into flutter:main Apr 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants