cross*: drop the cross_triplet and _triplet variables

This commit is contained in:
q66 2021-03-15 23:26:05 +01:00
parent 01abcee616
commit 1088eba15b
26 changed files with 135 additions and 182 deletions

View file

@ -976,9 +976,9 @@ via `make_install_target`.
via `configure_args`, the meson command can be overridden by `meson_cmd` and the location of via `configure_args`, the meson command can be overridden by `meson_cmd` and the location of
the out of source build by `meson_builddir` the out of source build by `meson_builddir`
- `void-cross` For cross-toolchain packages used to build Void systems. You will need to - `void-cross` For cross-toolchain packages used to build Void systems. There are no
specify `cross_triplet` (corresponds to the target triplet specified in the cross profile mandatory variables (target triplet is inferred), but you can specify some optional
for the target arch). Optionally, `cross_gcc_skip_go` can be specified. Individual subproject ones - `cross_gcc_skip_go` can be specified to skip `gccgo`, individual subproject
configure arguments can be specified via `cross_*_configure_args` where `*` is `binutils`, configure arguments can be specified via `cross_*_configure_args` where `*` is `binutils`,
`gcc_bootstrap` (early gcc), `gcc` (final gcc), `glibc` (or `musl`), `configure_args` is `gcc_bootstrap` (early gcc), `gcc` (final gcc), `glibc` (or `musl`), `configure_args` is
additionally passed to both early and final `gcc`. You can also specify custom `CFLAGS` additionally passed to both early and final `gcc`. You can also specify custom `CFLAGS`

View file

