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
Support Flutter for web from arm host by building dart2js artifact for arm64 host dart-sdk. #74928
Previously, the dart-sdk did not support building the dart2js snapshot for arm64 hosts tracking issue. However, this was fixed upstream in dart-lang/sdk@9866c06. Flutter's compiled arm64 sdk does not include this snapshot, but it should be possible to build it and include it in the cached artifacts the Flutter tool downloads, allowing arm64 linux host users to develop Flutter for web apps.
changed the title [-]Build and cache dart2js artifact for arm64 host dart-sdk.[/-][+]Support Flutter for web from arm host by building dart2js artifact for arm64 host dart-sdk.[/+]on Jan 28, 2021
Thanks! I haven't got a chance to circle back on this, but if you have some free time, I suspect the fix is a one-line gn build rule change to our engine repo.
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
[-]Build and cache dart2js artifact for arm64 host dart-sdk.[/-][+]Support Flutter for web from arm host by building dart2js artifact for arm64 host dart-sdk.[/+]HidenoriMatsubayashi commentedon Feb 4, 2021
dart2js will seem to be included in version 2.12 of dart-sdk. Currently, it’s still only in the 2.12-beta version.
HidenoriMatsubayashi commentedon Mar 26, 2021
@christopherfujino
Currently, version 2.12 in stable channel is released! See: https://dart.dev/tools/sdk/archive
christopherfujino commentedon Mar 29, 2021
Thanks! I haven't got a chance to circle back on this, but if you have some free time, I suspect the fix is a one-line gn build rule change to our engine repo.
HidenoriMatsubayashi commentedon Mar 30, 2021
If we leave it alone, will it be incorporated into the engine repo automatically eventually? If not, I'll fix it.
Besides, gn build script maybe need to be modified to cross-build dart2js/dev_compiler for ARM64.
christopherfujino commentedon Mar 30, 2021
I think I figured this out, I'll prepare a PR...
HidenoriMatsubayashi commentedon Mar 30, 2021
Thank you so much!
christopherfujino commentedon Apr 3, 2021
Confirmed building for web from ARM64 host works as of framework commit
824b1ad3f8.github-actions commentedon Aug 3, 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.