Skip to content
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

打包 linux arm64 版本 #721

Open
1 task done
pugaizai opened this issue Feb 13, 2025 · 6 comments
Open
1 task done

打包 linux arm64 版本 #721

pugaizai opened this issue Feb 13, 2025 · 6 comments
Labels
enhancement New feature or request

Comments

@pugaizai
Copy link
Contributor

pugaizai commented Feb 13, 2025

issue 内容

现在github action已经有linux arm64 runner了。

只需 https://github.com/Predidit/Kazumi/blob/main/.github/workflows/release.yaml#L207 stable改成master就可以用flutter linux arm

runner 也要使用 ubuntu-latest-arm

ubuntu-latest-arm 要排很久的队,建议使用 ubuntu-22.04-arm

提交前确认

  • issue 列表中,没有我的新功能需求 / 问题
@Predidit Predidit added the enhancement New feature or request label Feb 14, 2025
@Predidit
Copy link
Owner

需要先完成 libmpv 在 linux arm64 上的编译

需要等待下一个 flutter stable 版本发布

@pugaizai
Copy link
Contributor Author

需要等待下一个 flutter stable 版本发布

这是为啥

@Predidit
Copy link
Owner

抱歉,我搞错了一些事情,我以为此支持在 master分支还没有进入 stable 分支。我注意到实际上并不是这样。

@pugaizai
Copy link
Contributor Author

pugaizai commented Feb 14, 2025

在 linux 上 x64 以外的架构打包只能用 git clone 下来的 flutter 然后切换版本,也是上面 stable 改成 master 原因,不然会从 flutter.dev 那里下载 x64 的 flutter 。实际上 flutter 好久以前就支持 arm64 的打包,只是不支持交叉编译

现在 github action 有了 ubuntu-arm 版的 runner ,所以我说现在可以打包 linux arm 版本了

@Xunflash
Copy link

期待arm linux版本打包

@nayeko
Copy link

nayeko commented Feb 21, 2025

也可以用snap安装arm的flutter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants