testing/ocaml-uunf: enable on ppc64le

This commit is contained in:
Celeste 2024-04-19 16:32:37 +00:00
parent f8b8f366ae
commit 32d7972d5c

View File

@ -6,9 +6,7 @@ pkgver=14.0.0
pkgrel=2
pkgdesc="Unicode text normalization for OCaml"
url="https://erratique.ch/software/uunf"
# riscv64, loongarch64: restricted by ocaml aport
# ppc64le: ocamlopt exited with code 2 while compiling uunf_data.ml
arch="all !riscv64 !loongarch64 !ppc64le"
arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
@ -34,6 +32,12 @@ case "$CARCH" in
esac
build() {
# Workaround ocamlopt exiting with code 2 while compiling uunf_data.ml
if [ "$CARCH" = ppc64le ]; then
ulimit -Hs unlimited
ulimit -Ss 65536
fi
ocaml pkg/pkg.ml build \
--with-uutf true \
--with-cmdliner true