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
arm64 engine builds not compatible with --local-engine tool option #112679
Engine built for arm64 is not picked up by --local-engine. Passing host_debug_unopt_arm64 still redirects it to host_debug_unopt, which is not the correct directory.
This makes the dev cycle on M1 laptops awkward. You have to use Rosetta (i.e. prepend arch -x86_64 to commands), which is not documented in our wikis (and unlikely to be documented, since this is a bug, not a feature).
Reopened as not a dupe since this is specifically for --local-engine flag in the tool, which is one component of getting the above item done. It's very likely I'll hit this up while landing the rest of it though. If I can also get host/target builds untangled, then I'm hoping host_debug_unopt_arm64 can go away.
Note that #103386 covers a ton more than just gen_snapshot. gen_snapshot is covered in the sub-issue you filed: #101138
The broader issue I linked is migrating to the arm64 clang toolchain, enabling host unittests, updating tooling to work with the updated paths, etc. Generating universal binary gen_snapshots is one piece of that, but a pretty small part.
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 Sep 29, 2022
This indeed fails:
flutter/packages/flutter_tools/test/general.shard/runner/local_engine_test.dart
Line 124 in fb8dcb8
cc @christopherfujino
cbracken commentedon Sep 29, 2022
Closing as dupe of #103386
jmagman commentedon Sep 29, 2022
Is it a duplicate? We could fix this without any gen_snapshot work.
jmagman commentedon Sep 29, 2022
cbracken commentedon Sep 29, 2022
Reopened as not a dupe since this is specifically for
--local-engineflag in the tool, which is one component of getting the above item done. It's very likely I'll hit this up while landing the rest of it though. If I can also get host/target builds untangled, then I'm hoping host_debug_unopt_arm64 can go away.Note that #103386 covers a ton more than just gen_snapshot. gen_snapshot is covered in the sub-issue you filed: #101138
The broader issue I linked is migrating to the arm64 clang toolchain, enabling host unittests, updating tooling to work with the updated paths, etc. Generating universal binary gen_snapshots is one piece of that, but a pretty small part.
github-actions commentedon Nov 29, 2022
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.