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

Conversation

@zanderso
Copy link
Member

Currently --no-lto is hardcoded in presubmit builds in the ci_yaml starlark file here https://cs.opensource.google/flutter/infra/+/main:config/lib/ci_yaml/ci_yaml.star;l=398?q=lto&ss=flutter%2Finfra:config%2F.

This PR shifts setting the property into the .ci.yaml file. Since in general we want LTO in prod builds, and no LTO in try builds, this PR sets the no_lto property to true in the platform_properties, then for each configuration sets no_lto to false in their respective postsubmit_properties. This would be less confusing if .ci.yaml supported a presubmit_properties that could be set once-and-for-all in the platform_properties cc @keyonghan

@zanderso zanderso requested a review from CaseyHillers March 13, 2023 21:05
@CaseyHillers
Copy link
Contributor

Copy link
Contributor

@keyonghan keyonghan left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants