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

Conversation

@zanderso
Copy link
Member

@zanderso zanderso commented Oct 11, 2024

@zanderso zanderso requested a review from jmagman as a code owner October 11, 2024 02:25
@zanderso zanderso force-pushed the print-apple-sdk-paths branch from 45cdbbe to 7d94ab5 Compare October 11, 2024 02:26
zanderso added a commit to zanderso/engine that referenced this pull request Oct 11, 2024
@zanderso zanderso force-pushed the print-apple-sdk-paths branch from 7d94ab5 to 992e962 Compare October 11, 2024 02:52
zanderso added a commit to zanderso/engine that referenced this pull request Oct 11, 2024
@zanderso zanderso force-pushed the print-apple-sdk-paths branch 2 times, most recently from 77e6278 to de7162c Compare October 11, 2024 03:59
zanderso added a commit to zanderso/engine that referenced this pull request Oct 11, 2024
zanderso added a commit to zanderso/engine that referenced this pull request Oct 11, 2024
zanderso added a commit to zanderso/engine that referenced this pull request Oct 11, 2024
@zanderso zanderso force-pushed the print-apple-sdk-paths branch from de7162c to b008c6e Compare October 11, 2024 16:43
zanderso added a commit to zanderso/engine that referenced this pull request Oct 11, 2024
@zanderso zanderso force-pushed the print-apple-sdk-paths branch from b008c6e to 17e20e5 Compare October 11, 2024 17:20
zanderso added a commit to zanderso/engine that referenced this pull request Oct 11, 2024
sdk_output = run_command_with_retry(command, timeout=300)
if args.xcode is not None:
if sdk in ['iphoneos']:
sdk_output = os.path.join(args.xcode, 'iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk')
Copy link
Member

Choose a reason for hiding this comment

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

I really don't want the version hardcoded since this is coming from the Xcode sdk version in the .ci.yaml.

Can we try swapping the ios_sdk and mac_sdk python script to xcrun --sdk <sdk> --show-sdk-path instead, and see if it still times out?

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree, and I'll try that, yeah.

@zanderso zanderso force-pushed the print-apple-sdk-paths branch from 17e20e5 to d1dc0e9 Compare October 11, 2024 22:09
zanderso added a commit to zanderso/engine that referenced this pull request Oct 11, 2024
@zanderso zanderso requested a review from jmagman October 11, 2024 22:54
@zanderso zanderso changed the title DNS: Print Apple SDK paths Use xcrun to discover Apple SDK paths Oct 11, 2024
@zanderso
Copy link
Member Author

@jmagman flutter/engine#55818 is all green, so I think this is working.

Copy link
Member

@jmagman jmagman left a comment

Choose a reason for hiding this comment

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

Cross referencing with flutter/flutter#94513 re: the first attempt to use hard-coded strings.

LGTM, thank you, @zanderso!

@zanderso zanderso merged commit c8f93f2 into flutter:master Oct 12, 2024
@zanderso zanderso deleted the print-apple-sdk-paths branch October 12, 2024 16:53
zanderso added a commit to zanderso/engine that referenced this pull request Oct 12, 2024
auto-submit bot pushed a commit to flutter/engine that referenced this pull request Oct 12, 2024
This change switches from using `xcodebuild` to `xcrun` for discovering the paths of installed Apple SDKs. `xcrun` tries reading this information from a cache first, which may help avoid timeouts in CI.

Related flutter/flutter#155106
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 12, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 12, 2024
flutter/engine@b39fec6...ea311c9

2024-10-12 zanderso@users.noreply.github.com Roll buildroot for flutter/buildroot#912 (flutter/engine#55818)
2024-10-12 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Manual roll Dart SDK from d916a5f69a48 to 75bf9e183a33 (1 revision) (#55838)" (flutter/engine#55850)
2024-10-12 flar@google.com Delete last usages of MockCanvas test mechanism (flutter/engine#55840)
2024-10-12 skia-flutter-autoroll@skia.org Roll Skia from 97cebfb06139 to d2833b68c8c7 (9 revisions) (flutter/engine#55846)
2024-10-12 jonahwilliams@google.com [Impeller] delete a bunch of dead filter code. (flutter/engine#55841)
2024-10-12 55750689+AthulJoseph27@users.noreply.github.com [Impeller] Added support to set polygon mode in Flutter GPU. (flutter/engine#55804)
2024-10-11 skia-flutter-autoroll@skia.org Manual roll Dart SDK from d916a5f69a48 to 75bf9e183a33 (1 revision) (flutter/engine#55838)
2024-10-11 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from 1OZ2rHDklRNSZRUrc... to tNuwSyjjbdU9HjOwQ... (flutter/engine#55837)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from 1OZ2rHDklRNS to tNuwSyjjbdU9

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
nick9822 pushed a commit to nick9822/flutter that referenced this pull request Dec 18, 2024
This change switches from using `xcodebuild` to `xcrun` for discovering the paths of installed Apple SDKs. `xcrun` tries reading this information from a cache first, which may help avoid timeouts in CI.

Related flutter#155106
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.

2 participants