Go-flutter: Building/Crosscompiling for Linux ARM/ARM64

Created on 30 Jun 2020  路  9Comments  路  Source: go-flutter-desktop/go-flutter

It may already be possible but i'm not sure I was wondering if support could be added to build and crosscompile appimages for arm/aarch64 on linux?

enhancement

Most helpful comment

I opened an issue on the flutter repo here https://github.com/flutter/flutter/issues/60678

All 9 comments

It's not possible yet. To make it possible we either need https://github.com/go-flutter-desktop/go-flutter/issues/363 or the flutter team uploads the needed engine files.

I opened an issue on the flutter repo here https://github.com/flutter/flutter/issues/60678

I'm also interested in this feature for a new project so I'm going try to setup some CI that builds the engines and make hover compatible.

@NO-ob

It doesn't support cross compiling so the end goal is to build the app with go flutter on the pinephone for the pinephone

This currently true, but adding cross-compile functionality is mandatory for easy development so that will be included when I add the feature to hover

After reading some issues and PRs in the flutter repo it seems like there are already people working on supporting arm64 targets in flutter with all the required infrastructure. So it's better to wait for the engines to become available than trying to compile them ourself.

The arm64 engine changes have been merged now I think https://github.com/flutter/engine/pull/20254#issuecomment-694546839

Then we need support for engines in https://github.com/flutter-rs/engine-builds . I'll ask them and update this issue when something changes

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Tokenyet picture Tokenyet  路  7Comments

qianniancn picture qianniancn  路  7Comments

pauldemarco picture pauldemarco  路  7Comments

pchampio picture pchampio  路  6Comments

Fireprufe15 picture Fireprufe15  路  6Comments