From a6fe85206dd814927cbec6c96580601a8368005f Mon Sep 17 00:00:00 2001
From: DWwanghao <wanghao03@loongson.cn>
Date: Sat, 4 Jan 2025 11:32:41 +0800
Subject: [PATCH] testing/*: enable on loongarch64

---
 testing/boa-cli/APKBUILD               | 3 +--
 testing/turn-rs/APKBUILD               | 2 +-
 testing/waifu2x-converter-cpp/APKBUILD | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/testing/boa-cli/APKBUILD b/testing/boa-cli/APKBUILD
index c9b95befac58..34a221cf1de4 100644
--- a/testing/boa-cli/APKBUILD
+++ b/testing/boa-cli/APKBUILD
@@ -8,8 +8,7 @@ url="https://github.com/boa-dev/boa/"
 # 32-bit: failing tests
 # ppc64le: corosensei crate
 # s390x: nix crate
-# loongarch64: blocked by libc crate
-arch="all !armhf !armv7 !x86 !ppc64le !s390x !loongarch64"
+arch="all !armhf !armv7 !x86 !ppc64le !s390x"
 license="MIT OR Unlicense"
 makedepends="cargo cargo-auditable"
 checkdepends="openssl-dev"
diff --git a/testing/turn-rs/APKBUILD b/testing/turn-rs/APKBUILD
index 46febe2a424d..1152e5ee2349 100644
--- a/testing/turn-rs/APKBUILD
+++ b/testing/turn-rs/APKBUILD
@@ -5,7 +5,7 @@ pkgver=3.3.3
 pkgrel=0
 pkgdesc="A pure rust implemented turn server"
 url="https://github.com/mycrl/turn-rs"
-arch="all !loongarch64" # loongarch64: blocked by libc crate
+arch="all"
 license="GPL-3.0-only"
 makedepends="
 	cargo
diff --git a/testing/waifu2x-converter-cpp/APKBUILD b/testing/waifu2x-converter-cpp/APKBUILD
index 2f5055bfa446..735297d05120 100644
--- a/testing/waifu2x-converter-cpp/APKBUILD
+++ b/testing/waifu2x-converter-cpp/APKBUILD
@@ -5,7 +5,7 @@ pkgver=5.3.4
 pkgrel=7
 pkgdesc="image upscaler for anime-style art capable of opencl"
 url="https://github.com/DeadSix27/waifu2x-converter-cpp"
-arch="all !ppc64le !s390x !riscv64 !loongarch64" # limited by opencv
+arch="all !ppc64le !s390x !riscv64" # limited by opencv
 license="MIT"
 depends="so:libOpenCL.so.1"
 makedepends="cmake opencl-dev opencv-dev samurai"
-- 
GitLab