Rework conditional
This commit is contained in:
parent
d121d46377
commit
56ec04471d
@ -16,12 +16,16 @@
|
||||
# All arches have mpich
|
||||
%bcond_without mpich
|
||||
|
||||
%if 0%{?fedora} >= 40 && "%{_arch}" == "i686"
|
||||
%if 0%{?fedora} >= 40
|
||||
%ifarch %{ix86}
|
||||
# No OpenMPI support on these arches
|
||||
%bcond_with openmpi
|
||||
%else
|
||||
%bcond_without openmpi
|
||||
%endif
|
||||
%else
|
||||
%bcond_without openmpi
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%ifnarch %{ix86} x86_64 %{arm} ppc64 ppc64le aarch64 s390x riscv64
|
||||
|
Loading…
Reference in New Issue
Block a user