community/arti: re-enable on loongarch64 & ppc64le

but just test the binary, as they seem to fail to build the `ring`
v0.16.20 crate needed for `cargo test`
This commit is contained in:
omni 2024-09-11 11:49:53 +00:00
parent 189fa98d07
commit 35a8094536

View file

@ -8,8 +8,7 @@ url="https://docs.rs/arti/latest/arti/"
license="GPL-3.0-or-later"
# s390x: merlin crate doesn't support big-endian targets
# riscv64: https://gitlab.torproject.org/tpo/core/arti/-/issues/1398
# loongarch64, ppc64le: error: failed to run custom build command for `ring v0.16.20`
arch="all !loongarch64 !ppc64le !riscv64 !s390x"
arch="all !riscv64 !s390x"
makedepends="cargo openssl-dev>3 sqlite-dev zstd-dev xz-dev cargo-auditable"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://gitlab.torproject.org/tpo/core/arti/-/archive/arti-v$pkgver/arti-arti-v$pkgver.tar.gz
@ -44,7 +43,15 @@ build() {
}
check() {
cargo test --frozen
case $CARCH in
loongarch64|ppc64le)
# error: failed to run custom build command for `ring v0.16.20`
./target/release/arti --version
;;
*)
cargo test --frozen
;;
esac
}
package() {