Rework conditional
This commit is contained in:
parent
d121d46377
commit
56ec04471d
1 changed files with 7 additions and 3 deletions
10
boost.spec
10
boost.spec
|
|
@ -16,9 +16,13 @@
|
|||
# All arches have mpich
|
||||
%bcond_without mpich
|
||||
|
||||
%if 0%{?fedora} >= 40 && "%{_arch}" == "i686"
|
||||
# No OpenMPI support on these arches
|
||||
%bcond_with openmpi
|
||||
%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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue