-
Notifications
You must be signed in to change notification settings - Fork 28.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable flutter engine artifacts for Windows on Arm #115983
Comments
@loic-sharma Tried to create a gerrit change for that, but it confirms I don't have access. The commit to upstream is here, based on what was done for darwin-arm64. |
Hello, thanks for the patch! I apologize for the delay, I was off last week. I kicked off a test run of your changes, that failed on the
Please let me know when you're ready for me to run another test! |
Thanks @loic-sharma . No problem, you said you were out :) I pushed two other commits here, to fix the issue you mentioned (regarding font), and removed the embedder package for now (not sure what it is used for). Feel free to squash commits to have a single patch. For now, I just try to keep commits splitted to track history of this patch. |
Here's the latest result: https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/loicsharma_google.com/c0e4ff1860fc1c4916a177502cc4cfb0fad1d20aa848aac5b68add72334199f0/+/build.proto?server=chromium-swarm.appspot.com
|
I removed the font subset as it does not seem to be built when building for windows-arm64. Still here. |
Here's the latest build: https://ci.chromium.org/raw/build/logs.chromium.org/flutter/led/loicsharma_google.com/b765281e408ff608bc165ac7291626f93782efeac52f2d4936eb64a7482f9847/+/build.proto?server=chromium-swarm.appspot.com It looks like it passed! (The final step fails, but that seems like an unrelated permission issue) |
Ok great! I squashed all commits, and rebased it on top of master. Could you submit it for review please, and post the link here? |
Here's the changelist: https://flutter-review.git.corp.google.com/c/recipes/+/37085 FYI there will be an infrastructure freeze from December 20th to January 4th due to the holidays. That might affect your ARM64 work. |
FYI, @godofredoc left a comment that you will also need to modify this: https://github.com/flutter/engine/tree/main/ci/builders |
Public link to CL: https://flutter-review.googlesource.com/c/recipes/+/37085 |
Thanks, I'll answer on CL from now. |
From CL, it appears the "recipes" approach will be dropped in favor of a new solution, directly integrated in flutter engine repo, from January 2023. Thus, this seems to be the best approach at that time, and I'll do a PR for that. |
Created PR on engine to add support for arm64 artifacts. |
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 |
Use case
To support targeting Windows on Arm platform (#62597), we need first to enable artifacts for flutter engine on this platform.
Proposal
Engine can be cross-compiled from a x64 machine by using:
I'll create a patch for recipe file.
Thanks @loic-sharma for proposing to help upstream this patch.
The text was updated successfully, but these errors were encountered: