You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adding ARM iOS simulator times out the engine artifacts build #82736
Adding the ARM iOS simulator to the Mac iOS Engine builder causes the tasks to take an additional 15 minutes, which pushes the build over the timeout limit. This is particularly long because currently the ARM builds do not use goma.
This is blocking iOS ARM simulator and native M1 macOS development. #60113 #60118
Refactor recipes to handle build dependencies. Frameworks can be built in parallel, and then a final publication build will gather, package, and publish the artifacts. This work is currently in the infra team's Q3 OKRs. @gw280 has already outlined the dependency graph Separate engine builds to build, test archive components #81855
Add a build conductor to kick off the dependencies, idle, then gather, package, and publish the artifacts. This wastes a builder that waits for the sub builds to finish, and it very similar to the sharded test functionality that was deprecated in the Flutter framework. This would be an easier refactor than option 1, but would waste a resource.
Any of these changes would have the added eng-prod benefit of improving engine testing time. Option 1 or 2 would also allow future framework variants to be built in parallel (openGL for example).
changed the title [-]Adding ARM iOS simulator builds makes the engine artifacts builder time out[/-][+]Adding ARM iOS simulator times out the engine artifacts build[/+]on May 17, 2021
I know the last time we asked, it was not possible to add the clang versions we to support this on GOMA - but maybe now that it's on RBE that's changed. I'll see if we can reach out to the Fuchsia GOMA folks about that...
I know the last time we asked, it was not possible to add the clang versions we to support this on GOMA - but maybe now that it's on RBE that's changed. I'll see if we can reach out to the Fuchsia GOMA folks about that...
Per GOMA team, this isn't possible due to GOMA's architecture. Mac compilation is done by cross compiling with a compatible Linux based toolchain. There's no such thing for the Xcode toolchains.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
jmagman commentedon May 17, 2021
Some solutions that have been discussed:
Adopt goma for iOS/macOS bitcode builds. This may push the entire builder under the timeout limit. Update the buildroot to use our own clang when building with bitcode-marker #39281.GOMA team says this isn't currently possible Adding ARM iOS simulator times out the engine artifacts build #82736 (comment)Any of these changes would have the added eng-prod benefit of improving engine testing time. Option 1 or 2 would also allow future framework variants to be built in parallel (openGL for example).
jmagman commentedon May 17, 2021
\cc @dnfield @godofredoc @gw280
[-]Adding ARM iOS simulator builds makes the engine artifacts builder time out[/-][+]Adding ARM iOS simulator times out the engine artifacts build[/+]dnfield commentedon May 17, 2021
I know the last time we asked, it was not possible to add the clang versions we to support this on GOMA - but maybe now that it's on RBE that's changed. I'll see if we can reach out to the Fuchsia GOMA folks about that...
dnfield commentedon May 17, 2021
Per GOMA team, this isn't possible due to GOMA's architecture. Mac compilation is done by cross compiling with a compatible Linux based toolchain. There's no such thing for the Xcode toolchains.
jmagman commentedon May 17, 2021
Thanks for checking @dnfield
jmagman commentedon Jun 22, 2021
The engine build does not time out when the ARM simulator step was added in https://flutter-review.googlesource.com/c/recipes/+/14780.
Closing.
github-actions commentedon Jul 31, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.