Skip 128-bit tests on 32-bit architectures.

This commit is contained in:
Jerry James 2020-12-02 16:29:47 -07:00
parent 55342ebc69
commit cf10912de2

View File

@ -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