aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-04-18 05:07:37 +0000
committerCeleste <20312-Celeste@users.gitlab.alpinelinux.org>2024-04-18 05:30:53 +0000
commit7b72d6efb2c5115402b05e9d17c8a1e568c0a682 (patch)
tree5fe76d0e07081a8908ab8b54b797bb95a5b15602
parentd67cabb606ac3345f99db3381b30fdca001addc6 (diff)
*/ocaml*: disable on loongarch64HEADmaster
The OCaml compiler has no upstream support for loongarch64.
-rw-r--r--community/dune/APKBUILD2
-rw-r--r--community/ocaml-camlp4/APKBUILD2
-rw-r--r--community/ocaml-cppo/APKBUILD2
-rw-r--r--community/ocaml-csexp/APKBUILD2
-rw-r--r--community/ocaml-findlib/APKBUILD2
-rw-r--r--community/ocaml-perl-bridge/APKBUILD2
-rw-r--r--community/ocaml/APKBUILD4
-rw-r--r--community/ocamlbuild/APKBUILD2
-rw-r--r--testing/chamo/APKBUILD2
-rw-r--r--testing/coq/APKBUILD4
-rw-r--r--testing/dune-deps/APKBUILD2
-rw-r--r--testing/jackline/APKBUILD4
-rw-r--r--testing/merlin/APKBUILD2
-rw-r--r--testing/ocaml-alcotest/APKBUILD2
-rw-r--r--testing/ocaml-angstrom/APKBUILD2
-rw-r--r--testing/ocaml-arp/APKBUILD2
-rw-r--r--testing/ocaml-asn1-combinators/APKBUILD2
-rw-r--r--testing/ocaml-astring/APKBUILD2
-rw-r--r--testing/ocaml-base/APKBUILD2
-rw-r--r--testing/ocaml-base64/APKBUILD2
-rw-r--r--testing/ocaml-bigarray-compat/APKBUILD2
-rw-r--r--testing/ocaml-bigstringaf/APKBUILD2
-rw-r--r--testing/ocaml-biniou/APKBUILD2
-rw-r--r--testing/ocaml-bisect_ppx/APKBUILD2
-rw-r--r--testing/ocaml-bitstring/APKBUILD2
-rw-r--r--testing/ocaml-bos/APKBUILD2
-rw-r--r--testing/ocaml-ca-certs-nss/APKBUILD2
-rw-r--r--testing/ocaml-ca-certs/APKBUILD2
-rw-r--r--testing/ocaml-cairo2/APKBUILD2
-rw-r--r--testing/ocaml-calendar/APKBUILD2
-rw-r--r--testing/ocaml-camlzip/APKBUILD2
-rw-r--r--testing/ocaml-camomile/APKBUILD2
-rw-r--r--testing/ocaml-charinfo_width/APKBUILD2
-rw-r--r--testing/ocaml-cmdliner/APKBUILD2
-rw-r--r--testing/ocaml-compiler-libs-repackaged/APKBUILD2
-rw-r--r--testing/ocaml-containers/APKBUILD2
-rw-r--r--testing/ocaml-cstruct/APKBUILD2
-rw-r--r--testing/ocaml-ctypes/APKBUILD2
-rw-r--r--testing/ocaml-curses/APKBUILD2
-rw-r--r--testing/ocaml-dns/APKBUILD2
-rw-r--r--testing/ocaml-domain-name/APKBUILD2
-rw-r--r--testing/ocaml-down/APKBUILD2
-rw-r--r--testing/ocaml-duration/APKBUILD2
-rw-r--r--testing/ocaml-easy-format/APKBUILD2
-rw-r--r--testing/ocaml-eqaf/APKBUILD2
-rw-r--r--testing/ocaml-erm_xml/APKBUILD2
-rw-r--r--testing/ocaml-erm_xmpp/APKBUILD4
-rw-r--r--testing/ocaml-ethernet/APKBUILD2
-rw-r--r--testing/ocaml-extlib/APKBUILD2
-rw-r--r--testing/ocaml-fileutils/APKBUILD2
-rw-r--r--testing/ocaml-fix/APKBUILD2
-rw-r--r--testing/ocaml-fmt/APKBUILD2
-rw-r--r--testing/ocaml-fpath/APKBUILD2
-rw-r--r--testing/ocaml-gen/APKBUILD2
-rw-r--r--testing/ocaml-gettext/APKBUILD2
-rw-r--r--testing/ocaml-gmap/APKBUILD2
-rw-r--r--testing/ocaml-happy-eyeballs-lwt/APKBUILD2
-rw-r--r--testing/ocaml-happy-eyeballs/APKBUILD2
-rw-r--r--testing/ocaml-hex/APKBUILD2
-rw-r--r--testing/ocaml-hkdf/APKBUILD2
-rw-r--r--testing/ocaml-integers/APKBUILD2
-rw-r--r--testing/ocaml-ipaddr/APKBUILD2
-rw-r--r--testing/ocaml-lablgtk3-extras/APKBUILD2
-rw-r--r--testing/ocaml-lablgtk3/APKBUILD2
-rw-r--r--testing/ocaml-labltk/APKBUILD2
-rw-r--r--testing/ocaml-lambda-term/APKBUILD2
-rw-r--r--testing/ocaml-lambdasoup/APKBUILD2
-rw-r--r--testing/ocaml-libvirt/APKBUILD3
-rw-r--r--testing/ocaml-logs/APKBUILD2
-rw-r--r--testing/ocaml-lru/APKBUILD2
-rw-r--r--testing/ocaml-lwd/APKBUILD2
-rw-r--r--testing/ocaml-lwt-dllist/APKBUILD2
-rw-r--r--testing/ocaml-lwt/APKBUILD2
-rw-r--r--testing/ocaml-lwt_log/APKBUILD2
-rw-r--r--testing/ocaml-markup/APKBUILD2
-rw-r--r--testing/ocaml-menhir/APKBUILD2
-rw-r--r--testing/ocaml-merlin-extend/APKBUILD2
-rw-r--r--testing/ocaml-metrics/APKBUILD2
-rw-r--r--testing/ocaml-mew/APKBUILD2
-rw-r--r--testing/ocaml-mew_vi/APKBUILD2
-rw-r--r--testing/ocaml-mikmatch/APKBUILD2
-rw-r--r--testing/ocaml-mirage-clock/APKBUILD2
-rw-r--r--testing/ocaml-mirage-crypto/APKBUILD2
-rw-r--r--testing/ocaml-mirage-flow/APKBUILD2
-rw-r--r--testing/ocaml-mirage-kv/APKBUILD2
-rw-r--r--testing/ocaml-mirage-net/APKBUILD2
-rw-r--r--testing/ocaml-mirage-profile/APKBUILD2
-rw-r--r--testing/ocaml-mirage-random/APKBUILD2
-rw-r--r--testing/ocaml-mirage-time/APKBUILD2
-rw-r--r--testing/ocaml-mmap/APKBUILD2
-rw-r--r--testing/ocaml-mtime/APKBUILD2
-rw-r--r--testing/ocaml-notty/APKBUILD2
-rw-r--r--testing/ocaml-num/APKBUILD2
-rw-r--r--testing/ocaml-obuild/APKBUILD2
-rw-r--r--testing/ocaml-ocf/APKBUILD2
-rw-r--r--testing/ocaml-ocplib-endian/APKBUILD2
-rw-r--r--testing/ocaml-omake/APKBUILD2
-rw-r--r--testing/ocaml-omod/APKBUILD2
-rw-r--r--testing/ocaml-otr/APKBUILD2
-rw-r--r--testing/ocaml-ounit/APKBUILD2
-rw-r--r--testing/ocaml-parsexp/APKBUILD2
-rw-r--r--testing/ocaml-pbkdf/APKBUILD2
-rw-r--r--testing/ocaml-pcre/APKBUILD2
-rw-r--r--testing/ocaml-ppx_derivers/APKBUILD2
-rw-r--r--testing/ocaml-ppx_deriving/APKBUILD2
-rw-r--r--testing/ocaml-ppx_sexp_conv/APKBUILD2
-rw-r--r--testing/ocaml-ppxlib/APKBUILD2
-rw-r--r--testing/ocaml-psq/APKBUILD2
-rw-r--r--testing/ocaml-ptime/APKBUILD2
-rw-r--r--testing/ocaml-ptmap/APKBUILD2
-rw-r--r--testing/ocaml-qcheck/APKBUILD2
-rw-r--r--testing/ocaml-qtest/APKBUILD2
-rw-r--r--testing/ocaml-randomconv/APKBUILD2
-rw-r--r--testing/ocaml-re/APKBUILD2
-rw-r--r--testing/ocaml-react/APKBUILD2
-rw-r--r--testing/ocaml-result/APKBUILD2
-rw-r--r--testing/ocaml-rresult/APKBUILD2
-rw-r--r--testing/ocaml-sedlex/APKBUILD2
-rw-r--r--testing/ocaml-seq/APKBUILD2
-rw-r--r--testing/ocaml-sexplib/APKBUILD2
-rw-r--r--testing/ocaml-sexplib0/APKBUILD2
-rw-r--r--testing/ocaml-sha/APKBUILD2
-rw-r--r--testing/ocaml-stdlib-shims/APKBUILD2
-rw-r--r--testing/ocaml-stringext/APKBUILD2
-rw-r--r--testing/ocaml-tcpip/APKBUILD2
-rw-r--r--testing/ocaml-tls/APKBUILD2
-rw-r--r--testing/ocaml-tophide/APKBUILD2
-rw-r--r--testing/ocaml-topkg/APKBUILD2
-rw-r--r--testing/ocaml-trie/APKBUILD2
-rw-r--r--testing/ocaml-uri/APKBUILD2
-rw-r--r--testing/ocaml-uucd/APKBUILD2
-rw-r--r--testing/ocaml-uucp/APKBUILD4
-rw-r--r--testing/ocaml-uuidm/APKBUILD2
-rw-r--r--testing/ocaml-uunf/APKBUILD4
-rw-r--r--testing/ocaml-uuseg/APKBUILD4
-rw-r--r--testing/ocaml-uutf/APKBUILD2
-rw-r--r--testing/ocaml-x509/APKBUILD2
-rw-r--r--testing/ocaml-xml-light/APKBUILD2
-rw-r--r--testing/ocaml-xmlm/APKBUILD2
-rw-r--r--testing/ocaml-yojson/APKBUILD2
-rw-r--r--testing/ocaml-zarith/APKBUILD2
-rw-r--r--testing/ocaml-zed/APKBUILD2
-rw-r--r--testing/ocaml5/APKBUILD3
-rw-r--r--testing/ocamlnet/APKBUILD2
-rw-r--r--testing/ocp-indent/APKBUILD2
-rw-r--r--testing/ocp-index/APKBUILD2
-rw-r--r--testing/reason/APKBUILD2
-rw-r--r--testing/utop/APKBUILD2
148 files changed, 157 insertions, 155 deletions
diff --git a/community/dune/APKBUILD b/community/dune/APKBUILD
index 1756d225b96..8cac9330514 100644
--- a/community/dune/APKBUILD
+++ b/community/dune/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.15.1
pkgrel=0
pkgdesc="A composable build system for OCaml (formerly Jbuilder)"
url="https://dune.build/"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
checkdepends="bash"
makedepends="ocaml"
diff --git a/community/ocaml-camlp4/APKBUILD b/community/ocaml-camlp4/APKBUILD
index 40012b0e9b7..1b913532d38 100644
--- a/community/ocaml-camlp4/APKBUILD
+++ b/community/ocaml-camlp4/APKBUILD
@@ -11,7 +11,7 @@ _ocamlver=${pkgver%.*}
pkgrel=3
pkgdesc="Caml preprocessor and pretty-printer"
url="https://github.com/camlp4/camlp4"
-arch="all !riscv64" # ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception"
depends="ocaml-runtime~$_ocamlver ocaml-ocamlbuild"
depends_dev="$pkgname=$pkgver-r$pkgrel"
diff --git a/community/ocaml-cppo/APKBUILD b/community/ocaml-cppo/APKBUILD
index 2ae537d0d1a..d707c6a46b1 100644
--- a/community/ocaml-cppo/APKBUILD
+++ b/community/ocaml-cppo/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.6.9
pkgrel=5
pkgdesc="C-style preprocessor for OCaml"
url="https://github.com/ocaml-community/cppo"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
makedepends="dune ocaml ocaml-ocamlbuild"
subpackages="$pkgname-doc $pkgname-ocamlbuild"
diff --git a/community/ocaml-csexp/APKBUILD b/community/ocaml-csexp/APKBUILD
index 689670caff4..4c8b3ddd36a 100644
--- a/community/ocaml-csexp/APKBUILD
+++ b/community/ocaml-csexp/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.5.1
pkgrel=3
pkgdesc="Parsing and printing of S-expressions in Canonical form"
url="https://github.com/ocaml-dune/csexp"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends="ocaml-runtime"
depends_dev="$pkgname=$pkgver-r$pkgrel"
diff --git a/community/ocaml-findlib/APKBUILD b/community/ocaml-findlib/APKBUILD
index 53711eca58c..2f8c590a4da 100644
--- a/community/ocaml-findlib/APKBUILD
+++ b/community/ocaml-findlib/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.9.6
pkgrel=4
pkgdesc="OCaml package manager"
url="http://projects.camlcity.org/projects/findlib.html"
-arch="all !riscv64" # ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends="ocaml-runtime"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml"
diff --git a/community/ocaml-perl-bridge/APKBUILD b/community/ocaml-perl-bridge/APKBUILD
index e95e1f4fee6..7d806d56b3e 100644
--- a/community/ocaml-perl-bridge/APKBUILD
+++ b/community/ocaml-perl-bridge/APKBUILD
@@ -6,7 +6,7 @@ pkgrel=4
_gitrev=611f632429f4e70508db4a921fea4b13b8e57161
pkgdesc="Perl embedded in OCaml"
url="https://github.com/stevan/ocaml-perl-bridge"
-arch="all !riscv64" # restricted by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.0-or-later"
depends="ocaml-runtime"
depends_dev="$pkgname=$pkgver-r$pkgrel"
diff --git a/community/ocaml/APKBUILD b/community/ocaml/APKBUILD
index cb3254faea4..51cbf6e66fc 100644
--- a/community/ocaml/APKBUILD
+++ b/community/ocaml/APKBUILD
@@ -6,7 +6,9 @@ pkgver=4.14.2
pkgrel=1
pkgdesc="Main implementation of the Caml programming language"
url="https://ocaml.org/"
-arch="all !riscv64" # hangs forever at final build step
+# riscv64: hangs forever at final build step
+# loongarch64: no upstream support
+arch="all !riscv64 !loongarch64"
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
depends="$pkgname-runtime=$pkgver-r$pkgrel gcc"
makedepends="gdbm-dev libc-dev ncurses-dev zlib-dev binutils-dev rpm-scripts"
diff --git a/community/ocamlbuild/APKBUILD b/community/ocamlbuild/APKBUILD
index 37fdb3b08dc..de41b4aa0aa 100644
--- a/community/ocamlbuild/APKBUILD
+++ b/community/ocamlbuild/APKBUILD
@@ -7,7 +7,7 @@ pkgver=0.14.1
pkgrel=3
pkgdesc="Generic build tool with built-in rules for building OCaml library and programs"
url="https://github.com/ocaml/ocamlbuild"
-arch="all !riscv64"
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception"
checkdepends="ocaml-compiler-libs ocaml-findlib"
depends="ocaml-$pkgname=$pkgver-r$pkgrel cmd:tput"
diff --git a/testing/chamo/APKBUILD b/testing/chamo/APKBUILD
index 16828958745..f0c1ba93dae 100644
--- a/testing/chamo/APKBUILD
+++ b/testing/chamo/APKBUILD
@@ -5,7 +5,7 @@ pkgver=3.0
pkgrel=1
pkgdesc="Emacs-inspired text editor written in and configurable with OCaml"
url="https://zoggy.frama.io/chamo"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-3.0-only"
# lablgtk3-sourceview3 is bundled together in ocaml-lablgtk3
depends_dev="
diff --git a/testing/coq/APKBUILD b/testing/coq/APKBUILD
index a86759aef64..0b283a2d358 100644
--- a/testing/coq/APKBUILD
+++ b/testing/coq/APKBUILD
@@ -7,10 +7,10 @@ pkgver=8.19.1
pkgrel=3
pkgdesc="Formal proof management system"
url="https://coq.inria.fr"
-# riscv64: ocaml
+# riscv64, loongarch64: ocaml
# s390x: not useful
# 32-bit: huge package and nobody would use it there
-arch="all !armhf !armv7 !x86 !s390x !riscv64"
+arch="all !armhf !armv7 !x86 !s390x !riscv64 !loongarch64"
license="LGPL-2.1-or-later"
makedepends="
bash
diff --git a/testing/dune-deps/APKBUILD b/testing/dune-deps/APKBUILD
index 8e15f22d3ca..55c022a6ca2 100644
--- a/testing/dune-deps/APKBUILD
+++ b/testing/dune-deps/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.3.0
pkgrel=2
pkgdesc="Show dependency graph of a multi-component dune project"
url="https://github.com/mjambon/dune-deps"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends="graphviz"
makedepends="
diff --git a/testing/jackline/APKBUILD b/testing/jackline/APKBUILD
index 26c3a05d31f..50e652aa4e7 100644
--- a/testing/jackline/APKBUILD
+++ b/testing/jackline/APKBUILD
@@ -5,8 +5,8 @@ pkgver=0.1.0
pkgrel=3
pkgdesc="Minimalistic and secure XMPP client written in OCaml"
url="https://github.com/hannesm/jackline"
-# limited by riscv64: ocaml, ppc64le: ocaml-uucp and ocaml-erm_xmpp
-arch="all !riscv64 !ppc64le"
+# limited by riscv64, loongarch64: ocaml, ppc64le: ocaml-uucp and ocaml-erm_xmpp
+arch="all !riscv64 !loongarch64 !ppc64le"
license="BSD-2-Clause"
makedepends="
ocaml-ppx_deriving-dev
diff --git a/testing/merlin/APKBUILD b/testing/merlin/APKBUILD
index 8b9ec7fd346..9e39c0b49ce 100644
--- a/testing/merlin/APKBUILD
+++ b/testing/merlin/APKBUILD
@@ -7,7 +7,7 @@ _pkgver="$pkgver-${_ocamlver//./}"
pkgrel=0
pkgdesc="Context sensitive completion for OCaml"
url="https://ocaml.github.io/merlin/"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-alcotest/APKBUILD b/testing/ocaml-alcotest/APKBUILD
index a5e934c527c..4202de014ca 100644
--- a/testing/ocaml-alcotest/APKBUILD
+++ b/testing/ocaml-alcotest/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.5.0
pkgrel=3
pkgdesc="Lightweight and colourful test framework"
url="https://github.com/mirage/alcotest"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-angstrom/APKBUILD b/testing/ocaml-angstrom/APKBUILD
index 4d521e4c8f6..a42f7378ad6 100644
--- a/testing/ocaml-angstrom/APKBUILD
+++ b/testing/ocaml-angstrom/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.16.0
pkgrel=0
pkgdesc="Parser combinators built for speed and memory-efficiency"
url="https://github.com/inhabitedtype/angstrom"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-bigstringaf-dev ocaml-lwt-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-arp/APKBUILD b/testing/ocaml-arp/APKBUILD
index 7045d346f9f..c22a298123e 100644
--- a/testing/ocaml-arp/APKBUILD
+++ b/testing/ocaml-arp/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.0
pkgrel=3
pkgdesc="Address Resolution Protocol purely in OCaml"
url="https://github.com/mirage/arp"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
# ocaml-bisect_ppx only needed for dev
depends_dev="
diff --git a/testing/ocaml-asn1-combinators/APKBUILD b/testing/ocaml-asn1-combinators/APKBUILD
index aee2592c501..12a7420c85b 100644
--- a/testing/ocaml-asn1-combinators/APKBUILD
+++ b/testing/ocaml-asn1-combinators/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.6
pkgrel=2
pkgdesc="Embed typed ASN.1 grammars in OCaml"
url="https://github.com/mirleft/ocaml-asn1-combinators"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
# ocaml-zarith is not separated into a -dev subpackage
depends_dev="
diff --git a/testing/ocaml-astring/APKBUILD b/testing/ocaml-astring/APKBUILD
index e33243d33b2..7b84534b292 100644
--- a/testing/ocaml-astring/APKBUILD
+++ b/testing/ocaml-astring/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.8.5
pkgrel=2
pkgdesc="Alternative String module for OCaml"
url="https://erratique.ch/software/astring"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-base/APKBUILD b/testing/ocaml-base/APKBUILD
index 569c466e3b1..43fd9208c68 100644
--- a/testing/ocaml-base/APKBUILD
+++ b/testing/ocaml-base/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.16.3
pkgrel=0
pkgdesc="Full standard library replacement for OCaml"
url="https://github.com/janestreet/base"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-sexplib0-dev"
makedepends="$depends_dev dune dune-configurator ocaml ocaml-compiler-libs"
diff --git a/testing/ocaml-base64/APKBUILD b/testing/ocaml-base64/APKBUILD
index 24ef16c4250..272311c991d 100644
--- a/testing/ocaml-base64/APKBUILD
+++ b/testing/ocaml-base64/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.5.0
pkgrel=2
pkgdesc="Base64 encoding for OCaml"
url="https://github.com/mirage/ocaml-base64"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml"
diff --git a/testing/ocaml-bigarray-compat/APKBUILD b/testing/ocaml-bigarray-compat/APKBUILD
index 8acb35c4a68..c2946c7961d 100644
--- a/testing/ocaml-bigarray-compat/APKBUILD
+++ b/testing/ocaml-bigarray-compat/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.1.0
pkgrel=2
pkgdesc="Compatibility library to use Stdlib.Bigarray when possible"
url="https://github.com/mirage/bigarray-compat"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
options="!check"
diff --git a/testing/ocaml-bigstringaf/APKBUILD b/testing/ocaml-bigstringaf/APKBUILD
index c2c9b1d875c..3f67f25a426 100644
--- a/testing/ocaml-bigstringaf/APKBUILD
+++ b/testing/ocaml-bigstringaf/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.9.0
pkgrel=2
pkgdesc="Bigstring intrinsics and fast blits based on memcpy/memmove"
url="https://github.com/inhabitedtype/bigstringaf"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml"
diff --git a/testing/ocaml-biniou/APKBUILD b/testing/ocaml-biniou/APKBUILD
index 782e14b56d5..79a3a58f6f9 100644
--- a/testing/ocaml-biniou/APKBUILD
+++ b/testing/ocaml-biniou/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.2.1
pkgrel=5
pkgdesc="Extensible binary data format, like JSON but faster"
url="https://github.com/ocaml-community/biniou"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-easy-format-dev ocaml-findlib"
diff --git a/testing/ocaml-bisect_ppx/APKBUILD b/testing/ocaml-bisect_ppx/APKBUILD
index 326fdb4929c..dee6025c47e 100644
--- a/testing/ocaml-bisect_ppx/APKBUILD
+++ b/testing/ocaml-bisect_ppx/APKBUILD
@@ -6,7 +6,7 @@ pkgver=2.8.3
pkgrel=0
pkgdesc="Code coverage for OCaml"
url="https://github.com/aantron/bisect_ppx"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-bitstring/APKBUILD b/testing/ocaml-bitstring/APKBUILD
index f00fe1bc8b0..697f54c3c86 100644
--- a/testing/ocaml-bitstring/APKBUILD
+++ b/testing/ocaml-bitstring/APKBUILD
@@ -6,7 +6,7 @@ pkgver=4.1.0
pkgrel=3
pkgdesc="Erlang-style bitstrings for OCaml"
url="https://github.com/xguerin/bitstring"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.0-or-later"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-bos/APKBUILD b/testing/ocaml-bos/APKBUILD
index 56f27f9f62f..0e0859abc27 100644
--- a/testing/ocaml-bos/APKBUILD
+++ b/testing/ocaml-bos/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.1
pkgrel=2
pkgdesc="Basic OS interaction for OCaml"
url="https://erratique.ch/software/bos"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-ca-certs-nss/APKBUILD b/testing/ocaml-ca-certs-nss/APKBUILD
index 2c666c191ce..17a16aaf261 100644
--- a/testing/ocaml-ca-certs-nss/APKBUILD
+++ b/testing/ocaml-ca-certs-nss/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.89.1
pkgrel=1
pkgdesc="X.509 trust anchors extracted from Mozilla's NSS"
url="https://github.com/mirage/ca-certs-nss"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-ca-certs/APKBUILD b/testing/ocaml-ca-certs/APKBUILD
index e0e1822dcd3..834292bc984 100644
--- a/testing/ocaml-ca-certs/APKBUILD
+++ b/testing/ocaml-ca-certs/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.2
pkgrel=2
pkgdesc="Detect root CA certificates from the operating system"
url="https://github.com/mirage/ca-certs"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-cairo2/APKBUILD b/testing/ocaml-cairo2/APKBUILD
index e60284dcbb5..0ff0a866016 100644
--- a/testing/ocaml-cairo2/APKBUILD
+++ b/testing/ocaml-cairo2/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.6.2
pkgrel=2
pkgdesc="OCaml bindings to Cairo, a 2D Vector Graphics Library"
url="https://github.com/Chris00/ocaml-cairo"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-3.0-only"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-calendar/APKBUILD b/testing/ocaml-calendar/APKBUILD
index a80eb730913..d58c15b9095 100644
--- a/testing/ocaml-calendar/APKBUILD
+++ b/testing/ocaml-calendar/APKBUILD
@@ -6,7 +6,7 @@ pkgver=2.04
pkgrel=4
pkgdesc="Objective Caml library for managing dates and times"
url="https://forge.ocamlcore.org/projects/calendar/"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
makedepends="ocaml ocaml-findlib-dev ocaml-ocamldoc gawk"
subpackages="$pkgname-dev $pkgname-doc"
diff --git a/testing/ocaml-camlzip/APKBUILD b/testing/ocaml-camlzip/APKBUILD
index 91635e3bda3..4b24ebb8cc4 100644
--- a/testing/ocaml-camlzip/APKBUILD
+++ b/testing/ocaml-camlzip/APKBUILD
@@ -7,7 +7,7 @@ _pkgver="rel${pkgver//./}"
pkgrel=2
pkgdesc="Access compressed files in ZIP, GZIP and JAR format"
url="https://github.com/xavierleroy/camlzip"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="ocaml ocaml-findlib zlib-dev"
diff --git a/testing/ocaml-camomile/APKBUILD b/testing/ocaml-camomile/APKBUILD
index 8143e67d2f1..1ac56963d75 100644
--- a/testing/ocaml-camomile/APKBUILD
+++ b/testing/ocaml-camomile/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.2
pkgrel=3
pkgdesc="A Unicode library for OCaml"
url="https://github.com/yoriyuki/Camomile"
-arch="all !riscv64" # restricted by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.0-or-later"
depends="$pkgname-data=$pkgver-r$pkgrel"
depends_dev="$pkgname=$pkgver-r$pkgrel"
diff --git a/testing/ocaml-charinfo_width/APKBUILD b/testing/ocaml-charinfo_width/APKBUILD
index 68a06dfd27d..cd984f54d78 100644
--- a/testing/ocaml-charinfo_width/APKBUILD
+++ b/testing/ocaml-charinfo_width/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.1.0
pkgrel=3
pkgdesc="Determine column width for a character in OCaml"
url="https://github.com/kandu/charinfo_width/"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-camomile-dev ocaml-result-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-cmdliner/APKBUILD b/testing/ocaml-cmdliner/APKBUILD
index de667af8de6..a029a7768c2 100644
--- a/testing/ocaml-cmdliner/APKBUILD
+++ b/testing/ocaml-cmdliner/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.1.1
pkgrel=3
pkgdesc="Declarative definition of command line interfaces for OCaml"
url="https://erratique.ch/software/cmdliner"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="ocaml"
diff --git a/testing/ocaml-compiler-libs-repackaged/APKBUILD b/testing/ocaml-compiler-libs-repackaged/APKBUILD
index 5d6eacdd7c1..bbf75db047e 100644
--- a/testing/ocaml-compiler-libs-repackaged/APKBUILD
+++ b/testing/ocaml-compiler-libs-repackaged/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.12.4
pkgrel=3
pkgdesc="OCaml compiler libraries repackaged to not expose everything at toplevel"
url="https://github.com/janestreet/ocaml-compiler-libs"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-compiler-libs"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-containers/APKBUILD b/testing/ocaml-containers/APKBUILD
index f38b6b5b006..e2a05ef6ed4 100644
--- a/testing/ocaml-containers/APKBUILD
+++ b/testing/ocaml-containers/APKBUILD
@@ -5,7 +5,7 @@ pkgver=3.7
pkgrel=2
pkgdesc="Modular, clean and powerful extension of the OCaml standard library"
url="https://github.com/c-cube/ocaml-containers/"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-compiler-libs"
makedepends="$depends_dev dune dune-configurator ocaml"
diff --git a/testing/ocaml-cstruct/APKBUILD b/testing/ocaml-cstruct/APKBUILD
index 067709d3b76..6d7a231db6a 100644
--- a/testing/ocaml-cstruct/APKBUILD
+++ b/testing/ocaml-cstruct/APKBUILD
@@ -6,7 +6,7 @@ pkgver=6.1.0
pkgrel=3
pkgdesc="Access C-like structures directly from OCaml"
url="https://github.com/mirage/ocaml-cstruct"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-ctypes/APKBUILD b/testing/ocaml-ctypes/APKBUILD
index c349b681ad3..af036b48ce3 100644
--- a/testing/ocaml-ctypes/APKBUILD
+++ b/testing/ocaml-ctypes/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.20.1
pkgrel=2
pkgdesc="Combinators for binding to C libraries without writing any C"
url="https://github.com/ocamllabs/ocaml-ctypes"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-curses/APKBUILD b/testing/ocaml-curses/APKBUILD
index c2ff33099e8..db32edee067 100644
--- a/testing/ocaml-curses/APKBUILD
+++ b/testing/ocaml-curses/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.10
pkgrel=2
pkgdesc="OCaml bindings for ncurses"
url="https://github.com/mbacarella/curses"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune dune-configurator-dev ncurses-dev ocaml ocaml-csexp-dev"
diff --git a/testing/ocaml-dns/APKBUILD b/testing/ocaml-dns/APKBUILD
index 8af9412d7c9..041acd874ec 100644
--- a/testing/ocaml-dns/APKBUILD
+++ b/testing/ocaml-dns/APKBUILD
@@ -6,7 +6,7 @@ pkgver=6.2.2
pkgrel=3
pkgdesc="An opinionated Domain Name System (DNS) library"
url="https://github.com/mirage/ocaml-dns"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-domain-name/APKBUILD b/testing/ocaml-domain-name/APKBUILD
index f733e41da15..2ebe82a1a7b 100644
--- a/testing/ocaml-domain-name/APKBUILD
+++ b/testing/ocaml-domain-name/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.4.0
pkgrel=2
pkgdesc="RFC 1035 Internet domain names"
url="https://github.com/hannesm/domain-name"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml"
diff --git a/testing/ocaml-down/APKBUILD b/testing/ocaml-down/APKBUILD
index d2bf591036e..c2ad2432cf4 100644
--- a/testing/ocaml-down/APKBUILD
+++ b/testing/ocaml-down/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.1.0
pkgrel=3
pkgdesc="OCaml toplevel (REPL) upgrade"
url="https://erratique.ch/software/down"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-duration/APKBUILD b/testing/ocaml-duration/APKBUILD
index e89c9e9e70b..40bdfe125bc 100644
--- a/testing/ocaml-duration/APKBUILD
+++ b/testing/ocaml-duration/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.0
pkgrel=2
pkgdesc="Conversions to various time units"
url="https://github.com/hannesm/duration"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml"
diff --git a/testing/ocaml-easy-format/APKBUILD b/testing/ocaml-easy-format/APKBUILD
index 6bc689d0ddd..c3368797c34 100644
--- a/testing/ocaml-easy-format/APKBUILD
+++ b/testing/ocaml-easy-format/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.3.4
pkgrel=1
pkgdesc="Pretty-printing library for OCaml"
url="https://mjambon.github.io/mjambon2016/easy-format.html"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-findlib"
diff --git a/testing/ocaml-eqaf/APKBUILD b/testing/ocaml-eqaf/APKBUILD
index 33d9d353745..3370a6d549d 100644
--- a/testing/ocaml-eqaf/APKBUILD
+++ b/testing/ocaml-eqaf/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.8
pkgrel=2
pkgdesc="Constant-time equal function on string"
url="https://github.com/mirage/eqaf"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-cstruct-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-erm_xml/APKBUILD b/testing/ocaml-erm_xml/APKBUILD
index c7419151f2b..547f3f71e78 100644
--- a/testing/ocaml-erm_xml/APKBUILD
+++ b/testing/ocaml-erm_xml/APKBUILD
@@ -7,7 +7,7 @@ _commit=a2b4db61ca93dc265ca47b51d01fa147d3b267c3
pkgrel=2
pkgdesc="XML stream parser for OCaml"
url="https://github.com/hannesm/xml"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-erm_xmpp/APKBUILD b/testing/ocaml-erm_xmpp/APKBUILD
index 21e629edc71..3bc0b5c1a3b 100644
--- a/testing/ocaml-erm_xmpp/APKBUILD
+++ b/testing/ocaml-erm_xmpp/APKBUILD
@@ -7,9 +7,9 @@ _commit=e54d54e142ac9770c37e144693473692bf473530
pkgrel=2
pkgdesc="XMPP protocol implementation for OCaml"
url="https://github.com/hannesm/xmpp"
-# riscv64: restricted by ocaml aport
+# riscv64, loongarch64: restricted by ocaml aport
# ppc64le: ocamlbuild terminated with error code 10
-arch="all !riscv64 !ppc64le"
+arch="all !riscv64 !loongarch64 !ppc64le"
license="BSD-3-Clause"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-ethernet/APKBUILD b/testing/ocaml-ethernet/APKBUILD
index dfbf2529c87..da3a5cdd1a0 100644
--- a/testing/ocaml-ethernet/APKBUILD
+++ b/testing/ocaml-ethernet/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.0
pkgrel=3
pkgdesc="OCaml Ethernet (IEEE 802.3) layer, used in MirageOS"
url="https://github.com/mirage/ethernet"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-extlib/APKBUILD b/testing/ocaml-extlib/APKBUILD
index 51f0755db60..51bcf7a895a 100644
--- a/testing/ocaml-extlib/APKBUILD
+++ b/testing/ocaml-extlib/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.7.9
pkgrel=2
pkgdesc="OCaml ExtLib additions to the standard library"
url="https://github.com/ygrek/ocaml-extlib"
-arch="all !riscv64" # limited by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
makedepends="ocaml ocaml-findlib-dev ocaml-ocamldoc ocaml-cppo gawk"
subpackages="$pkgname-dev $pkgname-doc"
diff --git a/testing/ocaml-fileutils/APKBUILD b/testing/ocaml-fileutils/APKBUILD
index c8270af31fe..cfae1523bb4 100644
--- a/testing/ocaml-fileutils/APKBUILD
+++ b/testing/ocaml-fileutils/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.6.4
pkgrel=2
pkgdesc="OCaml library for common file and filename operations"
url="https://github.com/gildor478/ocaml-fileutils"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
makedepends="
dune
diff --git a/testing/ocaml-fix/APKBUILD b/testing/ocaml-fix/APKBUILD
index 401bff3cb85..74418e51f52 100644
--- a/testing/ocaml-fix/APKBUILD
+++ b/testing/ocaml-fix/APKBUILD
@@ -7,7 +7,7 @@ _commit=a288f05de716bcc9e82527f4cf440f9aebe965ae
pkgrel=2
pkgdesc="Algorithmic building blocks for memoization, recursion, and more"
url="https://gitlab.inria.fr/fpottier/fix"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.0-only"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml"
diff --git a/testing/ocaml-fmt/APKBUILD b/testing/ocaml-fmt/APKBUILD
index 96a891ac51d..2b7d09c157e 100644
--- a/testing/ocaml-fmt/APKBUILD
+++ b/testing/ocaml-fmt/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.9.0
pkgrel=2
pkgdesc="OCaml Format pretty-printer combinators"
url="https://erratique.ch/software/fmt"
-arch="all !riscv64" # restricted by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-fpath/APKBUILD b/testing/ocaml-fpath/APKBUILD
index 2243b11b49c..c9ff5554f74 100644
--- a/testing/ocaml-fpath/APKBUILD
+++ b/testing/ocaml-fpath/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.7.3
pkgrel=2
pkgdesc="File system paths for OCaml"
url="https://erratique.ch/software/fpath"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-astring-dev"
makedepends="
diff --git a/testing/ocaml-gen/APKBUILD b/testing/ocaml-gen/APKBUILD
index b2605c9f89d..8ba01db9d2e 100644
--- a/testing/ocaml-gen/APKBUILD
+++ b/testing/ocaml-gen/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.1
pkgrel=1
pkgdesc="Simple, efficient iterators for OCaml"
url="https://github.com/c-cube/gen/"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-seq-dev"
makedepends="$depends_dev dune dune-configurator ocaml"
diff --git a/testing/ocaml-gettext/APKBUILD b/testing/ocaml-gettext/APKBUILD
index f2f46586365..7869035f1c4 100644
--- a/testing/ocaml-gettext/APKBUILD
+++ b/testing/ocaml-gettext/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.4.2
pkgrel=3
pkgdesc="OCaml library for i18n"
url="https://github.com/gildor478/ocaml-gettext"
-arch="all !riscv64" # limited by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
makedepends="
autoconf
diff --git a/testing/ocaml-gmap/APKBUILD b/testing/ocaml-gmap/APKBUILD
index deb195ce11c..11989d3cb1c 100644
--- a/testing/ocaml-gmap/APKBUILD
+++ b/testing/ocaml-gmap/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.3.0
pkgrel=2
pkgdesc="Heterogenous maps over a GADT"
url="https://github.com/hannesm/gmap"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml"
diff --git a/testing/ocaml-happy-eyeballs-lwt/APKBUILD b/testing/ocaml-happy-eyeballs-lwt/APKBUILD
index e7f36c002cc..4613bce1c02 100644
--- a/testing/ocaml-happy-eyeballs-lwt/APKBUILD
+++ b/testing/ocaml-happy-eyeballs-lwt/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.3.0
pkgrel=3
pkgdesc="Connecting to a remote host via IP version 4 or 6 using Lwt_unix"
url="https://github.com/roburio/happy-eyeballs"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-happy-eyeballs/APKBUILD b/testing/ocaml-happy-eyeballs/APKBUILD
index 79fb13c622c..f54e500f047 100644
--- a/testing/ocaml-happy-eyeballs/APKBUILD
+++ b/testing/ocaml-happy-eyeballs/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.3.0
pkgrel=2
pkgdesc="Connecting to a remote host via IP version 4 or 6"
url="https://github.com/roburio/happy-eyeballs"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-hex/APKBUILD b/testing/ocaml-hex/APKBUILD
index 872839acaca..e9a1c509dea 100644
--- a/testing/ocaml-hex/APKBUILD
+++ b/testing/ocaml-hex/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.5.0
pkgrel=2
pkgdesc="Library providing hexadecimal converters"
url="https://github.com/mirage/ocaml-hex"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-cstruct-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-hkdf/APKBUILD b/testing/ocaml-hkdf/APKBUILD
index 4c22201ccdb..9b54721127c 100644
--- a/testing/ocaml-hkdf/APKBUILD
+++ b/testing/ocaml-hkdf/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.4
pkgrel=2
pkgdesc="HMAC-based Extract-and-Expand Key Derivation Function (RFC 5869)"
url="https://github.com/hannesm/ocaml-hkdf"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-integers/APKBUILD b/testing/ocaml-integers/APKBUILD
index f954a617718..53b4709dab8 100644
--- a/testing/ocaml-integers/APKBUILD
+++ b/testing/ocaml-integers/APKBUILD
@@ -5,7 +5,7 @@ pkgver=0.7.0
pkgrel=2
pkgdesc="Various signed and unsigned integer types for OCaml"
url="https://github.com/ocamllabs/ocaml-integers"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-compiler-libs ocaml-stdlib-shims"
diff --git a/testing/ocaml-ipaddr/APKBUILD b/testing/ocaml-ipaddr/APKBUILD
index 8b2794044cd..ad0ffb7b618 100644
--- a/testing/ocaml-ipaddr/APKBUILD
+++ b/testing/ocaml-ipaddr/APKBUILD
@@ -7,7 +7,7 @@ pkgrel=2
pkgdesc="A library for manipulation of IP (and MAC) address representations"
provides="ocaml-macaddr=$pkgver-r$pkgrel"
url="https://github.com/mirage/ocaml-ipaddr"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-lablgtk3-extras/APKBUILD b/testing/ocaml-lablgtk3-extras/APKBUILD
index 3441386d4c6..92685d3da4d 100644
--- a/testing/ocaml-lablgtk3-extras/APKBUILD
+++ b/testing/ocaml-lablgtk3-extras/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.1
pkgrel=2
pkgdesc="Additional tools and libraries for ocaml-lablgtk3"
url="https://zoggy.frama.io/lablgtk-extras/"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-3.0-only"
# lablgtk3-sourceview3 is bundled together in ocaml-lablgtk3
depends_dev="
diff --git a/testing/ocaml-lablgtk3/APKBUILD b/testing/ocaml-lablgtk3/APKBUILD
index 80c7dbf211e..fcb65971d71 100644
--- a/testing/ocaml-lablgtk3/APKBUILD
+++ b/testing/ocaml-lablgtk3/APKBUILD
@@ -7,7 +7,7 @@ pkgrel=3
pkgdesc="OCaml interface to GTK+3"
provides="$pkgname-sourceview3=$pkgver-r$pkgrel"
url="https://github.com/garrigue/lablgtk"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-labltk/APKBUILD b/testing/ocaml-labltk/APKBUILD
index fcd4cece26a..be36cb6d40a 100644
--- a/testing/ocaml-labltk/APKBUILD
+++ b/testing/ocaml-labltk/APKBUILD
@@ -7,7 +7,7 @@ pkgrel=2
_ocamlver=4.14
pkgdesc="Tcl/Tk interface for OCaml"
url="https://garrigue.github.io/labltk/"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-lambda-term/APKBUILD b/testing/ocaml-lambda-term/APKBUILD
index c790440b94a..922fd1a07b7 100644
--- a/testing/ocaml-lambda-term/APKBUILD
+++ b/testing/ocaml-lambda-term/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.2.0
pkgrel=4
pkgdesc="Terminal manipulation library for OCaml"
url="https://github.com/ocaml-community/lambda-term"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
# ocaml-lwt_react-dev is provided by ocaml-lwt-dev
depends_dev="
diff --git a/testing/ocaml-lambdasoup/APKBUILD b/testing/ocaml-lambdasoup/APKBUILD
index d8b2c00cf11..c5466e26b31 100644
--- a/testing/ocaml-lambdasoup/APKBUILD
+++ b/testing/ocaml-lambdasoup/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.7.3
pkgrel=2
pkgdesc="Easy functional HTML scraping and manipulation with CSS selectors"
url="https://github.com/aantron/lambdasoup"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
checkdepends="ocaml-result-dev ocaml-ounit-dev"
diff --git a/testing/ocaml-libvirt/APKBUILD b/testing/ocaml-libvirt/APKBUILD
index b77bd6ebea6..644bc4311b3 100644
--- a/testing/ocaml-libvirt/APKBUILD
+++ b/testing/ocaml-libvirt/APKBUILD
@@ -6,8 +6,7 @@ pkgver=0.6.1.7
pkgrel=0
pkgdesc="OCaml binding for libvirt"
url="https://libvirt.org/ocaml/"
-# riscv64: limited by ocaml aport
-arch="all !riscv64"
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
makedepends="autoconf automake ocaml ocaml-findlib-dev libvirt-dev perl gawk"
subpackages="$pkgname-dev $pkgname-doc"
diff --git a/testing/ocaml-logs/APKBUILD b/testing/ocaml-logs/APKBUILD
index b32ba37b00f..955f628897d 100644
--- a/testing/ocaml-logs/APKBUILD
+++ b/testing/ocaml-logs/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.7.0
pkgrel=3
pkgdesc="Logging infrastructure for OCaml"
url="https://erratique.ch/software/logs"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-lru/APKBUILD b/testing/ocaml-lru/APKBUILD
index 973a027fa7e..20c73e74cd5 100644
--- a/testing/ocaml-lru/APKBUILD
+++ b/testing/ocaml-lru/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.3.0
pkgrel=2
pkgdesc="Scalable LRU caches"
url="https://github.com/pqwy/lru"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-psq-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-lwd/APKBUILD b/testing/ocaml-lwd/APKBUILD
index 4806db47b13..63b250ca342 100644
--- a/testing/ocaml-lwd/APKBUILD
+++ b/testing/ocaml-lwd/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.3
pkgrel=0
pkgdesc="Lightweight reactive documents"
url="https://github.com/let-def/lwd"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-lwt-dllist/APKBUILD b/testing/ocaml-lwt-dllist/APKBUILD
index eef608cca45..450aa169833 100644
--- a/testing/ocaml-lwt-dllist/APKBUILD
+++ b/testing/ocaml-lwt-dllist/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.1
pkgrel=3
pkgdesc="Mutable doubly-linked list with Lwt iterators"
url="https://github.com/mirage/lwt-dllist"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-lwt-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-lwt/APKBUILD b/testing/ocaml-lwt/APKBUILD
index 31238be27f3..d989c294f6b 100644
--- a/testing/ocaml-lwt/APKBUILD
+++ b/testing/ocaml-lwt/APKBUILD
@@ -6,7 +6,7 @@ pkgver=5.7.0
pkgrel=0
pkgdesc="OCaml promises and concurrent I/O"
url="https://github.com/ocsigen/lwt"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="
libev-dev
diff --git a/testing/ocaml-lwt_log/APKBUILD b/testing/ocaml-lwt_log/APKBUILD
index 6895e5abbba..002c445b700 100644
--- a/testing/ocaml-lwt_log/APKBUILD
+++ b/testing/ocaml-lwt_log/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.1.1
pkgrel=5
pkgdesc="Lwt-friendly logger"
url="https://github.com/ocsigen/lwt_log"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.0-or-later"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-lwt-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-markup/APKBUILD b/testing/ocaml-markup/APKBUILD
index 6eaa319767c..5e10202d1cc 100644
--- a/testing/ocaml-markup/APKBUILD
+++ b/testing/ocaml-markup/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.3
pkgrel=3
pkgdesc="Error-recovering functional HTML5 and XML parsers and writers for OCaml"
url="https://aantron.github.io/markup.ml"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
checkdepends="ocaml-result-dev ocaml-ounit-dev"
diff --git a/testing/ocaml-menhir/APKBUILD b/testing/ocaml-menhir/APKBUILD
index 22bdfd1e869..6a98029c8d9 100644
--- a/testing/ocaml-menhir/APKBUILD
+++ b/testing/ocaml-menhir/APKBUILD
@@ -8,7 +8,7 @@ _commit=4f8151679e73cdfe598c42220ae869f904dfaa9a
pkgrel=2
pkgdesc="LR(1) parser generator for OCaml"
url="http://gallium.inria.fr/~fpottier/menhir/"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="GPL-2.0-only"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-merlin-extend/APKBUILD b/testing/ocaml-merlin-extend/APKBUILD
index 59144b2cda5..00e66758dc6 100644
--- a/testing/ocaml-merlin-extend/APKBUILD
+++ b/testing/ocaml-merlin-extend/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.6.1
pkgrel=2
pkgdesc="SDK to extend Merlin"
url="https://github.com/let-def/merlin-extend"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-metrics/APKBUILD b/testing/ocaml-metrics/APKBUILD
index a78ebfcc31e..1ba361924fe 100644
--- a/testing/ocaml-metrics/APKBUILD
+++ b/testing/ocaml-metrics/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.4.0
pkgrel=3
pkgdesc="Metrics infrastructure for OCaml"
url="https://github.com/mirage/metrics"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-mew/APKBUILD b/testing/ocaml-mew/APKBUILD
index d18100ed94b..0c19eb64994 100644
--- a/testing/ocaml-mew/APKBUILD
+++ b/testing/ocaml-mew/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.1.0
pkgrel=3
pkgdesc="Modal editing witch"
url="https://github.com/kandu/mew"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-trie-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-mew_vi/APKBUILD b/testing/ocaml-mew_vi/APKBUILD
index 3cf9d45c343..acb72641993 100644
--- a/testing/ocaml-mew_vi/APKBUILD
+++ b/testing/ocaml-mew_vi/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.5.0
pkgrel=3
pkgdesc="Modal editing witch (VI interpreter)"
url="https://github.com/kandu/mew_vi"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-mew-dev ocaml-react-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-mikmatch/APKBUILD b/testing/ocaml-mikmatch/APKBUILD
index d3b6697c5b2..bebef618e2d 100644
--- a/testing/ocaml-mikmatch/APKBUILD
+++ b/testing/ocaml-mikmatch/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.9
pkgrel=2
pkgdesc="OCaml syntax extension for regexps"
url="https://mjambon.github.io/mjambon2016/micmatch.html"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends="ocaml-tophide"
makedepends="
diff --git a/testing/ocaml-mirage-clock/APKBUILD b/testing/ocaml-mirage-clock/APKBUILD
index 83a1e637c9b..6bfa659f66e 100644
--- a/testing/ocaml-mirage-clock/APKBUILD
+++ b/testing/ocaml-mirage-clock/APKBUILD
@@ -6,7 +6,7 @@ pkgver=4.2.0
pkgrel=2
pkgdesc="Libraries and module types for portable clocks"
url="https://github.com/mirage/mirage-clock"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml dune-configurator"
diff --git a/testing/ocaml-mirage-crypto/APKBUILD b/testing/ocaml-mirage-crypto/APKBUILD
index 5b821c5dbc7..781de27360a 100644
--- a/testing/ocaml-mirage-crypto/APKBUILD
+++ b/testing/ocaml-mirage-crypto/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.10.6
pkgrel=3
pkgdesc="Simple symmetric cryptography for the modern age"
url="https://github.com/mirage/mirage-crypto"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
# ocaml-zarith is not separated into a -dev subpackage
depends_dev="
diff --git a/testing/ocaml-mirage-flow/APKBUILD b/testing/ocaml-mirage-flow/APKBUILD
index 3fcca9aaa43..78e0bcdf8f1 100644
--- a/testing/ocaml-mirage-flow/APKBUILD
+++ b/testing/ocaml-mirage-flow/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.0
pkgrel=3
pkgdesc="Flow implementations and combinators for MirageOS"
url="https://github.com/mirage/mirage-flow"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-mirage-kv/APKBUILD b/testing/ocaml-mirage-kv/APKBUILD
index c61172e2b75..5389fb98990 100644
--- a/testing/ocaml-mirage-kv/APKBUILD
+++ b/testing/ocaml-mirage-kv/APKBUILD
@@ -6,7 +6,7 @@ pkgver=4.0.1
pkgrel=3
pkgdesc="MirageOS signatures for key/value devices"
url="https://github.com/mirage/mirage-kv"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-fmt-dev ocaml-lwt-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-mirage-net/APKBUILD b/testing/ocaml-mirage-net/APKBUILD
index c9b4fee279f..f06cbebc51d 100644
--- a/testing/ocaml-mirage-net/APKBUILD
+++ b/testing/ocaml-mirage-net/APKBUILD
@@ -6,7 +6,7 @@ pkgver=4.0.0
pkgrel=3
pkgdesc="Network signatures for MirageOS"
url="https://github.com/mirage/mirage-net"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-mirage-profile/APKBUILD b/testing/ocaml-mirage-profile/APKBUILD
index d7b2f54ad62..081d2123a41 100644
--- a/testing/ocaml-mirage-profile/APKBUILD
+++ b/testing/ocaml-mirage-profile/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.9.1
pkgrel=3
pkgdesc="Collect runtime profiling information in CTF format"
url="https://github.com/mirage/mirage-profile"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-mirage-random/APKBUILD b/testing/ocaml-mirage-random/APKBUILD
index 99c936ce489..81207eedb38 100644
--- a/testing/ocaml-mirage-random/APKBUILD
+++ b/testing/ocaml-mirage-random/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.0
pkgrel=3
pkgdesc="Random-related devices for MirageOS"
url="https://github.com/mirage/mirage-random"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-cstruct-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-mirage-time/APKBUILD b/testing/ocaml-mirage-time/APKBUILD
index 1e0721afda0..2a895232083 100644
--- a/testing/ocaml-mirage-time/APKBUILD
+++ b/testing/ocaml-mirage-time/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.0
pkgrel=4
pkgdesc="Time operations for MirageOS"
url="https://github.com/mirage/mirage-time"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-lwt-dev ocaml-duration-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-mmap/APKBUILD b/testing/ocaml-mmap/APKBUILD
index dd48e63cea4..169af019aac 100644
--- a/testing/ocaml-mmap/APKBUILD
+++ b/testing/ocaml-mmap/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.2.0
pkgrel=3
pkgdesc="File mapping functionality"
url="https://github.com/mirage/mmap"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-bigarray-compat-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-mtime/APKBUILD b/testing/ocaml-mtime/APKBUILD
index 44d11af8c5d..fe65f63dfe4 100644
--- a/testing/ocaml-mtime/APKBUILD
+++ b/testing/ocaml-mtime/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.4.0
pkgrel=2
pkgdesc="Monotonic wall-clock time for OCaml"
url="https://erratique.ch/software/mtime"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-notty/APKBUILD b/testing/ocaml-notty/APKBUILD
index c6a14cffca2..1e588d0fb42 100644
--- a/testing/ocaml-notty/APKBUILD
+++ b/testing/ocaml-notty/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.3
pkgrel=0
pkgdesc="Declarative terminal library for OCaml"
url="https://github.com/pqwy/notty"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-num/APKBUILD b/testing/ocaml-num/APKBUILD
index f8fda59e449..38c6f0a7fec 100644
--- a/testing/ocaml-num/APKBUILD
+++ b/testing/ocaml-num/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.4
pkgrel=3
pkgdesc="Arbitray-precision rational arithmetic for OCaml"
url="https://github.com/ocaml/num"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-only WITH OCaml-LGPL-linking-exception AND MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="ocaml ocaml-compiler-libs ocaml-findlib"
diff --git a/testing/ocaml-obuild/APKBUILD b/testing/ocaml-obuild/APKBUILD
index a5a54bd5059..2de2c398b31 100644
--- a/testing/ocaml-obuild/APKBUILD
+++ b/testing/ocaml-obuild/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.1.11
pkgrel=0
pkgdesc="Simple package build system for ocaml"
url="https://github.com/ocaml-obuild/obuild"
-arch="all !riscv64" # restricted by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
makedepends="bash ocaml ocaml-findlib cmd:opam-installer"
options="!check" # no tests provided
diff --git a/testing/ocaml-ocf/APKBUILD b/testing/ocaml-ocf/APKBUILD
index 48eeeebab47..4e3c574b8ca 100644
--- a/testing/ocaml-ocf/APKBUILD
+++ b/testing/ocaml-ocf/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.8.0
pkgrel=3
pkgdesc="OCaml library to read and write configuration files in JSON syntax"
url="https://zoggy.frama.io/ocf/"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-3.0-only"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-ocplib-endian/APKBUILD b/testing/ocaml-ocplib-endian/APKBUILD
index f2b3ba44667..ed95e33dd13 100644
--- a/testing/ocaml-ocplib-endian/APKBUILD
+++ b/testing/ocaml-ocplib-endian/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.2
pkgrel=3
pkgdesc="Optimised functions to read and write int16/32/64 from strings and bigarrays"
url="https://github.com/OCamlPro/ocplib-endian"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="$depends_dev dune ocaml ocaml-cppo"
diff --git a/testing/ocaml-omake/APKBUILD b/testing/ocaml-omake/APKBUILD
index 5ae0db3f1c9..72dad33b4f3 100644
--- a/testing/ocaml-omake/APKBUILD
+++ b/testing/ocaml-omake/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.10.6
pkgrel=0
pkgdesc="Build system designed for scalability and portability"
url="http://projects.camlcity.org/projects/omake.html"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="GPL-2.0-only"
makedepends="ocaml ocaml-findlib"
options="!check"
diff --git a/testing/ocaml-omod/APKBUILD b/testing/ocaml-omod/APKBUILD
index 119540f575e..01f6b2d1071 100644
--- a/testing/ocaml-omod/APKBUILD
+++ b/testing/ocaml-omod/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.0.3
pkgrel=3
pkgdesc="Lookup and load installed OCaml modules"
url="https://erratique.ch/software/omod"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends="$pkgname-bin"
depends_dev="$pkgname=$pkgver-r$pkgrel"
diff --git a/testing/ocaml-otr/APKBUILD b/testing/ocaml-otr/APKBUILD
index d589ca1c0c3..7f44cd86157 100644
--- a/testing/ocaml-otr/APKBUILD
+++ b/testing/ocaml-otr/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.3.10
pkgrel=2
pkgdesc="Off the record implementation purely in OCaml"
url="https://github.com/hannesm/ocaml-otr"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-ounit/APKBUILD b/testing/ocaml-ounit/APKBUILD
index 55bda0d473c..dcc971f3712 100644
--- a/testing/ocaml-ounit/APKBUILD
+++ b/testing/ocaml-ounit/APKBUILD
@@ -6,7 +6,7 @@ pkgver=2.2.7
pkgrel=3
pkgdesc="A unit test framework for OCaml"
url="https://github.com/gildor478/ounit"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-parsexp/APKBUILD b/testing/ocaml-parsexp/APKBUILD
index ac6a71fb055..f303215ff73 100644
--- a/testing/ocaml-parsexp/APKBUILD
+++ b/testing/ocaml-parsexp/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.16.0
pkgrel=0
pkgdesc="S-expression parsing library"
url="https://github.com/janestreet/parsexp"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-sexplib0-dev"
diff --git a/testing/ocaml-pbkdf/APKBUILD b/testing/ocaml-pbkdf/APKBUILD
index a128432b6c6..fe9445379d7 100644
--- a/testing/ocaml-pbkdf/APKBUILD
+++ b/testing/ocaml-pbkdf/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.2.0
pkgrel=2
pkgdesc="Password based key derivation functions (PBKDF) from PKCS#5"
url="https://github.com/abeaumont/ocaml-pbkdf"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-pcre/APKBUILD b/testing/ocaml-pcre/APKBUILD
index 034a92ac17c..c99134c1c23 100644
--- a/testing/ocaml-pcre/APKBUILD
+++ b/testing/ocaml-pcre/APKBUILD
@@ -6,7 +6,7 @@ pkgver=7.5.0
pkgrel=4
pkgdesc="OCaml bindings to the Perl Compatibility Regular Expressions (PCRE) library"
url="https://mmottl.github.io/pcre-ocaml"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
depends_dev="$pkgname=$pkgver-r$pkgrel pcre-dev"
makedepends="$depends_dev dune dune-configurator ocaml"
diff --git a/testing/ocaml-ppx_derivers/APKBUILD b/testing/ocaml-ppx_derivers/APKBUILD
index c9edf61921d..0183b0cfea4 100644
--- a/testing/ocaml-ppx_derivers/APKBUILD
+++ b/testing/ocaml-ppx_derivers/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.2.1
pkgrel=2
pkgdesc="Shared [@@deriving] plugins registry"
url="https://github.com/ocaml-ppx/ppx_derivers"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-findlib"
diff --git a/testing/ocaml-ppx_deriving/APKBUILD b/testing/ocaml-ppx_deriving/APKBUILD
index 06c8302e220..cf82ad49131 100644
--- a/testing/ocaml-ppx_deriving/APKBUILD
+++ b/testing/ocaml-ppx_deriving/APKBUILD
@@ -6,7 +6,7 @@ pkgver=5.3.0
pkgrel=0
pkgdesc="Type-driven code generation for OCaml"
url="https://github.com/ocaml-ppx/ppx_deriving"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-ppxlib-dev ocaml-result-dev"
makedepends="$depends_dev dune ocaml ocaml-cppo ocaml-findlib-dev"
diff --git a/testing/ocaml-ppx_sexp_conv/APKBUILD b/testing/ocaml-ppx_sexp_conv/APKBUILD
index febe91be430..4b94b427778 100644
--- a/testing/ocaml-ppx_sexp_conv/APKBUILD
+++ b/testing/ocaml-ppx_sexp_conv/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.16.0
pkgrel=0
pkgdesc="[@@deriving] plugin to generate S-expression conversion functions"
url="https://github.com/janestreet/ppx_sexp_conv"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-ppxlib/APKBUILD b/testing/ocaml-ppxlib/APKBUILD
index d52db078f60..3a9c8c89ed7 100644
--- a/testing/ocaml-ppxlib/APKBUILD
+++ b/testing/ocaml-ppxlib/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.32.0
pkgrel=0
pkgdesc="Standard library for ppx rewriters"
url="https://github.com/ocaml-ppx/ppxlib"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-psq/APKBUILD b/testing/ocaml-psq/APKBUILD
index 33306683150..5a6b0aaa443 100644
--- a/testing/ocaml-psq/APKBUILD
+++ b/testing/ocaml-psq/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.0
pkgrel=2
pkgdesc="Functional Priority Search Queues"
url="https://github.com/pqwy/psq"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-seq-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-ptime/APKBUILD b/testing/ocaml-ptime/APKBUILD
index d332e8d299f..065b9342d6b 100644
--- a/testing/ocaml-ptime/APKBUILD
+++ b/testing/ocaml-ptime/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.0
pkgrel=2
pkgdesc="POSIX time for OCaml"
url="https://erratique.ch/software/ptime"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-ptmap/APKBUILD b/testing/ocaml-ptmap/APKBUILD
index 350402052b6..f99d3ec1cc3 100644
--- a/testing/ocaml-ptmap/APKBUILD
+++ b/testing/ocaml-ptmap/APKBUILD
@@ -6,7 +6,7 @@ pkgver=2.0.5
pkgrel=3
pkgdesc="Maps over integers implemented as Patricia trees"
url="https://github.com/backtracking/ptmap"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-qcheck/APKBUILD b/testing/ocaml-qcheck/APKBUILD
index 043646b8d6c..38ed0d5627c 100644
--- a/testing/ocaml-qcheck/APKBUILD
+++ b/testing/ocaml-qcheck/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.18.1
pkgrel=3
pkgdesc="QuickCheck inspired property-based testing for OCaml"
url="https://github.com/c-cube/qcheck"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-findlib ocaml-ounit-dev ocaml-seq-dev ocaml-stdlib-shims"
diff --git a/testing/ocaml-qtest/APKBUILD b/testing/ocaml-qtest/APKBUILD
index 79dcb0a8cb9..788f4022353 100644
--- a/testing/ocaml-qtest/APKBUILD
+++ b/testing/ocaml-qtest/APKBUILD
@@ -6,7 +6,7 @@ pkgver=2.11.2
pkgrel=3
pkgdesc="Lightweight inline test extraction from comments"
url="https://github.com/vincent-hugot/qtest"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="GPL-3.0-or-later"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-findlib ocaml-qcheck-dev ocaml-ounit-dev"
diff --git a/testing/ocaml-randomconv/APKBUILD b/testing/ocaml-randomconv/APKBUILD
index d37638a383a..caa5187691a 100644
--- a/testing/ocaml-randomconv/APKBUILD
+++ b/testing/ocaml-randomconv/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.1.3
pkgrel=2
pkgdesc="Convert from random byte vectors (Cstruct.t) to random native numbers"
url="https://github.com/hannesm/randomconv"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-cstruct-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-re/APKBUILD b/testing/ocaml-re/APKBUILD
index 3d441b9dfe4..f055d15b97e 100644
--- a/testing/ocaml-re/APKBUILD
+++ b/testing/ocaml-re/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.11.0
pkgrel=1
pkgdesc="Pure OCaml regular expressions, with support for Perl and POSIX-style strings"
url="https://github.com/ocaml/ocaml-re"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-seq-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-react/APKBUILD b/testing/ocaml-react/APKBUILD
index 924fd5bb110..add2fc698c1 100644
--- a/testing/ocaml-react/APKBUILD
+++ b/testing/ocaml-react/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.2.2
pkgrel=2
pkgdesc="OCaml framework for Functional Reactive Programming (FRP)"
url="https://erratique.ch/software/react"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-result/APKBUILD b/testing/ocaml-result/APKBUILD
index a3cb512e3b4..198c23063e5 100644
--- a/testing/ocaml-result/APKBUILD
+++ b/testing/ocaml-result/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.5
pkgrel=2
pkgdesc="Compatibility Result module"
url="https://github.com/janestreet/result"
-arch="all !riscv64" # limited by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-findlib"
diff --git a/testing/ocaml-rresult/APKBUILD b/testing/ocaml-rresult/APKBUILD
index 44b35118421..602510a5e2e 100644
--- a/testing/ocaml-rresult/APKBUILD
+++ b/testing/ocaml-rresult/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.7.0
pkgrel=2
pkgdesc="Result value combinators for OCaml"
url="https://erratique.ch/software/rresult"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-sedlex/APKBUILD b/testing/ocaml-sedlex/APKBUILD
index 81f2416228c..04d60305023 100644
--- a/testing/ocaml-sedlex/APKBUILD
+++ b/testing/ocaml-sedlex/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.2
pkgrel=0
pkgdesc="An OCaml lexer generator for Unicode"
url="https://github.com/ocaml-community/sedlex"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-gen-dev ocaml-ppxlib-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocaml-seq/APKBUILD b/testing/ocaml-seq/APKBUILD
index 8d036944723..a500cad0f0d 100644
--- a/testing/ocaml-seq/APKBUILD
+++ b/testing/ocaml-seq/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.3.1
pkgrel=2
pkgdesc="Compatibility package for the standard OCaml iterator type"
url="https://github.com/c-cube/seq"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-only"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-findlib"
diff --git a/testing/ocaml-sexplib/APKBUILD b/testing/ocaml-sexplib/APKBUILD
index 8059a5af4ed..75e9434a8e5 100644
--- a/testing/ocaml-sexplib/APKBUILD
+++ b/testing/ocaml-sexplib/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.16.0
pkgrel=0
pkgdesc="Library for serializing OCaml values to and from S-expressions"
url="https://github.com/janestreet/sexplib"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-sexplib0/APKBUILD b/testing/ocaml-sexplib0/APKBUILD
index 5964fff7a02..e14a9650f8c 100644
--- a/testing/ocaml-sexplib0/APKBUILD
+++ b/testing/ocaml-sexplib0/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.16.0
pkgrel=0
pkgdesc="Library containing the definition of S-expressions and some base converters"
url="https://github.com/janestreet/sexplib0"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml"
diff --git a/testing/ocaml-sha/APKBUILD b/testing/ocaml-sha/APKBUILD
index 32a5c361e40..55e80867211 100644
--- a/testing/ocaml-sha/APKBUILD
+++ b/testing/ocaml-sha/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.15.4
pkgrel=0
pkgdesc="Binding to the SHA cryptographic functions"
url="https://github.com/djs55/ocaml-sha"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-findlib ocaml-ounit-dev ocaml-stdlib-shims ocaml-seq-dev"
diff --git a/testing/ocaml-stdlib-shims/APKBUILD b/testing/ocaml-stdlib-shims/APKBUILD
index 0cd77c2422a..847f4053534 100644
--- a/testing/ocaml-stdlib-shims/APKBUILD
+++ b/testing/ocaml-stdlib-shims/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.3.0
pkgrel=2
pkgdesc="OCaml Shims to substitute Pervasives with Stdlib"
url="https://github.com/ocaml/stdlib-shims"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
makedepends="dune ocaml ocaml-findlib ocaml-compiler-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/ocaml/stdlib-shims/archive/$pkgver.tar.gz"
diff --git a/testing/ocaml-stringext/APKBUILD b/testing/ocaml-stringext/APKBUILD
index 3a3d66e1f6a..c305028d691 100644
--- a/testing/ocaml-stringext/APKBUILD
+++ b/testing/ocaml-stringext/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.6.0
pkgrel=2
pkgdesc="Extra string functions for OCaml"
url="https://github.com/rgrinberg/stringext"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml"
diff --git a/testing/ocaml-tcpip/APKBUILD b/testing/ocaml-tcpip/APKBUILD
index aa4d0fa5ea9..8a191430c73 100644
--- a/testing/ocaml-tcpip/APKBUILD
+++ b/testing/ocaml-tcpip/APKBUILD
@@ -6,7 +6,7 @@ pkgver=7.1.2
pkgrel=3
pkgdesc="OCaml TCP/IP networking stack, used in MirageOS"
url="https://github.com/mirage/mirage-tcpip"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
# ocaml-bisect_ppx only needed for dev
depends_dev="
diff --git a/testing/ocaml-tls/APKBUILD b/testing/ocaml-tls/APKBUILD
index 8492034df6c..79ccbe53eba 100644
--- a/testing/ocaml-tls/APKBUILD
+++ b/testing/ocaml-tls/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.15.3
pkgrel=4
pkgdesc="Transport Layer Security purely in OCaml"
url="https://github.com/mirleft/ocaml-tls"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-tophide/APKBUILD b/testing/ocaml-tophide/APKBUILD
index c1a01764524..feca779f93b 100644
--- a/testing/ocaml-tophide/APKBUILD
+++ b/testing/ocaml-tophide/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.4
pkgrel=2
pkgdesc="Hide OCaml toplevel values whose name starts with an underscore"
url="https://github.com/mjambon/tophide"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
makedepends="ocaml ocaml-compiler-libs ocaml-findlib"
options="!check"
diff --git a/testing/ocaml-topkg/APKBUILD b/testing/ocaml-topkg/APKBUILD
index 2582e2af871..aed4ef05edf 100644
--- a/testing/ocaml-topkg/APKBUILD
+++ b/testing/ocaml-topkg/APKBUILD
@@ -7,7 +7,7 @@ pkgver=1.0.5
pkgrel=2
pkgdesc="The transitory OCaml software packager"
url="https://erratique.ch/software/topkg"
-arch="all !riscv64" # restricted by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-trie/APKBUILD b/testing/ocaml-trie/APKBUILD
index e4a900ece60..051486a7811 100644
--- a/testing/ocaml-trie/APKBUILD
+++ b/testing/ocaml-trie/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.0
pkgrel=2
pkgdesc="Strict impure trie tree OCaml module"
url="https://github.com/kandu/trie/"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml"
diff --git a/testing/ocaml-uri/APKBUILD b/testing/ocaml-uri/APKBUILD
index df220153573..e06be9b1ef3 100644
--- a/testing/ocaml-uri/APKBUILD
+++ b/testing/ocaml-uri/APKBUILD
@@ -6,7 +6,7 @@ pkgver=4.2.0
pkgrel=2
pkgdesc="RFC3986 URI/URL parsing library for OCaml"
url="https://github.com/mirage/ocaml-uri"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-uucd/APKBUILD b/testing/ocaml-uucd/APKBUILD
index e75a6cdabc8..e9018dacf53 100644
--- a/testing/ocaml-uucd/APKBUILD
+++ b/testing/ocaml-uucd/APKBUILD
@@ -6,7 +6,7 @@ pkgver=14.0.0
pkgrel=2
pkgdesc="Unicode character database decoder for OCaml"
url="https://erratique.ch/software/uucd"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-uucp/APKBUILD b/testing/ocaml-uucp/APKBUILD
index 39784f1b27f..0b25076047d 100644
--- a/testing/ocaml-uucp/APKBUILD
+++ b/testing/ocaml-uucp/APKBUILD
@@ -6,8 +6,8 @@ pkgver=14.0.0
pkgrel=2
pkgdesc="Unicode character properties for OCaml"
url="https://erratique.ch/software/uucp"
-# limited by riscv64: ocaml, ppc64le: ocaml-uunf
-arch="all !riscv64 !ppc64le"
+# limited by riscv64, loongarch64: ocaml, ppc64le: ocaml-uunf
+arch="all !riscv64 !loongarch64 !ppc64le"
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-uuidm/APKBUILD b/testing/ocaml-uuidm/APKBUILD
index a8ad83a6cf2..62ec82a94b8 100644
--- a/testing/ocaml-uuidm/APKBUILD
+++ b/testing/ocaml-uuidm/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.9.8
pkgrel=2
pkgdesc="Universally unique identifiers (UUIDs) for OCaml"
url="https://erratique.ch/software/uuidm"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-cmdliner-dev"
makedepends="
diff --git a/testing/ocaml-uunf/APKBUILD b/testing/ocaml-uunf/APKBUILD
index 49838c02558..5baeb6b156c 100644
--- a/testing/ocaml-uunf/APKBUILD
+++ b/testing/ocaml-uunf/APKBUILD
@@ -6,9 +6,9 @@ pkgver=14.0.0
pkgrel=2
pkgdesc="Unicode text normalization for OCaml"
url="https://erratique.ch/software/uunf"
-# riscv64: restricted by ocaml aport
+# riscv64, loongarch64: restricted by ocaml aport
# ppc64le: ocamlopt exited with code 2 while compiling uunf_data.ml
-arch="all !riscv64 !ppc64le"
+arch="all !riscv64 !loongarch64 !ppc64le"
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-uuseg/APKBUILD b/testing/ocaml-uuseg/APKBUILD
index f55e00cdfa4..27279deac6b 100644
--- a/testing/ocaml-uuseg/APKBUILD
+++ b/testing/ocaml-uuseg/APKBUILD
@@ -6,8 +6,8 @@ pkgver=14.0.0
pkgrel=2
pkgdesc="Unicode text segmentation for OCaml"
url="https://erratique.ch/software/uuseg"
-# limited by riscv64: ocaml, ppc64le: ocaml-uucp
-arch="all !riscv64 !ppc64le"
+# limited by riscv64, loongarch64: ocaml, ppc64le: ocaml-uucp
+arch="all !riscv64 !loongarch64 !ppc64le"
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-uucp-dev ocaml-uutf-dev"
makedepends="
diff --git a/testing/ocaml-uutf/APKBUILD b/testing/ocaml-uutf/APKBUILD
index bd2d6f5ac99..6c44a08fc1c 100644
--- a/testing/ocaml-uutf/APKBUILD
+++ b/testing/ocaml-uutf/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.3
pkgrel=2
pkgdesc="Non-blocking streaming Unicode codec for OCaml"
url="https://erratique.ch/software/uutf"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-x509/APKBUILD b/testing/ocaml-x509/APKBUILD
index 89bbf91be80..f1a1ca7df42 100644
--- a/testing/ocaml-x509/APKBUILD
+++ b/testing/ocaml-x509/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.16.0
pkgrel=2
pkgdesc="Public Key Infrastructure (RFC 5280, PKCS) purely in OCaml"
url="https://github.com/mirleft/ocaml-x509"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-2-Clause"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml-xml-light/APKBUILD b/testing/ocaml-xml-light/APKBUILD
index c79f93e14a3..5edd35d5da7 100644
--- a/testing/ocaml-xml-light/APKBUILD
+++ b/testing/ocaml-xml-light/APKBUILD
@@ -6,7 +6,7 @@ pkgver=2.5
pkgrel=0
pkgdesc="Minimal XML parser and printer for OCaml"
url="https://github.com/ncannasse/xml-light"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml"
diff --git a/testing/ocaml-xmlm/APKBUILD b/testing/ocaml-xmlm/APKBUILD
index 048add6733e..0399de29789 100644
--- a/testing/ocaml-xmlm/APKBUILD
+++ b/testing/ocaml-xmlm/APKBUILD
@@ -6,7 +6,7 @@ pkgver=1.4.0
pkgrel=2
pkgdesc="Streaming XML codec for OCaml"
url="https://erratique.ch/software/xmlm"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocaml-yojson/APKBUILD b/testing/ocaml-yojson/APKBUILD
index e09cc416270..c74cfa9ae02 100644
--- a/testing/ocaml-yojson/APKBUILD
+++ b/testing/ocaml-yojson/APKBUILD
@@ -6,7 +6,7 @@ pkgver=2.1.2
pkgrel=0
pkgdesc="JSON parsing and pretty-printing library for OCaml"
url="https://github.com/ocaml-community/yojson"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends_dev="$pkgname=$pkgver-r$pkgrel ocaml-seq-dev"
makedepends="$depends_dev dune ocaml ocaml-cppo ocaml-findlib"
diff --git a/testing/ocaml-zarith/APKBUILD b/testing/ocaml-zarith/APKBUILD
index fd47963eac2..6b48859b8f8 100644
--- a/testing/ocaml-zarith/APKBUILD
+++ b/testing/ocaml-zarith/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.12
pkgrel=5
pkgdesc="library implementing arithmetic and logical operations"
url="https://github.com/ocaml/Zarith"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.0-only WITH OCaml-LGPL-linking-exception"
depends="gmp-dev" # zarith is not split into a -dev subpackage
makedepends="
diff --git a/testing/ocaml-zed/APKBUILD b/testing/ocaml-zed/APKBUILD
index bdc73dca1dd..70ca41ded48 100644
--- a/testing/ocaml-zed/APKBUILD
+++ b/testing/ocaml-zed/APKBUILD
@@ -6,7 +6,7 @@ pkgver=3.1.0
pkgrel=3
pkgdesc="Abstract engine for text edition in OCaml"
url="https://github.com/ocaml-community/zed"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends_dev="
$pkgname=$pkgver-r$pkgrel
diff --git a/testing/ocaml5/APKBUILD b/testing/ocaml5/APKBUILD
index 1cbd7d7e085..822775727c0 100644
--- a/testing/ocaml5/APKBUILD
+++ b/testing/ocaml5/APKBUILD
@@ -8,7 +8,8 @@ pkgver=5.1.1
pkgrel=0
pkgdesc="Main implementation of the Caml programming language"
url="https://ocaml.org/"
-arch="all"
+# loongarch64: no upstream support
+arch="all !loongarch64"
license="LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
depends="$pkgname-runtime=$pkgver-r$pkgrel gcc"
checkdepends="parallel"
diff --git a/testing/ocamlnet/APKBUILD b/testing/ocamlnet/APKBUILD
index 4d76c4c832c..5df97c3fc4e 100644
--- a/testing/ocamlnet/APKBUILD
+++ b/testing/ocamlnet/APKBUILD
@@ -5,7 +5,7 @@ pkgver=4.1.9
pkgrel=2
pkgdesc="Network and system programming library for OCaml"
url="http://projects.camlcity.org/projects/ocamlnet.html"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="zlib-acknowledgement AND BSD-3-Clause AND GPL-2.0-only"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
diff --git a/testing/ocp-indent/APKBUILD b/testing/ocp-indent/APKBUILD
index c1648de081e..4316deb5e66 100644
--- a/testing/ocp-indent/APKBUILD
+++ b/testing/ocp-indent/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.8.2
pkgrel=2
pkgdesc="OCaml source code indenter"
url="http://www.typerex.org/ocp-indent.html"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
depends_dev="ocaml-cmdliner-dev ocaml-findlib-dev"
makedepends="$depends_dev dune ocaml"
diff --git a/testing/ocp-index/APKBUILD b/testing/ocp-index/APKBUILD
index 8ca84e017ea..5f08f93f5d3 100644
--- a/testing/ocp-index/APKBUILD
+++ b/testing/ocp-index/APKBUILD
@@ -5,7 +5,7 @@ pkgver=1.3.6
pkgrel=0
pkgdesc="Lightweight completion and documentation browsing for OCaml libraries"
url="http://www.typerex.org/ocp-index.html"
-arch="all !riscv64" # limited by ocaml aport
+arch="all !riscv64 !loongarch64" # ocaml
license="LGPL-2.1-only WITH OCaml-LGPL-linking-exception AND GPL-3.0-only"
depends_dev="
ocaml-cmdliner-dev
diff --git a/testing/reason/APKBUILD b/testing/reason/APKBUILD
index 4759f994763..8c0c9164f2f 100644
--- a/testing/reason/APKBUILD
+++ b/testing/reason/APKBUILD
@@ -5,7 +5,7 @@ pkgver=3.8.2
pkgrel=1
pkgdesc="Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems"
url="https://reasonml.github.io/"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="MIT"
checkdepends="nodejs utop-full"
makedepends="
diff --git a/testing/utop/APKBUILD b/testing/utop/APKBUILD
index 0f570efc76c..ad78e473f97 100644
--- a/testing/utop/APKBUILD
+++ b/testing/utop/APKBUILD
@@ -5,7 +5,7 @@ pkgver=2.9.1
pkgrel=4
pkgdesc="Universal toplevel for OCaml"
url="https://github.com/ocaml-community/utop"
-arch="all !riscv64" # restricted by ocaml
+arch="all !riscv64 !loongarch64" # ocaml
license="BSD-3-Clause"
depends="
ocaml-$pkgname=$pkgver-r$pkgrel