-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
aarch64 #10
Comments
The example is only for x64, yes. I haven't ever built for aarch64 so I don't have experience there.
I don't know about that, you'd be best to ask the Flatpak/FlatHub folks there. Also, aarch64 builds are "nice to have" in that they are supported already so "why not?", but having it is not a requirement for submission to FlatHub - the reviewer was just asking if it could be added. Building from source is problematic for Flutter because it requires network access to get dependencies during the build phase, and the Flatpak build environment forbids network access. There is a related Flutter issue tracking that. |
flatpak is support arm, but flutter maybe not support arm, flutter linux release |
Yes, there seems not to be an official release. However, looking at the web, people build the flutter sdk on the Raspberry Pi themselves and then use that to compile and it seems to work. |
ye it has uname -a
Linux localhost 6.1.77-0-virt #1-Alpine SMP Wed, 07 Feb 2024 18:04:21 +0000 aarch64 Linux
apk search flutter
flutter-3.19.4-r0
flutter-common-3.19.4-r0
flutter-desktop-3.19.4-r0
flutter-developer-3.19.4-r0
flutter-glfw-3.19.4-r0
flutter-gtk-3.19.4-r0
flutter-tool-3.19.4-r0
flutter-tool-developer-3.19.4-r0 |
When I look at the code, I wonder how to build an arm build of the flutter app.
flutter_flatpak_example/counter_app/build-flutter-app.sh
Line 26 in b47432e
This example seems to be only x64. Do I read that right?
The flatpack action allows building for both platforms. I will have a look on how to achieve this.
It seems easy to me:
Something I need to figure out: Is there a way in the manifest to download a different archive depending on the build architecture?
See also:
The text was updated successfully, but these errors were encountered: