Skip to content

Custom musl crossmake builds for qbittorrent nox static build targets

License

Notifications You must be signed in to change notification settings

userdocs/qbt-musl-cross-make

Repository files navigation

qbt-musl-cross-make

🔵 This project uses a modified version of musl-cross-make

Build Info

Custom builds of musl-cross-make that sync with Alpine OS Linux target architecture configurations.

aarch64-linux-musl="--with-arch=armv8-a --with-abi=lp64"
arm-linux-musleabi="--with-arch=armv5te --with-tune=arm926ej-s --with-float=soft --with-abi=aapcs-linux"
arm-linux-musleabihf="--with-arch=armv6kz --with-tune=arm1176jzf-s --with-fpu=vfpv2 --with-float=hard --with-abi=aapcs-linux"
armv6-linux-musleabihf="--with-arch=armv6kz --with-tune=arm1176jzf-s --with-fpu=vfpv2 --with-float=hard --with-abi=aapcs-linux"
armv7l-linux-musleabihf="--with-arch=armv7-a --with-tune=generic-armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-abi=aapcs-linux --with-mode=thumb"
i686-linux-musl="--with-arch=pentium-m --with-fpmath=sse --with-tune=generic --enable-cld"
x86_64-linux-musl="--with-arch=x86-64 --with-tune=generic"
mips-linux-musl="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32"
mipsel-linux-musl="--with-arch=mips32 --with-mips-plt --with-float=soft --with-abi=32"
mips64-linux-musl="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64"
mips64el-linux-musl="--with-arch=mips3 --with-tune=mips64 --with-mips-plt --with-float=soft --with-abi=64"
powerpc-linux-musl="--enable-secureplt --enable-decimal-float=no"
powerpc64le-linux-musl="--with-abi=elfv2 --enable-secureplt --enable-decimal-float=no --enable-targets=powerpcle-linux"
s390x-linux-musl="--with-arch=z196 --with-tune=zEC12 --with-zarch --with-long-double-128 --enable-decimal-float"
riscv64-linux-musl="--with-arch=rv64gc --with-abi=lp64d --enable-autolink-libatomic"

Download

You can use this URL to always get the latest release:

https://github.com/userdocs/qbt-musl-cross-make/releases/latest/download/

By appending the desired target:

aarch64-linux-musl.tar.xz
arm-linux-musleabi.tar.xz
arm-linux-musleabihf.tar.xz
armv6-linux-musleabihf.tar.xz
armv7l-linux-musleabihf.tar.xz
i686-linux-musl.tar.xz
mips-linux-musl.tar.xz
mips64-linux-musl.tar.xz
mips64el-linux-musl.tar.xz
mipsel-linux-musl.tar.xz
powerpc-linux-musl.tar.xz
powerpc64le-linux-musl.tar.xz
riscv64-linux-musl.tar.xz
s390x-linux-musl.tar.xz
x86_64-linux-musl.tar.xz

For example, for x86_64:

https://github.com/userdocs/qbt-musl-cross-make/releases/latest/download/x86_64-linux-musl.tar.xz

Docker

There are docker images of the toolchains here <ghcr.io/userdocs/qbt-musl-cross-make>

Tags are the toolset names.

docker pull ghcr.io/userdocs/qbt-musl-cross-make:tagname

For example:

 docker pull ghcr.io/userdocs/qbt-musl-cross-make:aarch64-linux-musl

Configuration

The build configuration is defined in the config.mak file here

The versions configuration is defined in the versions.mak file here

The triples configuration is defined in the triples.json file here