community/R: enable on loongarch64

This commit is contained in:
znley 2024-07-30 02:50:14 +00:00 committed by J0WI
parent 161564a1aa
commit 8b128b076b

View File

@ -8,7 +8,7 @@ pkgdesc="Language and environment for statistical computing"
url="https://www.r-project.org/"
# riscv64: blocked by java-jre-headless
# loongarch64: test failure
arch="all !riscv64 !loongarch64"
arch="all !riscv64"
license="( GPL-2.0-only OR GPL-3.0-only ) AND LGPL-2.1-or-later"
depends="$pkgname-mathlib"
depends_dev="
@ -92,9 +92,9 @@ check() {
case "$CARCH" in
# A (non-portable) numerical regression test currently (R 4.4.0)
# fails on the aarch64 and s390x runners.
# fails on the aarch64, loongarch64 and s390x runners.
# Run at least two basic test suites:
aarch64 | s390x)
aarch64 | s390x | loongarch64)
make -C tests test-Examples && make -C tests test-Specific || {
tail -v -n 42 tests/*.fail; exit 1
}