From 58b529eb34244d74f7162e5e4634b6574d07d959 Mon Sep 17 00:00:00 2001 From: Jens Reidel Date: Wed, 1 Oct 2025 17:23:36 +0200 Subject: [PATCH] main/gcc{4,6}: disable on ppc64le and loongarch64 Neither ppc64le nor loongarch64 use vendor kernels, so the old GCCs packages are not required. They currently don't build either because of a couple of problems when building with GCC 15. If we really want to, ppc64le can be re-enabled once those problems are resolved, since it is supported since GCC 4.9. loongarch64 needs a much newer GCC. [ci:skip-vercheck] Signed-off-by: Jens Reidel Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7117 [ci:skip-build]: just disabling some arches --- main/gcc4/APKBUILD | 5 ++++- main/gcc6/APKBUILD | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/main/gcc4/APKBUILD b/main/gcc4/APKBUILD index 2a70fd5ce..7876e7d50 100644 --- a/main/gcc4/APKBUILD +++ b/main/gcc4/APKBUILD @@ -4,7 +4,10 @@ _pkgver=4.9.2 pkgrel=7 pkgdesc="Old GCC for old vendor kernels (C compiler only)" url="http://gcc.gnu.org" -arch="all !riscv64" # riscv64: doesn't build +# loongarch64: not relevant +# ppc64le: not relevant +# riscv64: doesn't build +arch="all !loongarch64 !ppc64le !riscv64" license="GPL LGPL" _gccrel=$_pkgver-r$pkgrel depends="binutils mpc1" diff --git a/main/gcc6/APKBUILD b/main/gcc6/APKBUILD index 04853d6b9..b978e014b 100644 --- a/main/gcc6/APKBUILD +++ b/main/gcc6/APKBUILD @@ -4,7 +4,10 @@ _pkgver=6.4.0 pkgrel=12 pkgdesc="Old GCC for old vendor kernels (C compiler only)" url="http://gcc.gnu.org" -arch="all !riscv64" # riscv64: doesn't build +# loongarch64: not relevant +# ppc64le: not relevant +# riscv64: doesn't build +arch="all !loongarch64 !ppc64le !riscv64" license="GPL LGPL" _gccrel=$_pkgver-r$pkgrel depends="binutils mpc1"