@ -1,10 +1,6 @@
# #
# This helper is for void system crosstoolchain templates. # This helper is for void system crosstoolchain templates.
# #
# Mandatory variables:
#
# - cross_triplet - the target triplet (e.g. aarch64-linux-gnu)
#
# Optional variables: # Optional variables:
# #
# - cross_gcc_skip_go - do not build gccgo support # - cross_gcc_skip_go - do not build gccgo support
@ -34,9 +30,10 @@ _void_cross_apply_patch() {
_void_cross_build_binutils() { _void_cross_build_binutils() {
[ -f ${wrksrc}/.binutils_done ] && return 0 [ -f ${wrksrc}/.binutils_done ] && return 0
local ver=$1 local tgt=$1
local ver=$2
msg_normal "Patching binutils for ${cross_triplet}\n" msg_normal "Patching binutils for ${tgt}\n"
cd ${wrksrc}/binutils-${ver} cd ${wrksrc}/binutils-${ver}
if [ -d "${XBPS_SRCPKGDIR}/binutils/patches" ]; then if [ -d "${XBPS_SRCPKGDIR}/binutils/patches" ]; then
@ -46,7 +43,7 @@ _void_cross_build_binutils() {
fi fi
cd .. cd ..
msg_normal "Building binutils for ${cross_triplet}\n" msg_normal "Building binutils for ${tgt}\n"
mkdir -p ${wrksrc}/binutils_build mkdir -p ${wrksrc}/binutils_build
cd ${wrksrc}/binutils_build cd ${wrksrc}/binutils_build
@ -56,8 +53,8 @@ _void_cross_build_binutils() {
--sbindir=/usr/bin \ --sbindir=/usr/bin \
--libdir=/usr/lib \ --libdir=/usr/lib \
--libexecdir=/usr/lib \ --libexecdir=/usr/lib \
--target=${cross_triplet} \ --target=${tgt} \
--with-sysroot=/usr/${cross_triplet} \ --with-sysroot=/usr/${tgt} \
--disable-nls \ --disable-nls \
--disable-shared \ --disable-shared \
--disable-multilib \ --disable-multilib \
@ -84,9 +81,10 @@ _void_cross_build_binutils() {
_void_cross_build_bootstrap_gcc() { _void_cross_build_bootstrap_gcc() {
[ -f ${wrksrc}/.gcc_bootstrap_done ] && return 0 [ -f ${wrksrc}/.gcc_bootstrap_done ] && return 0
local ver=$1 local tgt=$1
local ver=$2
msg_normal "Patching GCC for ${cross_triplet}\n" msg_normal "Patching GCC for ${tgt}\n"
cd ${wrksrc}/gcc-${ver} cd ${wrksrc}/gcc-${ver}
@ -103,7 +101,7 @@ _void_cross_build_bootstrap_gcc() {
fi fi
cd .. cd ..
msg_normal "Building bootstrap GCC for ${cross_triplet}\n" msg_normal "Building bootstrap GCC for ${tgt}\n"
mkdir -p gcc_bootstrap mkdir -p gcc_bootstrap
cd gcc_bootstrap cd gcc_bootstrap
@ -122,7 +120,7 @@ _void_cross_build_bootstrap_gcc() {
--sbindir=/usr/bin \ --sbindir=/usr/bin \
--libdir=/usr/lib \ --libdir=/usr/lib \
--libexecdir=/usr/lib \ --libexecdir=/usr/lib \
--target=${cross_triplet} \ --target=${tgt} \
--disable-nls \ --disable-nls \
--disable-multilib \ --disable-multilib \
--disable-shared \ --disable-shared \
@ -146,7 +144,7 @@ _void_cross_build_bootstrap_gcc() {
make ${makejobs} make ${makejobs}
make install DESTDIR=${wrksrc}/build_root make install DESTDIR=${wrksrc}/build_root
local ptrs=$(${cross_triplet}-gcc -dM -E - < /dev/null | \ local ptrs=$(${tgt}-gcc -dM -E - < /dev/null | \
grep __SIZEOF_POINTER__) grep __SIZEOF_POINTER__)
local ws=${ptrs##* } local ws=${ptrs##* }
@ -162,10 +160,11 @@ _void_cross_build_bootstrap_gcc() {
_void_cross_build_kernel_headers() { _void_cross_build_kernel_headers() {
[ -f ${wrksrc}/.linux_headers_done ] && return 0 [ -f ${wrksrc}/.linux_headers_done ] && return 0
local ver=$1 local tgt=$1
local ver=$2
local arch local arch
msg_normal "Patching Linux headers for ${cross_triplet}\n" msg_normal "Patching Linux headers for ${tgt}\n"
cd ${wrksrc}/linux-${ver} cd ${wrksrc}/linux-${ver}
for f in ${XBPS_SRCPKGDIR}/kernel-libc-headers/patches/*.patch; do for f in ${XBPS_SRCPKGDIR}/kernel-libc-headers/patches/*.patch; do
@ -173,11 +172,11 @@ _void_cross_build_kernel_headers() {
done done
cd .. cd ..
msg_normal "Building Linux headers for ${cross_triplet}\n" msg_normal "Building Linux headers for ${tgt}\n"
cd linux-${ver} cd linux-${ver}
case "$cross_triplet" in case "$tgt" in
x86_64*|i686*) arch=x86 ;; x86_64*|i686*) arch=x86 ;;
powerpc*) arch=powerpc ;; powerpc*) arch=powerpc ;;
mips*) arch=mips ;; mips*) arch=mips ;;
@ -185,14 +184,14 @@ _void_cross_build_kernel_headers() {
arm*) arch=arm ;; arm*) arch=arm ;;
riscv*) arch=riscv ;; riscv*) arch=riscv ;;
s390*) arch=s390 ;; s390*) arch=s390 ;;
*) msg_error "Unknown Linux arch for ${cross_triplet}\n" ;; *) msg_error "Unknown Linux arch for ${tgt}\n" ;;
esac esac
make ARCH=${arch} headers make ARCH=${arch} headers
find usr/include -name '.*' -delete find usr/include -name '.*' -delete
rm usr/include/Makefile rm usr/include/Makefile
rm -r usr/include/drm rm -r usr/include/drm
cp -a usr/include ${wrksrc}/build_root/usr/${cross_triplet}/usr cp -a usr/include ${wrksrc}/build_root/usr/${tgt}/usr
touch ${wrksrc}/.linux_headers_done touch ${wrksrc}/.linux_headers_done
} }
@ -200,10 +199,10 @@ _void_cross_build_kernel_headers() {
_void_cross_build_glibc_headers() { _void_cross_build_glibc_headers() {
[ -f ${wrksrc}/.glibc_headers_done ] && return 0 [ -f ${wrksrc}/.glibc_headers_done ] && return 0
local ver=$1 local tgt=$1
local tgt=$cross_triplet local ver=$2
msg_normal "Patching glibc for ${cross_triplet}\n" msg_normal "Patching glibc for ${tgt}\n"
cd ${wrksrc}/glibc-${ver} cd ${wrksrc}/glibc-${ver}
if [ -d "${XBPS_SRCPKGDIR}/glibc/patches" ]; then if [ -d "${XBPS_SRCPKGDIR}/glibc/patches" ]; then
@ -213,7 +212,7 @@ _void_cross_build_glibc_headers() {
fi fi
cd .. cd ..
msg_normal "Building glibc headers for ${cross_triplet}\n" msg_normal "Building glibc headers for ${tgt}\n"
mkdir -p glibc_headers mkdir -p glibc_headers
cd glibc_headers cd glibc_headers
@ -242,8 +241,8 @@ _void_cross_build_glibc_headers() {
_void_cross_build_glibc() { _void_cross_build_glibc() {
[ -f ${wrksrc}/.glibc_build_done ] && return 0 [ -f ${wrksrc}/.glibc_build_done ] && return 0
local ver=$1 local tgt=$1
local tgt=$cross_triplet local ver=$2
msg_normal "Building glibc for ${tgt}\n" msg_normal "Building glibc for ${tgt}\n"
@ -284,8 +283,8 @@ _void_cross_build_glibc() {
_void_cross_build_musl() { _void_cross_build_musl() {
[ -f ${wrksrc}/.musl_build_done ] && return 0 [ -f ${wrksrc}/.musl_build_done ] && return 0
local ver=$1 local tgt=$1
local tgt=$cross_triplet local ver=$2
msg_normal "Patching musl for ${tgt}\n" msg_normal "Patching musl for ${tgt}\n"
@ -321,12 +320,13 @@ _void_cross_build_libucontext() {
[ -n "$cross_gcc_skip_go" ] && return 0 [ -n "$cross_gcc_skip_go" ] && return 0
[ -f ${wrksrc}/.libucontext_build_done ] && return 0 [ -f ${wrksrc}/.libucontext_build_done ] && return 0
local ver=$1 local tgt=$1
local ver=$2
local arch incpath local arch incpath
msg_normal "Building libucontext for ${cross_triplet}\n" msg_normal "Building libucontext for ${tgt}\n"
case "$cross_triplet" in case "$tgt" in
x86_64*) arch=x86_64 ;; x86_64*) arch=x86_64 ;;
i686*) arch=x86 ;; i686*) arch=x86 ;;
powerpc64*) arch=ppc64 ;; powerpc64*) arch=ppc64 ;;
@ -337,7 +337,7 @@ _void_cross_build_libucontext() {
arm*) arch=arm ;; arm*) arch=arm ;;
riscv64*) arch=riscv64 ;; riscv64*) arch=riscv64 ;;
s390x*) arch=s390x ;; s390x*) arch=s390x ;;
*) msg_error "Unknown libucontext arch for ${cross_triplet}\n" ;; *) msg_error "Unknown libucontext arch for ${tgt}\n" ;;
esac esac
cd ${wrksrc}/libucontext-${ver} cd ${wrksrc}/libucontext-${ver}
@ -345,12 +345,12 @@ _void_cross_build_libucontext() {
# we build a static-only library to prevent linking to a runtime # we build a static-only library to prevent linking to a runtime
# since it's tiny it can be linked into libgo and we don't have # since it's tiny it can be linked into libgo and we don't have
# to keep it around (which would possibly conflict with crossdeps) # to keep it around (which would possibly conflict with crossdeps)
incpath="${wrksrc}/build_root/usr/${cross_triplet}/usr/include" incpath="${wrksrc}/build_root/usr/${tgt}/usr/include"
CC="${cross_triplet}-gcc" AS="${cross_triplet}-as" AR="${cross_triplet}-ar" \ CC="${tgt}-gcc" AS="${tgt}-as" AR="${tgt}-ar" \
make ARCH=$arch libucontext.a \ make ARCH=$arch libucontext.a \
CFLAGS="${cross_musl_cflags} -g0 -nostdinc -isystem ${incpath}" CFLAGS="${cross_musl_cflags} -g0 -nostdinc -isystem ${incpath}"
cp libucontext.a ${wrksrc}/build_root/usr/${cross_triplet}/usr/lib cp libucontext.a ${wrksrc}/build_root/usr/${tgt}/usr/lib
touch ${wrksrc}/.libucontext_build_done touch ${wrksrc}/.libucontext_build_done
} }
@ -358,9 +358,10 @@ _void_cross_build_libucontext() {
_void_cross_build_gcc() { _void_cross_build_gcc() {
[ -f ${wrksrc}/.gcc_build_done ] && return 0 [ -f ${wrksrc}/.gcc_build_done ] && return 0
local ver=$1 local tgt=$1
local ver=$2
msg_normal "Building gcc for ${cross_triplet}\n" msg_normal "Building gcc for ${tgt}\n"
mkdir -p ${wrksrc}/gcc_build mkdir -p ${wrksrc}/gcc_build
cd ${wrksrc}/gcc_build cd ${wrksrc}/gcc_build
@ -396,9 +397,9 @@ _void_cross_build_gcc() {
--sbindir=/usr/bin \ --sbindir=/usr/bin \
--libdir=/usr/lib \ --libdir=/usr/lib \
--libexecdir=/usr/lib \ --libexecdir=/usr/lib \
--target=${cross_triplet} \ --target=${tgt} \
--with-sysroot=/usr/${cross_triplet} \ --with-sysroot=/usr/${tgt} \
--with-build-sysroot=${wrksrc}/build_root/usr/${cross_triplet} \ --with-build-sysroot=${wrksrc}/build_root/usr/${tgt} \
--enable-languages=${langs} \ --enable-languages=${langs} \
--disable-nls \ --disable-nls \
--disable-multilib \ --disable-multilib \
@ -455,6 +456,7 @@ do_build() {
cd ${wrksrc} cd ${wrksrc}
local binutils_ver linux_ver gcc_ver libc_ver libucontext_ver local binutils_ver linux_ver gcc_ver libc_ver libucontext_ver
local tgt=${sourcepkg/cross-}
_void_cross_test_ver binutils _void_cross_test_ver binutils
_void_cross_test_ver linux _void_cross_test_ver linux
@ -476,16 +478,14 @@ do_build() {
fi fi
fi fi
[ "${cross_triplet}" ] || msg_error "cross_triplet not defined in template\n" local sysroot="/usr/${tgt}"
local sysroot="/usr/${cross_triplet}"
# Prepare environment # Prepare environment
cd ${wrksrc} cd ${wrksrc}
# Core directories for the build root # Core directories for the build root
mkdir -p build_root/usr/{bin,lib,include,share} mkdir -p build_root/usr/{bin,lib,include,share}
mkdir -p build_root/usr/${cross_triplet}/usr/{bin,lib,include,share} mkdir -p build_root/usr/${tgt}/usr/{bin,lib,include,share}
# Host root uses host wordsize # Host root uses host wordsize
ln -sf usr/lib build_root/lib ln -sf usr/lib build_root/lib
@ -496,7 +496,7 @@ do_build() {
ln -sf usr/lib build_root/${sysroot}/lib ln -sf usr/lib build_root/${sysroot}/lib
ln -sf lib build_root/${sysroot}/usr/libexec ln -sf lib build_root/${sysroot}/usr/libexec
_void_cross_build_binutils ${binutils_ver} _void_cross_build_binutils ${tgt} ${binutils_ver}
# Prepare environment so we can use temporary prefix # Prepare environment so we can use temporary prefix
local oldpath="$PATH" local oldpath="$PATH"
@ -505,8 +505,8 @@ do_build() {
export PATH="${wrksrc}/build_root/usr/bin:$PATH" export PATH="${wrksrc}/build_root/usr/bin:$PATH"
export LD_LIBRARY_PATH="${wrksrc}/build_root/usr/lib:$PATH" export LD_LIBRARY_PATH="${wrksrc}/build_root/usr/lib:$PATH"
_void_cross_build_bootstrap_gcc ${gcc_ver} _void_cross_build_bootstrap_gcc ${tgt} ${gcc_ver}
_void_cross_build_kernel_headers ${linux_ver} _void_cross_build_kernel_headers ${tgt} ${linux_ver}
local ws=$(cat ${wrksrc}/.gcc_wordsize) local ws=$(cat ${wrksrc}/.gcc_wordsize)
@ -515,14 +515,14 @@ do_build() {
ln -sf lib ${wrksrc}/build_root/${sysroot}/usr/lib${ws} ln -sf lib ${wrksrc}/build_root/${sysroot}/usr/lib${ws}
if [ -f ${wrksrc}/.musl_version ]; then if [ -f ${wrksrc}/.musl_version ]; then
_void_cross_build_musl ${libc_ver} _void_cross_build_musl ${tgt} ${libc_ver}
_void_cross_build_libucontext ${libucontext_ver} _void_cross_build_libucontext ${tgt} ${libucontext_ver}
else else
_void_cross_build_glibc_headers ${libc_ver} _void_cross_build_glibc_headers ${tgt} ${libc_ver}
_void_cross_build_glibc ${libc_ver} _void_cross_build_glibc ${tgt} ${libc_ver}
fi fi
_void_cross_build_gcc ${gcc_ver} _void_cross_build_gcc ${tgt} ${gcc_ver}
# restore this stuff in case later hooks depend on it # restore this stuff in case later hooks depend on it
export PATH="$oldpath" export PATH="$oldpath"
@ -536,7 +536,8 @@ do_install() {
export PATH="${wrksrc}/build_root/usr/bin:$PATH" export PATH="${wrksrc}/build_root/usr/bin:$PATH"
export LD_LIBRARY_PATH="${wrksrc}/build_root/usr/lib:$PATH" export LD_LIBRARY_PATH="${wrksrc}/build_root/usr/lib:$PATH"
local sysroot="/usr/${cross_triplet}" local tgt=${sourcepkg/cross-}
local sysroot="/usr/${tgt}"
local ws=$(cat ${wrksrc}/.gcc_wordsize) local ws=$(cat ${wrksrc}/.gcc_wordsize)
# Core directories for the sysroot # Core directories for the sysroot
@ -578,7 +579,7 @@ do_install() {
make DESTDIR=${DESTDIR}/${sysroot} install make DESTDIR=${DESTDIR}/${sysroot} install
# Remove useless headers # Remove useless headers
rm -rf ${DESTDIR}/usr/lib/gcc/${cross_triplet}/*/include-fixed rm -rf ${DESTDIR}/usr/lib/gcc/${tgt}/*/include-fixed
# Make ld-musl.so symlinks relative # Make ld-musl.so symlinks relative
for f in ${DESTDIR}/${sysroot}/usr/lib/ld-musl-*.so.*; do for f in ${DESTDIR}/${sysroot}/usr/lib/ld-musl-*.so.*; do
@ -590,14 +591,14 @@ do_install() {
make install_root=${DESTDIR}/${sysroot} install install-headers make install_root=${DESTDIR}/${sysroot} install install-headers
# Remove bad header # Remove bad header
rm -f ${DESTDIR}/usr/lib/gcc/${cross_triplet}/${gcc_patch}/include-fixed/bits/statx.h rm -f ${DESTDIR}/usr/lib/gcc/${tgt}/${gcc_patch}/include-fixed/bits/statx.h
fi fi
# minor-versioned symlinks # minor-versioned symlinks
mv ${DESTDIR}/usr/lib/gcc/${cross_triplet}/${gcc_patch} \ mv ${DESTDIR}/usr/lib/gcc/${tgt}/${gcc_patch} \
${DESTDIR}/usr/lib/gcc/${cross_triplet}/${gcc_minor} ${DESTDIR}/usr/lib/gcc/${tgt}/${gcc_minor}
ln -sfr ${DESTDIR}/usr/lib/gcc/${cross_triplet}/${gcc_minor} \ ln -sfr ${DESTDIR}/usr/lib/gcc/${tgt}/${gcc_minor} \
${DESTDIR}/usr/lib/gcc/${cross_triplet}/${gcc_patch} ${DESTDIR}/usr/lib/gcc/${tgt}/${gcc_patch}
# ditto for c++ headers # ditto for c++ headers
mv ${DESTDIR}/${sysroot}/usr/include/c++/${gcc_patch} \ mv ${DESTDIR}/${sysroot}/usr/include/c++/${gcc_patch} \

View file

@ -1,10 +1,9 @@
# Template file for 'cross-aarch64-linux-gnu' # Template file for 'cross-aarch64-linux-gnu'
_triplet=aarch64-linux-gnu
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_glibc_version=2.32 _glibc_version=2.32
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-aarch64-linux-gnu
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -12,7 +11,7 @@ configure_args="--with-arch=armv8-a"
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -27,7 +26,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_glibc_cflags="-O2 -march=armv8-a" cross_glibc_cflags="-O2 -march=armv8-a"
if [ "$XBPS_TARGET_MACHINE" = "aarch64" ]; then if [ "$XBPS_TARGET_MACHINE" = "aarch64" ]; then
@ -46,6 +44,6 @@ cross-aarch64-linux-gnu-libc_package() {
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,11 +1,10 @@
# Template file for 'cross-aarch64-linux-musl' # Template file for 'cross-aarch64-linux-musl'
_triplet=aarch64-linux-musl
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
_libucontext_version=1.0 _libucontext_version=1.0
pkgname=cross-${_triplet} pkgname=cross-aarch64-linux-musl
version=0.34 version=0.34
revision=2 revision=2
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--with-arch=armv8-a"
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -30,7 +29,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb" 23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_musl_cflags="-O2 -march=armv8-a" cross_musl_cflags="-O2 -march=armv8-a"
if [ "$XBPS_TARGET_MACHINE" = "aarch64-musl" ]; then if [ "$XBPS_TARGET_MACHINE" = "aarch64-musl" ]; then
@ -49,6 +47,6 @@ cross-aarch64-linux-musl-libc_package() {
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-arm-linux-gnueabi' # Template file for 'cross-arm-linux-gnueabi'
_triplet=arm-linux-gnueabi
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_glibc_version=2.32 _glibc_version=2.32
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-arm-linux-gnueabi
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -12,7 +11,7 @@ configure_args="--with-arch=armv5te --with-float=soft"
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -27,7 +26,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_binutils_configure_args="--without-fp" cross_binutils_configure_args="--without-fp"
cross_glibc_configure_args="--without-fp" cross_glibc_configure_args="--without-fp"
cross_glibc_cflags="-Os -march=armv5te -msoft-float -mfloat-abi=soft" cross_glibc_cflags="-Os -march=armv5te -msoft-float -mfloat-abi=soft"
@ -48,6 +46,6 @@ cross-arm-linux-gnueabi-libc_package() {
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-arm-linux-gnueabihf' # Template file for 'cross-arm-linux-gnueabihf'
_triplet=arm-linux-gnueabihf
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_glibc_version=2.32 _glibc_version=2.32
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-arm-linux-gnueabihf
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -12,7 +11,7 @@ configure_args="--with-arch=armv6 --with-fpu=vfp --with-float=hard"
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -27,7 +26,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_glibc_cflags="-Os -march=armv6 -mfpu=vfp -mfloat-abi=hard" cross_glibc_cflags="-Os -march=armv6 -mfpu=vfp -mfloat-abi=hard"
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
@ -46,6 +44,6 @@ cross-arm-linux-gnueabihf-libc_package() {
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,11 +1,10 @@
# Template file for 'cross-arm-linux-musleabi' # Template file for 'cross-arm-linux-musleabi'
_triplet=arm-linux-musleabi
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
_libucontext_version=1.0 _libucontext_version=1.0
pkgname=cross-${_triplet} pkgname=cross-arm-linux-musleabi
version=0.34 version=0.34
revision=2 revision=2
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--with-arch=armv5te --with-float=soft"
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -30,7 +29,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb" 23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_binutils_configure_args="--without-fp" cross_binutils_configure_args="--without-fp"
cross_musl_cflags="-Os -march=armv5te -msoft-float -mfloat-abi=soft" cross_musl_cflags="-Os -march=armv5te -msoft-float -mfloat-abi=soft"
@ -50,6 +48,6 @@ cross-arm-linux-musleabi-libc_package() {
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,11 +1,10 @@
# Template file for 'cross-arm-linux-musleabihf' # Template file for 'cross-arm-linux-musleabihf'
_triplet=arm-linux-musleabihf
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
_libucontext_version=1.0 _libucontext_version=1.0
pkgname=cross-${_triplet} pkgname=cross-arm-linux-musleabihf
version=0.34 version=0.34
revision=2 revision=2
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--with-arch=armv6 --with-fpu=vfp --with-float=hard"
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -30,7 +29,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb" 23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_musl_cflags="-Os -march=armv6 -mfpu=vfp -mfloat-abi=hard" cross_musl_cflags="-Os -march=armv6 -mfpu=vfp -mfloat-abi=hard"
if [ "$XBPS_TARGET_MACHINE" = "armv6l-musl" ]; then if [ "$XBPS_TARGET_MACHINE" = "armv6l-musl" ]; then
@ -49,6 +47,6 @@ cross-arm-linux-musleabihf-libc_package() {
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-armv7l-linux-gnueabihf' # Template file for 'cross-armv7l-linux-gnueabihf'
_triplet=armv7l-linux-gnueabihf
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_glibc_version=2.32 _glibc_version=2.32
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-armv7l-linux-gnueabihf
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -12,7 +11,7 @@ configure_args="--with-arch=armv7-a --with-fpu=vfpv3 --with-float=hard"
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -27,7 +26,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_glibc_cflags="-O2 -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard" cross_glibc_cflags="-O2 -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
if [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then if [ "$XBPS_TARGET_MACHINE" = "armv7l" ]; then
@ -46,6 +44,6 @@ cross-armv7l-linux-gnueabihf-libc_package() {
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,11 +1,10 @@
# Template file for 'cross-armv7l-linux-musleabihf' # Template file for 'cross-armv7l-linux-musleabihf'
_triplet=armv7l-linux-musleabihf
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
_libucontext_version=1.0 _libucontext_version=1.0
pkgname=cross-${_triplet} pkgname=cross-armv7l-linux-musleabihf
version=0.34 version=0.34
revision=2 revision=2
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--with-arch=armv7-a --with-fpu=vfpv3 --with-float=hard"
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -30,7 +29,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb" 23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_musl_cflags="-O2 -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard" cross_musl_cflags="-O2 -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"
if [ "$XBPS_TARGET_MACHINE" = "armv7l-musl" ]; then if [ "$XBPS_TARGET_MACHINE" = "armv7l-musl" ]; then
@ -49,6 +47,6 @@ cross-armv7l-linux-musleabihf-libc_package() {
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,18 +1,17 @@
# Template file for 'cross-i686-linux-musl' # Template file for 'cross-i686-linux-musl'
_triplet=i686-linux-musl
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
_libucontext_version=1.0 _libucontext_version=1.0
pkgname=cross-${_triplet} pkgname=cross-i686-linux-musl
version=0.34 version=0.34
revision=2 revision=2
build_style=void-cross build_style=void-cross
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>" maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -29,7 +28,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb" 23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb"
nocross=yes nocross=yes
cross_triplet=${_triplet}
# explicitly enable for final gcc, as gfortran does not build without on x86 # explicitly enable for final gcc, as gfortran does not build without on x86
cross_gcc_configure_args="--enable-libquadmath" cross_gcc_configure_args="--enable-libquadmath"
cross_musl_cflags="-O2 -march=i686 -mtune=generic" cross_musl_cflags="-O2 -march=i686 -mtune=generic"
@ -50,6 +48,6 @@ cross-i686-linux-musl-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,17 +1,16 @@
# Template file for 'cross-i686-pc-linux-gnu' # Template file for 'cross-i686-pc-linux-gnu'
_triplet=i686-pc-linux-gnu
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_glibc_version=2.32 _glibc_version=2.32
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-i686-pc-linux-gnu
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>" maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -26,7 +25,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
# explicitly enable for final gcc, as gfortran does not build without on x86 # explicitly enable for final gcc, as gfortran does not build without on x86
cross_gcc_configure_args="--enable-libquadmath" cross_gcc_configure_args="--enable-libquadmath"
cross_glibc_cflags="-O2 -Wno-error -march=i686 -mtune=generic" cross_glibc_cflags="-O2 -Wno-error -march=i686 -mtune=generic"
@ -47,6 +45,6 @@ cross-i686-pc-linux-gnu-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-mips-linux-musl' # Template file for 'cross-mips-linux-musl'
_triplet=mips-linux-musl
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-mips-linux-musl
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--with-arch=mips32r2 --with-float=soft
hostmakedepends="texinfo tar gcc-objc flex perl python3" hostmakedepends="texinfo tar gcc-objc flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -28,7 +27,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_gcc_skip_go=yes cross_gcc_skip_go=yes
cross_binutils_configure_args="--without-fp --enable-default-hash-style=sysv" cross_binutils_configure_args="--without-fp --enable-default-hash-style=sysv"
cross_musl_cflags="-Os -march=mips32r2 -msoft-float" cross_musl_cflags="-Os -march=mips32r2 -msoft-float"
@ -40,6 +38,6 @@ cross-mips-linux-musl-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-mips-linux-muslhf' # Template file for 'cross-mips-linux-muslhf'
_triplet=mips-linux-muslhf
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-mips-linux-muslhf
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--with-arch=mips32r2 --with-float=hard
hostmakedepends="texinfo tar gcc-objc flex perl python3" hostmakedepends="texinfo tar gcc-objc flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="hipperson0 <hipperson0@gmail.com>" maintainer="hipperson0 <hipperson0@gmail.com>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -28,7 +27,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_gcc_skip_go=yes cross_gcc_skip_go=yes
cross_binutils_configure_args="--enable-default-hash-style=sysv" cross_binutils_configure_args="--enable-default-hash-style=sysv"
cross_musl_cflags="-Os -march=mips32r2 -mhard-float" cross_musl_cflags="-Os -march=mips32r2 -mhard-float"
@ -40,6 +38,6 @@ cross-mips-linux-muslhf-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-mipsel-linux-musl' # Template file for 'cross-mipsel-linux-musl'
_triplet=mipsel-linux-musl
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-mipsel-linux-musl
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--with-arch=mips32r2 --with-float=soft
hostmakedepends="texinfo tar gcc-objc flex perl python3" hostmakedepends="texinfo tar gcc-objc flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -28,7 +27,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_gcc_skip_go=yes cross_gcc_skip_go=yes
cross_binutils_configure_args="--without-fp --enable-default-hash-style=sysv" cross_binutils_configure_args="--without-fp --enable-default-hash-style=sysv"
cross_musl_cflags="-Os -march=mips32r2 -msoft-float" cross_musl_cflags="-Os -march=mips32r2 -msoft-float"
@ -40,6 +38,6 @@ cross-mipsel-linux-musl-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-mipsel-linux-muslhf' # Template file for 'cross-mipsel-linux-muslhf'
_triplet=mipsel-linux-muslhf
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-mipsel-linux-muslhf
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--with-arch=mips32r2 --with-float=hard
hostmakedepends="texinfo tar gcc-objc flex perl python3" hostmakedepends="texinfo tar gcc-objc flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -28,7 +27,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_gcc_skip_go=yes cross_gcc_skip_go=yes
cross_binutils_configure_args="--enable-default-hash-style=sysv" cross_binutils_configure_args="--enable-default-hash-style=sysv"
cross_musl_cflags="-Os -march=mips32r2 -mhard-float" cross_musl_cflags="-Os -march=mips32r2 -mhard-float"
@ -40,6 +38,6 @@ cross-mipsel-linux-muslhf-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-powerpc-linux-gnu' # Template file for 'cross-powerpc-linux-gnu'
_triplet=powerpc-linux-gnu
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_glibc_version=2.32 _glibc_version=2.32
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-powerpc-linux-gnu
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -12,7 +11,7 @@ configure_args="--enable-secureplt --disable-vtable-verify"
hostmakedepends="texinfo tar gcc-objc flex perl python3" hostmakedepends="texinfo tar gcc-objc flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Thomas Batten <stenstorpmc@gmail.com>" maintainer="Thomas Batten <stenstorpmc@gmail.com>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -27,7 +26,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_gcc_skip_go=yes cross_gcc_skip_go=yes
cross_binutils_configure_args="--enable-secureplt" cross_binutils_configure_args="--enable-secureplt"
cross_gcc_bootstrap_configure_args="--with-long-double-128" cross_gcc_bootstrap_configure_args="--with-long-double-128"
@ -44,6 +42,6 @@ cross-powerpc-linux-gnu-libc_package() {
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-powerpc-linux-musl' # Template file for 'cross-powerpc-linux-musl'
_triplet=powerpc-linux-musl
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-powerpc-linux-musl
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--enable-secureplt --disable-vtable-verify
hostmakedepends="texinfo tar gcc-objc flex perl python3" hostmakedepends="texinfo tar gcc-objc flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Thomas Batten <stenstorpmc@gmail.com>" maintainer="Thomas Batten <stenstorpmc@gmail.com>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -28,7 +27,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_gcc_skip_go=yes cross_gcc_skip_go=yes
cross_binutils_configure_args="--enable-secureplt" cross_binutils_configure_args="--enable-secureplt"
cross_musl_cflags="-O2" cross_musl_cflags="-O2"
@ -44,6 +42,6 @@ cross-powerpc-linux-musl-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-powerpc64-linux-gnu' # Template file for 'cross-powerpc64-linux-gnu'
_triplet=powerpc64-linux-gnu
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_glibc_version=2.32 _glibc_version=2.32
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-powerpc64-linux-gnu
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--enable-secureplt --disable-vtable-verify --with-abi=elfv2
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>" maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -28,7 +27,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_binutils_configure_args="--enable-secureplt" cross_binutils_configure_args="--enable-secureplt"
cross_gcc_bootstrap_configure_args="--with-long-double-128" cross_gcc_bootstrap_configure_args="--with-long-double-128"
cross_glibc_cflags="-O2" cross_glibc_cflags="-O2"
@ -49,6 +47,6 @@ cross-powerpc64-linux-gnu-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,11 +1,10 @@
# Template file for 'cross-powerpc64-linux-musl' # Template file for 'cross-powerpc64-linux-musl'
_triplet=powerpc64-linux-musl
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
_libucontext_version=1.0 _libucontext_version=1.0
pkgname=cross-${_triplet} pkgname=cross-powerpc64-linux-musl
version=0.34 version=0.34
revision=2 revision=2
build_style=void-cross build_style=void-cross
@ -14,7 +13,7 @@ configure_args="--enable-secureplt --disable-vtable-verify
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="q66 <daniel@octaforge.org>" maintainer="q66 <daniel@octaforge.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -31,7 +30,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb" 23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_binutils_configure_args="--enable-secureplt" cross_binutils_configure_args="--enable-secureplt"
cross_musl_cflags="-O2" cross_musl_cflags="-O2"
@ -51,6 +49,6 @@ cross-powerpc64-linux-musl-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-powerpc64le-linux-gnu' # Template file for 'cross-powerpc64le-linux-gnu'
_triplet=powerpc64le-linux-gnu
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_glibc_version=2.32 _glibc_version=2.32
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-powerpc64le-linux-gnu
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--enable-secureplt --disable-vtable-verify --with-abi=elfv2
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="q66 <daniel@octaforge.org>" maintainer="q66 <daniel@octaforge.org>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -28,7 +27,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_binutils_configure_args="--enable-secureplt" cross_binutils_configure_args="--enable-secureplt"
cross_gcc_bootstrap_configure_args="--with-long-double-128" cross_gcc_bootstrap_configure_args="--with-long-double-128"
# explicitly enable for final gcc, gfortran does not build without on ppc64le # explicitly enable for final gcc, gfortran does not build without on ppc64le
@ -51,6 +49,6 @@ cross-powerpc64le-linux-gnu-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,11 +1,10 @@
# Template file for 'cross-powerpc64le-linux-musl' # Template file for 'cross-powerpc64le-linux-musl'
_triplet=powerpc64le-linux-musl
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
_libucontext_version=1.0 _libucontext_version=1.0
pkgname=cross-${_triplet} pkgname=cross-powerpc64le-linux-musl
version=0.34 version=0.34
revision=2 revision=2
build_style=void-cross build_style=void-cross
@ -14,7 +13,7 @@ configure_args="--enable-secureplt --disable-vtable-verify
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="q66 <daniel@octaforge.org>" maintainer="q66 <daniel@octaforge.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -31,7 +30,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb" 23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_binutils_configure_args="--enable-secureplt" cross_binutils_configure_args="--enable-secureplt"
cross_musl_cflags="-O2" cross_musl_cflags="-O2"
@ -51,6 +49,6 @@ cross-powerpc64le-linux-musl-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-powerpcle-linux-gnu' # Template file for 'cross-powerpcle-linux-gnu'
_triplet=powerpcle-linux-gnu
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_glibc_version=2.32 _glibc_version=2.32
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-powerpcle-linux-gnu
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -12,7 +11,7 @@ configure_args="--enable-secureplt --disable-vtable-verify"
hostmakedepends="texinfo tar gcc-objc flex perl python3" hostmakedepends="texinfo tar gcc-objc flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="q66 <daniel@octaforge.org>" maintainer="q66 <daniel@octaforge.org>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -27,7 +26,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_gcc_skip_go=yes cross_gcc_skip_go=yes
cross_binutils_configure_args="--enable-secureplt" cross_binutils_configure_args="--enable-secureplt"
cross_gcc_bootstrap_configure_args="--with-long-double-128" cross_gcc_bootstrap_configure_args="--with-long-double-128"
@ -44,6 +42,6 @@ cross-powerpcle-linux-gnu-libc_package() {
noverifyrdeps=yes noverifyrdeps=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,10 +1,9 @@
# Template file for 'cross-powerpcle-linux-musl' # Template file for 'cross-powerpcle-linux-musl'
_triplet=powerpcle-linux-musl
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-powerpcle-linux-musl
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
@ -13,7 +12,7 @@ configure_args="--enable-secureplt --disable-vtable-verify
hostmakedepends="texinfo tar gcc-objc flex perl python3" hostmakedepends="texinfo tar gcc-objc flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="q66 <daniel@octaforge.org>" maintainer="q66 <daniel@octaforge.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -28,7 +27,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
cross_gcc_skip_go=yes cross_gcc_skip_go=yes
cross_binutils_configure_args="--enable-secureplt" cross_binutils_configure_args="--enable-secureplt"
cross_musl_cflags="-O2" cross_musl_cflags="-O2"
@ -44,6 +42,6 @@ cross-powerpcle-linux-musl-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,17 +1,16 @@
# Template file for 'cross-x86_64-linux-gnu' # Template file for 'cross-x86_64-linux-gnu'
_triplet=x86_64-linux-gnu
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_glibc_version=2.32 _glibc_version=2.32
_linux_version=5.10.4 _linux_version=5.10.4
pkgname=cross-${_triplet} pkgname=cross-x86_64-linux-gnu
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="q66 <daniel@octaforge.org>" maintainer="q66 <daniel@octaforge.org>"
license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
@ -26,7 +25,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec" 904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec"
nocross=yes nocross=yes
cross_triplet=${_triplet}
# explicitly enable for final gcc, gfortran does not build without on x86 # explicitly enable for final gcc, gfortran does not build without on x86
cross_gcc_configure_args="--enable-libquadmath" cross_gcc_configure_args="--enable-libquadmath"
cross_glibc_cflags="-O2" cross_glibc_cflags="-O2"
@ -47,6 +45,6 @@ cross-x86_64-linux-gnu-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }

View file

@ -1,18 +1,17 @@
# Template file for 'cross-x86_64-linux-musl' # Template file for 'cross-x86_64-linux-musl'
_triplet=x86_64-linux-musl
_binutils_version=2.35.1 _binutils_version=2.35.1
_gcc_version=10.2.1_pre1 _gcc_version=10.2.1_pre1
_musl_version=1.1.24 _musl_version=1.1.24
_linux_version=5.10.4 _linux_version=5.10.4
_libucontext_version=1.0 _libucontext_version=1.0
pkgname=cross-${_triplet} pkgname=cross-x86_64-linux-musl
version=0.34 version=0.34
revision=1 revision=1
build_style=void-cross build_style=void-cross
hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3" hostmakedepends="texinfo tar gcc-objc gcc-go flex perl python3"
makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel" makedepends="isl15-devel libmpc-devel zlib-devel gmp-devel mpfr-devel"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
short_desc="Void cross toolchain for ${_triplet}" short_desc="Void cross toolchain for ${pkgname/cross-}"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/" homepage="https://www.voidlinux.org/"
license="GPL-2.0-or-later, GPL-3.0-or-later, MIT" license="GPL-2.0-or-later, GPL-3.0-or-later, MIT"
@ -29,7 +28,6 @@ checksum="3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607
23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb" 23714e99a87f6dea82e8a073c526325161dd65462459820b16a6162be91955bb"
nocross=yes nocross=yes
cross_triplet=${_triplet}
# explicitly enable for final gcc, gfortran does not build without on x86 # explicitly enable for final gcc, gfortran does not build without on x86
cross_gcc_configure_args="--enable-libquadmath" cross_gcc_configure_args="--enable-libquadmath"
cross_musl_cflags="-O2" cross_musl_cflags="-O2"
@ -50,6 +48,6 @@ cross-x86_64-linux-musl-libc_package() {
noshlibprovides=yes noshlibprovides=yes
pkg_install() { pkg_install() {
vmove usr/${cross_triplet} vmove usr/${sourcepkg/cross-}
} }
} }