Configure with --enable-ocamltest on test_arches
This commit is contained in:
parent
2ec55e949b
commit
ebbf4c122f
@ -268,6 +268,11 @@ sed -i '/^EXTRACAMLFLAGS=/aLINKOPTS=-cclib -lm' otherlibs/unix/Makefile
|
|||||||
%if 0%{?_include_frame_pointers}
|
%if 0%{?_include_frame_pointers}
|
||||||
--enable-frame-pointers \
|
--enable-frame-pointers \
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
%ifarch %{test_arches}
|
||||||
|
--enable-ocamltest \
|
||||||
|
%else
|
||||||
|
--disable-ocamltest \
|
||||||
%endif
|
%endif
|
||||||
OC_CFLAGS='%{build_cflags}' \
|
OC_CFLAGS='%{build_cflags}' \
|
||||||
OC_LDFLAGS='%{build_ldflags}' \
|
OC_LDFLAGS='%{build_ldflags}' \
|
||||||
@ -297,10 +302,6 @@ annocheck -v hello ||:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{test_arches}
|
%ifarch %{test_arches}
|
||||||
make ocamltest
|
|
||||||
%ifarch %{ocaml_native_compiler}
|
|
||||||
make ocamltest.opt
|
|
||||||
%endif
|
|
||||||
%ifarch %{test_arches_required}
|
%ifarch %{test_arches_required}
|
||||||
make -j1 tests
|
make -j1 tests
|
||||||
%else
|
%else
|
||||||
|
Loading…
Reference in New Issue
Block a user