tree: 66332d8849d93103c59ff3f6aba461c24953af38 [path history] [tgz]
  1. install-sysroot.sh
  2. README.md
build/linux/alpine_sysroot_scripts/README.md

Alpine Linux Sysroots

This directory contains a script for community contributed alpine linux sysroot support.

On Alpine Linux, run the script directly:

./build/linux/alpine_sysroot_scripts/install-sysroot.sh

By default, the script installs sysroots for the following architectures:

  • aarch64
  • armv7
  • x86_64
  • x86

To install sysroots for specific architectures, you can run:

./build/linux/alpine_sysroot_scripts/install-sysroot.sh aarch64 riscv64 x86_64 ...

On other linux systems, you can run the script with Alpine Linux container:

docker container run --rm \
                     --volume "$PWD:$PWD" \
                     --workdir "$PWD" \
                     docker.io/library/alpine \
                     ./build/linux/alpine_sysroot_scripts/install-sysroot.sh