-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[macOS] Archive universal gen_snapshot binaries #53962
[macOS] Archive universal gen_snapshot binaries #53962
Conversation
In flutter#53524, we started producing universal `gen_snapshot_arm64` and `gen_snapshot_x64` binaries. This migrates away from bundling `gen_snapshot` binaries with x64-only host architecture to universal binaries that bundle both x64 and arm64 host architectures. Issue: flutter/flutter#101138 Issue: flutter/flutter#69157
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
you might run into trouble with this:
https://github.com/flutter/engine/blob/main/ci/builders/mac_ios_engine.json#L518
but I believe it is safe to delete, if so.
I'm fairly convinced that Doing some testing since I could still imagine tool internals doing things like checking for an trying to re-cache it if missing. |
auto label is removed for flutter/engine/53962, due to - The status or check suite Mac mac_host_engine has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Whoops:
|
Fixed: turns out we never actually depended on the lib/snapshots:create_macos_gen_snapshots target (or the archive target we used to depend on)... but only for profile mode. Therefore it didn't show up in my find-and-replace patch yesterday to swap the dependency to the |
…151915) flutter/engine@39ee1a5...e9dc620 2024-07-17 [email protected] Roll Skia from 485bf4ff886b to 5efad82d5387 (1 revision) (flutter/engine#53968) 2024-07-17 [email protected] [macOS] Archive universal gen_snapshot binaries (flutter/engine#53962) 2024-07-17 [email protected] Roll Skia from 4d2047aa3c8d to 485bf4ff886b (1 revision) (flutter/engine#53963) 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 [email protected],[email protected] 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
…lutter#151915) flutter/engine@39ee1a5...e9dc620 2024-07-17 [email protected] Roll Skia from 485bf4ff886b to 5efad82d5387 (1 revision) (flutter/engine#53968) 2024-07-17 [email protected] [macOS] Archive universal gen_snapshot binaries (flutter/engine#53962) 2024-07-17 [email protected] Roll Skia from 4d2047aa3c8d to 485bf4ff886b (1 revision) (flutter/engine#53963) 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 [email protected],[email protected] 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
…lutter#151915) flutter/engine@39ee1a5...e9dc620 2024-07-17 [email protected] Roll Skia from 485bf4ff886b to 5efad82d5387 (1 revision) (flutter/engine#53968) 2024-07-17 [email protected] [macOS] Archive universal gen_snapshot binaries (flutter/engine#53962) 2024-07-17 [email protected] Roll Skia from 4d2047aa3c8d to 485bf4ff886b (1 revision) (flutter/engine#53963) 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 [email protected],[email protected] 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
In #53524, we started producing universal
gen_snapshot_arm64
andgen_snapshot_x64
binaries. This migrates away from bundlinggen_snapshot
binaries with x64-only host architecture to universal binaries that bundle both x64 and arm64 host architectures.Also adds a dependency on
flutter/lib/snapshot:create_macos_gen_snapshots
to the profile build, where it was previously missing. Presumably,gen_snapshot
was being built as a side-effect of one of the other targets.Issue: flutter/flutter#101138
Issue: flutter/flutter#69157
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.