mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
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:
parent
189fa98d07
commit
35a8094536
@ -8,8 +8,7 @@ url="https://docs.rs/arti/latest/arti/"
|
|||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
# s390x: merlin crate doesn't support big-endian targets
|
# s390x: merlin crate doesn't support big-endian targets
|
||||||
# riscv64: https://gitlab.torproject.org/tpo/core/arti/-/issues/1398
|
# 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 !riscv64 !s390x"
|
||||||
arch="all !loongarch64 !ppc64le !riscv64 !s390x"
|
|
||||||
makedepends="cargo openssl-dev>3 sqlite-dev zstd-dev xz-dev cargo-auditable"
|
makedepends="cargo openssl-dev>3 sqlite-dev zstd-dev xz-dev cargo-auditable"
|
||||||
subpackages="$pkgname-doc"
|
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
|
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() {
|
check() {
|
||||||
|
case $CARCH in
|
||||||
|
loongarch64|ppc64le)
|
||||||
|
# error: failed to run custom build command for `ring v0.16.20`
|
||||||
|
./target/release/arti --version
|
||||||
|
;;
|
||||||
|
*)
|
||||||
cargo test --frozen
|
cargo test --frozen
|
||||||
|
;;
|
||||||
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
Loading…
Reference in New Issue
Block a user