ocaml-zarith: skip tests when bytecode only.

This commit is contained in:
Leah Neukirchen 2024-02-24 01:49:24 +01:00
parent 0ee43e2bf9
commit 5aa506a7c2
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,6 @@ pkgname=ocaml-zarith
version=1.13
revision=1
build_style=configure
make_check_target="tests"
hostmakedepends="perl"
makedepends="gmp-devel ocaml"
depends="gmp-devel"
@ -25,3 +24,7 @@ pre_install() {
post_install() {
vcopy META usr/lib/ocaml/zarith
}
do_check() {
command -v ocamlc.opt >/dev/null || return 0
make tests
}