From 16a31c1ab43af211386bb4ee928af5afeebb22bb Mon Sep 17 00:00:00 2001
From: DWwanghao <wanghao03@loongson.cn>
Date: Fri, 14 Mar 2025 16:24:32 +0800
Subject: [PATCH] community/*: enable on loongarch64

---
 community/flux/APKBUILD    | 2 +-
 community/nimble/APKBUILD  | 2 +-
 community/openbao/APKBUILD | 3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/community/flux/APKBUILD b/community/flux/APKBUILD
index 019c905cd215..757eeece4f36 100644
--- a/community/flux/APKBUILD
+++ b/community/flux/APKBUILD
@@ -5,7 +5,7 @@ pkgrel=0
 pkgdesc="Open and extensible continuous delivery solution for Kubernetes"
 url="https://fluxcd.io/"
 # blocked by kubernetes
-arch="all !armhf !loongarch64"
+arch="all !armhf"
 license="Apache-2.0"
 makedepends="go bash kustomize"
 checkdepends="etcd kube-apiserver"
diff --git a/community/nimble/APKBUILD b/community/nimble/APKBUILD
index a26f624e7d7c..e557085d175f 100644
--- a/community/nimble/APKBUILD
+++ b/community/nimble/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.14.2
 pkgrel=0
 pkgdesc="Package manager for the Nim programming language"
 url="https://github.com/nim-lang/nimble"
-arch="all !s390x !loongarch64" # blocked by nim
+arch="all !s390x" # blocked by nim
 license="BSD-3-Clause"
 depends="nim libssl3"
 subpackages="$pkgname-bash-completion $pkgname-zsh-completion"
diff --git a/community/openbao/APKBUILD b/community/openbao/APKBUILD
index 476244f12eb8..4271ed4227c5 100644
--- a/community/openbao/APKBUILD
+++ b/community/openbao/APKBUILD
@@ -5,8 +5,7 @@ _pkgver=${pkgver/_/-}
 pkgrel=0
 pkgdesc="solution to manage, store, and distribute sensitive data including secrets, certificates, and keys"
 url="https://openbao.org/"
-# loongarch64: github.com/shirou/gopsutil/v3@v3.22.6/host/host_linux.go:98:22: undefined: sizeOfUtmp
-arch="all !loongarch64"
+arch="all"
 license="MPL-2.0"
 makedepends="go bash"
 options="!check net" # many tests require docker
-- 
GitLab