Accepting request 1119897 from home:NMorey:branches:science

- Drop support for obsolete openmpi[123]
- Prepare support for openmpi5

OBS-URL: https://build.opensuse.org/request/show/1119897
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=317
This commit is contained in:
Arvin Schnell 2023-10-24 14:53:09 +00:00 committed by Git OBS Bridge
parent e25c79031e
commit 5810b1f9da
3 changed files with 31 additions and 59 deletions

View File

@ -2,8 +2,6 @@
<package>base</package>
<package>extra</package>
<package>gnu-hpc</package>
<package>gnu-openmpi2-hpc</package>
<package>gnu-openmpi3-hpc</package>
<package>gnu-openmpi4-hpc</package>
<package>gnu-mvapich2-hpc</package>
<package>gnu-mpich-hpc</package>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 24 08:09:17 UTC 2023 - Nicolas Morey <nicolas.morey@suse.com>
- Drop support for obsolete openmpi[123]
- Prepare support for openmpi5
-------------------------------------------------------------------
Tue Sep 05 07:39:53 CEST 2023 - aschnell@suse.com

View File

@ -75,29 +75,6 @@ ExclusiveArch: do_not_build
%bcond_without hpc
%endif
%if "%{flavor}" == "gnu-openmpi2-hpc"
%define build_base 0
%define mpi_vers 2
%define compiler_family gnu
%define mpi_flavor openmpi
%undefine c_f_ver
%bcond_without hpc
%bcond_without mpi
%bcond_without python3
%endif
%if "%{flavor}" == "gnu-openmpi3-hpc"
%{?DisOMPI3}
%define build_base 0
%define mpi_vers 3
%define compiler_family gnu
%define mpi_flavor openmpi
%undefine c_f_ver
%bcond_without hpc
%bcond_without mpi
%bcond_without python3
%endif
%if "%{flavor}" == "gnu-openmpi4-hpc"
%{?DisOMPI4}
%define build_base 0
@ -110,6 +87,18 @@ ExclusiveArch: do_not_build
%bcond_without python3
%endif
%if "%{flavor}" == "gnu-openmpi5-hpc"
%{?DisOMPI5}
%define build_base 0
%define mpi_vers 5
%define compiler_family gnu
%define mpi_flavor openmpi
%undefine c_f_ver
%bcond_without hpc
%bcond_without mpi
%bcond_without python3
%endif
%if "%{flavor}" == "gnu-mvapich2-hpc"
%define build_base 0
%define compiler_family gnu
@ -120,39 +109,6 @@ ExclusiveArch: do_not_build
%bcond_without python3
%endif
%if "%{flavor}" == "gnu-mpich-hpc"
%define build_base 0
%define compiler_family gnu
%define mpi_flavor mpich
%undefine c_f_ver
%bcond_without hpc
%bcond_without mpi
%bcond_without python3
%endif
#
%if "%{flavor}" == "gnu10-openmpi2-hpc"
%define build_base 0
%define mpi_vers 2
%define compiler_family gnu
%define mpi_flavor openmpi
%define c_f_ver 10
%bcond_without hpc
%bcond_without mpi
%bcond_without python3
%endif
%if "%{flavor}" == "gnu10-openmpi3-hpc"
%{?DisOMPI3}
%define build_base 0
%define mpi_vers 3
%define compiler_family gnu
%define mpi_flavor openmpi
%define c_f_ver 10
%bcond_without hpc
%bcond_without mpi
%bcond_without python3
%endif
%if "%{flavor}" == "gnu10-openmpi4-hpc"
%{?DisOMPI4}
%define build_base 0
@ -165,6 +121,18 @@ ExclusiveArch: do_not_build
%bcond_without python3
%endif
%if "%{flavor}" == "gnu10-openmpi5-hpc"
%{?DisOMPI5}
%define build_base 0
%define mpi_vers 5
%define compiler_family gnu
%define mpi_flavor openmpi
%define c_f_ver 10
%bcond_without hpc
%bcond_without mpi
%bcond_without python3
%endif
%if "%{flavor}" == "gnu10-mvapich2-hpc"
%define build_base 0
%define compiler_family gnu
@ -268,7 +236,7 @@ Patch20: python_library_name.patch
Patch21: boost-remove-cmakedir.patch
Patch22: boost-process.patch
# https://github.com/boostorg/mpi/issues/149
Patch50: boost-mpi-noreturn.patch
Patch50: boost-mpi-noreturn.patch
%{?suse_build_hwcaps_libs}
BuildRequires: fdupes
BuildRequires: gmp-devel