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

Conversation

@zanderso
Copy link
Member

@zanderso zanderso commented May 5, 2022

Building the arm64 iOS simulator and iOS release configurations in CI are very expensive because they can't use goma. This PR removes a dependency on absiel from iOS generally, and adds an option to use a prebuilt impellerc, which we'll use on CI by building impellerc with host_debug first, which can use goma. This should save somewhere between 6-8 minutes on the long-pole build on CI.

@zanderso zanderso requested review from chinmaygarde and dnfield May 5, 2022 18:20
fml/BUILD.gn Outdated
Comment on lines 118 to 121
if (is_mac || is_linux) {
# This abseil dependency is only used by backtrace.cc.
deps += [ "//third_party/abseil-cpp/absl/debugging:symbolize" ]
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we still include this for unopt builds? It's helpful to be able to use fml::Backtrace sometimes for local builds. Not a big deal either though since we can just attach a debugger too...

Copy link
Member Author

Choose a reason for hiding this comment

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

Added back in unopt builds.

tool = "//flutter/impeller/compiler:impellerc"
}
} else {
action_foreach(target_name) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Ok to ignore this for this patch.

impellerc may not be stable from revision to revision. We'll want a nice failure mode if/when someone ends up using an incompatible impellerc with the current engine build.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added more text to the help message on the gn script flag.

Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

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

LGTM with nits

@zanderso
Copy link
Member Author

zanderso commented May 6, 2022

The tree is really green, the mac try queue isn't going to clear out any time soon, the prod bots are sitting idle, and this is relatively low risk since it doesn't do anything unless the flag is passed, so I'm going to land this without Mac Web Engine starting.

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