diff --git a/ocaml-tplib.spec b/ocaml-tplib.spec index 13df763..ea1007b 100644 --- a/ocaml-tplib.spec +++ b/ocaml-tplib.spec @@ -91,9 +91,16 @@ cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} \ %{buildroot}%{_mandir}/man1 %check +# Disable tests on ppc64le for now. With ocaml 4.09.0, errors like this occur +# when linking the tests: +# _build/src/bindings/libtplib_double.a(tplib_double_callback.obj.o): in function `camlStdlib__arg__assoc3_118': +# (.text+0xe9258): relocation truncated to fit: R_PPC64_TOC16_DS against `.toc'+101d0 +# (.text+0xe9298): relocation truncated to fit: R_PPC64_TOC16_DS against `.toc'+ffe8 +%ifnarch %{power64} make test _build/tests/test_tplib_double _build/tests/test_tplib_rational +%endif %files %doc README