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

Conversation

@zanderso
Copy link
Member

This PR does two things. First, in many of the ci builds, LTO is enabled by default. This is usually not what we want when doing local builds, so this PR adds an --lto flag to the build command which is disabled by default, causing --no-lto to be passed to GN. When --lto is passed to the build command, --lto is passed to GN, which results in the build using LTO.

Second, this PR eagerly parses the --verbose flag out of the command line so that help messages can optionally show less information. In particular, in this PR, ci and web_test builds are only displayed by help build when --verbose is passed to the help command. There's some extra text in the help message as well indicating that passing --verbose to help will show more builds.

Copy link
Contributor

@matanlurey matanlurey left a comment

Choose a reason for hiding this comment

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

LGTM!

@zanderso zanderso merged commit 43187a8 into flutter:main Apr 10, 2024
@zanderso zanderso deleted the et-build-no-lto branch April 10, 2024 18:09
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 10, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Apr 10, 2024
…146605)

flutter/engine@beee02b...91ba235

2024-04-10 [email protected] Adds iOS builds to local_engine.json (flutter/engine#52027)
2024-04-10 [email protected] Roll Skia from df6d08abb447 to 91e0c0f4bf41 (3 revisions) (flutter/engine#52026)
2024-04-10 [email protected] [Android] post image task to main handler. (flutter/engine#52025)
2024-04-10 [email protected] [et] Adds --lto flag to build. Plumbs verbose flag differently. (flutter/engine#52021)

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],[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
gilnobrega pushed a commit to gilnobrega/flutter that referenced this pull request Apr 22, 2024
…lutter#146605)

flutter/engine@beee02b...91ba235

2024-04-10 [email protected] Adds iOS builds to local_engine.json (flutter/engine#52027)
2024-04-10 [email protected] Roll Skia from df6d08abb447 to 91e0c0f4bf41 (3 revisions) (flutter/engine#52026)
2024-04-10 [email protected] [Android] post image task to main handler. (flutter/engine#52025)
2024-04-10 [email protected] [et] Adds --lto flag to build. Plumbs verbose flag differently. (flutter/engine#52021)

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],[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
zanderso added a commit that referenced this pull request Apr 23, 2024
…2339)

#52021 introduced a bug where `ci`
build could only be specified when also passing the `--verbose` flag.
This PR fixes the issue so that by default the `help` message will only
show `ci` builds when `--verbose` is passed to `help`, but the `ci`
builds can be specified even without the `--verbose` flag.
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