Accepting request 889563 from home:dimstar:Factory
- Follow the distro default openmpi implementation: + Eliminate the usage of the mpi_implem variable (obsolete) + BuildRequire openmpi-macros-devel instead of %{mpi_implem}-devel + Require openmpi-devel in the mpi-devel package + Use %setup_openmpi to source mpivars.sh - Add build support for gcc10 to HPC build (bsc#1174439). OBS-URL: https://build.opensuse.org/request/show/889563 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fftw3?expand=0&rev=91
This commit is contained in:
parent
78a1e25b50
commit
65fd755663
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 30 11:40:09 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Follow the distro default openmpi implementation:
|
||||
+ Eliminate the usage of the mpi_implem variable (obsolete)
|
||||
+ BuildRequire openmpi-macros-devel instead of %{mpi_implem}-devel
|
||||
+ Require openmpi-devel in the mpi-devel package
|
||||
+ Use %setup_openmpi to source mpivars.sh
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 6 10:13:41 UTC 2021 - Egbert Eich <eich@suse.com>
|
||||
|
||||
|
13
fftw3.spec
13
fftw3.spec
@ -24,9 +24,6 @@
|
||||
%define vers 3.3.9
|
||||
%define _ver 3_3_9
|
||||
|
||||
#For non HPC builds only
|
||||
%define mpi_implem openmpi2
|
||||
|
||||
%bcond_with ringdisabled
|
||||
|
||||
%if 0%{?sle_version} >= 150200
|
||||
@ -392,7 +389,7 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-fortran
|
||||
Requires: %{package_name}-libs = %{version}
|
||||
%ifnarch s390 s390x
|
||||
BuildRequires: %{mpi_implem}-devel
|
||||
BuildRequires: openmpi-macros-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -518,10 +515,10 @@ data, and of arbitrary input size.
|
||||
%package mpi-devel
|
||||
Summary: Discrete Fourier Transform (DFT) C subroutine library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{mpi_implem}-devel
|
||||
Requires: fftw3-devel = %{version}
|
||||
Requires: glibc-devel
|
||||
Requires: libfftw3_mpi3 = %{version}-%{release}
|
||||
Requires: openmpi-devel
|
||||
|
||||
%description mpi-devel
|
||||
FFTW is a C subroutine library for computing the Discrete Fourier
|
||||
@ -548,7 +545,7 @@ EOF
|
||||
%endif
|
||||
%ifnarch s390 s390x
|
||||
%if "%{mpi_flavor}" == "standard"
|
||||
source %_libdir/mpi/gcc/%{mpi_implem}/bin/mpivars.sh
|
||||
%setup_openmpi
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -588,7 +585,7 @@ make distclean
|
||||
|
||||
%ifnarch s390 s390x
|
||||
%if "%{mpi_flavor}" == "standard"
|
||||
source %_libdir/mpi/gcc/%{mpi_implem}/bin/mpivars.sh
|
||||
%setup_openmpi
|
||||
%endif
|
||||
%endif
|
||||
|
||||
@ -616,7 +613,7 @@ make distclean
|
||||
|
||||
%ifnarch s390 s390x
|
||||
%if "%{mpi_flavor}" == "standard"
|
||||
source %_libdir/mpi/gcc/%{mpi_implem}/bin/mpivars.sh
|
||||
%setup_openmpi
|
||||
%endif
|
||||
%endif
|
||||
%if %{without hpc}
|
||||
|
Loading…
x
Reference in New Issue
Block a user