Skip to content
altstrument

ansible-role-bela-gem-xc

Tool for Bela / Bela Mini / Bela Gem (Bela)

Ansible role that cross-compiles Bela Gem projects in an arm64 Debian 12 podman container on a workstation and uploads the binary to the board.

by Martin Minovski

ActiveSource: openGPL-3.0-only
Bela Gem Stereo and Bela Gem Multi boards side by side, black PCBs with the bela GEM logo, header rows, a USB-A port and 3.5 mm jacks, the Multi with jacks along both edges
Photo: Bela, manufacturer product image, via bela.io
Distribution
Build from source yourself
Requires stock
Bela Gem image v1.0.0 or later
License notes
LICENSE file is the GPL version 3; no later-version clause found in it or the readme.
Source
github.com https://github.com/martin-minovski/ansible-role-bela-gem-xc

Description

The role copies the Bela tree and a few libraries from the board into a local sysroot, builds a Debian 12 compiler container, compiles each listed project against the chosen Bela libraries and uploads the result over SSH. Options cover uploading project resources, running Faust code with a libfaust runtime on the board and a systemd unit that starts a project at boot. The readme says it was tested with Bela Gem image v1.0.0 and that it builds on TheTechnobear's xcBela cross-compilation scripts.

Install notes

Add the role to an Ansible playbook on a workstation with ansible-core, podman and SSH access to the board. It installs only compiled binaries, libraries and an optional systemd unit on the board. A broken setup is fixed by removing those files or writing a fresh image to the card.

Version history

ansible-role-bela-gem-xc version history
VersionDateNotes
main @ c4746bd2026-08-08
No tagged releases; this is the latest commit.

Back to Bela / Bela Mini / Bela Gem