mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/ocaml-uunf: enable on ppc64le
This commit is contained in:
parent
f8b8f366ae
commit
32d7972d5c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user