dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.24k stars 1.57k forks source link

Dart for the Alpine, ARM64 #51642

Open zs-dima opened 1 year ago

zs-dima commented 1 year ago

Currently Dart is for the x86_64 Alpine only. Could be nice to add ARM64 Alpine support as well.

https://gitlab.alpinelinux.org/alpine/aports/-/issues/13502#note_294749 https://git.alpinelinux.org/aports/tree/testing/dart/APKBUILD https://github.com/flutter/flutter/issues/73260

mraleph commented 1 year ago

Alpine package are currently provided by the community.

/cc @athomas @mit-mit

selfisekai commented 1 year ago

alpine maintainer of dart here. this is currently blocked by our bootstrap method, which is using windows x64 builds of dart via wine

selfisekai commented 1 year ago

I've switched bootstrap to https://github.com/dart-musl/dart builds.

current status for all architectures:

azkadev commented 8 months ago

Screenshot from 2024-03-09 08-17-19

I tried running dart on alpine linux on my phone and it worked

BTW, if anyone wants to know how to install Dart, you can

install using this command

apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing dart-sdk
azkadev commented 8 months ago

alpine maintainer of dart here. this is currently blocked by our bootstrap method, which is using windows x64 builds of dart via wine

are you not interested in making dart on ubuntu arm64? I want to try Dart on Android but I can't, I can but I have to compile it manually

athomas commented 7 months ago

@azkadev There are ubuntu arm64 versions (https://dart.dev/get-dart/archive) and then there are the docker images ( https://hub.docker.com/r/arm64v8/dart/).

azkadev commented 7 months ago

@azkadev There are ubuntu arm64 versions (https://dart.dev/get-dart/archive) and then there are the docker images ( https://hub.docker.com/r/arm64v8/dart/).

yes I know but it's not as easy as installing dart sdk/flutter like on alpine linux

which only uses apk add url