-
Notifications
You must be signed in to change notification settings - Fork 6k
[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.