From ebbf4c122f2f8804a6da5b29c56cfeacc425b49e Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 12 Oct 2023 12:34:40 -0600 Subject: [PATCH] Configure with --enable-ocamltest on test_arches --- ocaml.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ocaml.spec b/ocaml.spec index 6aa019b..8fbbb76 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -268,6 +268,11 @@ sed -i '/^EXTRACAMLFLAGS=/aLINKOPTS=-cclib -lm' otherlibs/unix/Makefile %if 0%{?_include_frame_pointers} --enable-frame-pointers \ %endif +%endif +%ifarch %{test_arches} + --enable-ocamltest \ +%else + --disable-ocamltest \ %endif OC_CFLAGS='%{build_cflags}' \ OC_LDFLAGS='%{build_ldflags}' \ @@ -297,10 +302,6 @@ annocheck -v hello ||: %endif %ifarch %{test_arches} -make ocamltest -%ifarch %{ocaml_native_compiler} -make ocamltest.opt -%endif %ifarch %{test_arches_required} make -j1 tests %else