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:
Takashi Iwai 2021-05-03 11:31:58 +00:00 committed by Git OBS Bridge
parent 78a1e25b50
commit 65fd755663
2 changed files with 16 additions and 10 deletions

View File

@ -1,7 +1,16 @@
-------------------------------------------------------------------
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> Sat Feb 6 10:13:41 UTC 2021 - Egbert Eich <eich@suse.com>
- Add build support for gcc10 to HPC build (bsc#1174439). - Add build support for gcc10 to HPC build (bsc#1174439).
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 24 19:36:58 UTC 2021 - Dirk Müller <dmueller@suse.com> Sun Jan 24 19:36:58 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -24,9 +24,6 @@
%define vers 3.3.9 %define vers 3.3.9
%define _ver 3_3_9 %define _ver 3_3_9
#For non HPC builds only
%define mpi_implem openmpi2
%bcond_with ringdisabled %bcond_with ringdisabled
%if 0%{?sle_version} >= 150200 %if 0%{?sle_version} >= 150200
@ -392,7 +389,7 @@ BuildRequires: gcc-c++
BuildRequires: gcc-fortran BuildRequires: gcc-fortran
Requires: %{package_name}-libs = %{version} Requires: %{package_name}-libs = %{version}
%ifnarch s390 s390x %ifnarch s390 s390x
BuildRequires: %{mpi_implem}-devel BuildRequires: openmpi-macros-devel
%endif %endif
%endif %endif
@ -413,7 +410,7 @@ Group: Development/Libraries/C and C++
Requires: %package_libname = %{version}-%{release} Requires: %package_libname = %{version}-%{release}
Requires: glibc-devel Requires: glibc-devel
Requires(post): %install_info_prereq Requires(post): %install_info_prereq
Requires(preun): %install_info_prereq Requires(preun):%install_info_prereq
%if %{with hpc} %if %{with hpc}
%hpc_requires_devel %hpc_requires_devel
%endif %endif
@ -518,10 +515,10 @@ data, and of arbitrary input size.
%package mpi-devel %package mpi-devel
Summary: Discrete Fourier Transform (DFT) C subroutine library Summary: Discrete Fourier Transform (DFT) C subroutine library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{mpi_implem}-devel
Requires: fftw3-devel = %{version} Requires: fftw3-devel = %{version}
Requires: glibc-devel Requires: glibc-devel
Requires: libfftw3_mpi3 = %{version}-%{release} Requires: libfftw3_mpi3 = %{version}-%{release}
Requires: openmpi-devel
%description mpi-devel %description mpi-devel
FFTW is a C subroutine library for computing the Discrete Fourier FFTW is a C subroutine library for computing the Discrete Fourier
@ -548,7 +545,7 @@ EOF
%endif %endif
%ifnarch s390 s390x %ifnarch s390 s390x
%if "%{mpi_flavor}" == "standard" %if "%{mpi_flavor}" == "standard"
source %_libdir/mpi/gcc/%{mpi_implem}/bin/mpivars.sh %setup_openmpi
%endif %endif
%endif %endif
@ -588,7 +585,7 @@ make distclean
%ifnarch s390 s390x %ifnarch s390 s390x
%if "%{mpi_flavor}" == "standard" %if "%{mpi_flavor}" == "standard"
source %_libdir/mpi/gcc/%{mpi_implem}/bin/mpivars.sh %setup_openmpi
%endif %endif
%endif %endif
@ -616,7 +613,7 @@ make distclean
%ifnarch s390 s390x %ifnarch s390 s390x
%if "%{mpi_flavor}" == "standard" %if "%{mpi_flavor}" == "standard"
source %_libdir/mpi/gcc/%{mpi_implem}/bin/mpivars.sh %setup_openmpi
%endif %endif
%endif %endif
%if %{without hpc} %if %{without hpc}