tl;dr cfltk musl bundles for fltk-rs, built on Alpine Linux.
This is a set of pre-built libraries for cfltk targetting musl libc for Alpine Linux.
- By default there are only
cfltk
bundles available for systems with glibc. - With this project pre-built libraries are generated on Alpine Linux (
musl
flavor).
This will allow building musl
binaries of the entrusted document sanitizer application for amd64/x86_64 and arm64/aarch64.
entrusted
binaries for musl will be generated from an Alpine Linux
container image.
Note that this is only for musl-based systems (more specifically Alpine Linux for the initial use-case).
At the root of your fltk-rs
rust project, please issue the following command:
CFLTK_BUNDLE_URL='https://github.com/yveszoundi/cfltk-alpine-musl-bundle/releases/download/1.4.13/lib_x86_64-alpine-linux-musl.tar.gz' cargo build
At the root of your fltk-rs
rust project, please issue the following command:
CFLTK_BUNDLE_URL='https://github.com/yveszoundi/cfltk-alpine-musl-bundle/releases/download/1.4.13/lib_aarch64-alpine-linux-musl.tar.gz' cargo build
Please visit the releases page for downloads (64-bit: amd64/x86_64 and arm64/aarch64).
Release artifacts are named using default naming conventions expected by fltk-rs
.
There’s a GitHub Actions workflow definition at ./.github/workflows/build.yml.
- You should be able to run the same commands in an Alpine Linux container using
podman
ordocker
. - For arm64, the
cmake
--parallel
flag is not specified because it creates timeouts on GitHub Actions (build interrupted abruptly withagent disconnected
error messages).