Rework conditional
This commit is contained in:
parent
ae33a35f06
commit
862b561b07
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user