Rework conditional

This commit is contained in:
Orion Poplawski 2023-10-29 12:44:09 -06:00
parent d121d46377
commit 56ec04471d

View File

@ -16,9 +16,13 @@
# All arches have mpich # All arches have mpich
%bcond_without mpich %bcond_without mpich
%if 0%{?fedora} >= 40 && "%{_arch}" == "i686" %if 0%{?fedora} >= 40
# No OpenMPI support on these arches %ifarch %{ix86}
%bcond_with openmpi # No OpenMPI support on these arches
%bcond_with openmpi
%else
%bcond_without openmpi
%endif
%else %else
%bcond_without openmpi %bcond_without openmpi
%endif %endif