Building Dart 2 SDK for ARMv6 using Docker and CircleCI

Previously I wrote about building the Dart SDK for ARMv6, so that I could use Dart on a Raspberry Pi Zero.

The problem at the time was that I could build only version 1.24 of the SDK, while Dart 2 has been around for a while now.

I managed to build the latest version of Dart (2.0.0-dev.55.0) too.

I could run Aqueduct and the Flutter tools with that.

I used Docker again but this time I also wanted to play around with CircleCI, mainly to have a more powerful setup during the build process.

You can find everything in my repo:

A zip file containing the binaries is in the output folder:

Continue reading

Building the dart sdk for armv6 via Docker

Given the rising popularity of Flutter I wanted to play around with the underlying language and it’s sdk, Dart.

More specifically I wanted to use Dart on my Raspberry Pi Zero.

The official binaries of Dart VM / SDK support only ArmV7 which means Raspberry Pi 2 onward, as the Zero is ArmV6.

In the Dart Github there are some instructions on how to build the sdk, also for the Raspberry Pi 1, but those instructions seems to be outdated and they doesn’t cover my preferred Linux distribution, Archlinux.

Continue reading