Skip to content

Latest commit

 

History

History
58 lines (33 loc) · 3.07 KB

README.org

File metadata and controls

58 lines (33 loc) · 3.07 KB

README

http://img.shields.io/badge/license-GNU%20GPLv3-blue.svg https://github.com/yveszoundi/cfltk-alpine-musl-bundle/actions/workflows/build.yml/badge.svg

tl;dr cfltk musl bundles for fltk-rs, built on Alpine Linux.

What is this?

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).

How to use this?

What is the main use-case?

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.

How to integrate with an fltk-rs project?

Note that this is only for musl-based systems (more specifically Alpine Linux for the initial use-case).

On Alpine x86_64

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

On Alpine aarch64

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

What is available?

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.

How to build this?

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 or docker.
  • For arm64, the cmake --parallel flag is not specified because it creates timeouts on GitHub Actions (build interrupted abruptly with agent disconnected error messages).

Where can I read more about this?