Rework conditional

This commit is contained in:
Orion Poplawski 2023-10-29 12:46:26 -06:00
parent ae33a35f06
commit 862b561b07

View File

@ -31,11 +31,15 @@
%endif %endif
%bcond_without mpich %bcond_without mpich
%if 0%{?fedora} >= 40 && "%{_arch}" == "i686" %if 0%{?fedora} >= 40
%ifarch %{ix86}
%bcond_with openmpi %bcond_with openmpi
%else %else
%bcond_without openmpi %bcond_without openmpi
%endif %endif
%else
%bcond_without openmpi
%endif
%if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64 %if %{?__isa_bits:%{__isa_bits}}%{!?__isa_bits:32} == 64
%bcond_without arch64 %bcond_without arch64