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

Prefix gen_shapshot build invocation with time based on the current platform. #55633

Closed
wants to merge 2 commits into from

Conversation

matanlurey
Copy link
Contributor

Work on debugging flutter/flutter#154437.

@matanlurey matanlurey requested review from cbracken and aam October 3, 2024 21:29
@@ -63,6 +63,9 @@ group("generate_snapshot_bins") {
# See: `bin_to_linkable` rules below that build these outputs into linkable form
# See: https://github.com/flutter/flutter/wiki/Flutter-engine-operation-in-AOT-Mode
compiled_action("generate_snapshot_bin") {
# TODO(https://github.com/flutter/flutter/issues/154437).
prefix_with_time_cmd = true
Copy link
Member

Choose a reason for hiding this comment

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

Does this flag need to be added to https://github.com/flutter/buildroot repo first?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh shoot, I thought I had sent the buildroot patch, let me send you that first!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Rolled buildroot in this PR as well.

@flutter-dashboard
Copy link

This pull request has been changed to a draft. The currently pending flutter-gold status will not be able to resolve until a new commit is pushed or the change is marked ready for review again.

matanlurey added a commit to flutter/buildroot that referenced this pull request Oct 3, 2024
Work on debugging flutter/flutter#154437.

Must land and roll into flutter/engine before
flutter/engine#55633.
@matanlurey matanlurey marked this pull request as ready for review October 3, 2024 21:59
@matanlurey
Copy link
Contributor Author

Looks like it assumed the executable was local, versus on the PATH:

FileNotFoundError: [Errno 2] No such file or directory: './time'

I'll... look at this again.

@matanlurey matanlurey closed this Oct 4, 2024
@matanlurey matanlurey deleted the lib-snapshot-time-cmd branch October 4, 2024 17:43
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