diff --git a/ocaml-stdint.spec b/ocaml-stdint.spec index 04013cc..fe70a84 100644 --- a/ocaml-stdint.spec +++ b/ocaml-stdint.spec @@ -55,6 +55,12 @@ Documentation for %{name}. %prep %autosetup -n %{srcname}-%{version} -p1 +# Skip 128-bit tests on 32-bit platforms. The necessary functions are not +# fully implemented. +%if 0%{?__isa_bits} == 32 +sed -i '/"Int128.*"/d;/"Uint128.*"/d' tests/stdint_test.ml +%endif + %build dune build %{?_smp_mflags} --display=verbose dune build %{?_smp_mflags} @doc