fix build on s390x

This commit is contained in:
Christoph Junghans 2020-01-24 19:21:03 -07:00
parent a2b0e91cb0
commit 3151bcb9a6
1 changed files with 4 additions and 0 deletions

View File

@ -104,6 +104,10 @@ cp -r doc/html/* %{buildroot}%{_docdir}/%{name}
%check
%{_openmpi_load}
# https://github.com/open-mpi/ompi/issues/7335
%ifarch s390x
export PMIX_MCA_gds=hash
%endif
make -C openmpi check
%{_openmpi_unload}
%{_mpich_load}