SHA256
1
0
forked from pool/mpitests

5 Commits

3 changed files with 24 additions and 55 deletions

View File

@@ -1,12 +1,8 @@
<multibuild>
<package>openmpi4-gnu-hpc</package>
<package>openmpi4</package>
<package>mpich-gnu-hpc</package>
<package>mpich-ofi-gnu-hpc</package>
<package>openmpi5</package>
<package>mpich-ofi</package>
<package>mpich</package>
<package>mvapich2-gnu-hpc</package>
<package>mvapich2</package>
<package>mvapich2-psm2-gnu-hpc</package>
<package>mvapich2-psm2</package>
</multibuild>

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat Mar 29 14:54:31 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
- Remove support for gnu-hpc build flavours.
- Remove code handling pre-SLE12 builds.
-------------------------------------------------------------------
Mon Mar 24 12:54:55 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
- Disable gnu-hpc build flavours (bsc#1239982)
-------------------------------------------------------------------
Wed Feb 19 20:09:26 UTC 2025 - Nicolas Morey <nicolas.morey@suse.com>
- Add openmpi5 to flavours (jsc#PED-11356)
-------------------------------------------------------------------
Tue Jun 25 13:21:10 UTC 2024 - Nicolas Morey <nicolas.morey@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package mpitests
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -46,8 +46,8 @@
%define mpi_home %{hpc_mpi_home %flavor}
%define implem_list_dir %{_datadir}/mpitests/implem.d/
%define sles_pre_15 (0%{?sle_version} > 120000 && 0%{?sle_version} < 150000)
%define sles_pre_or_15 (0%{?sle_version} > 120000 && 0%{?sle_version} <= 150000)
%define sles_pre_16 (0%{?sle_version} > 120000 && 0%{?sle_version} < 160000)
Name: mpitests%{pack_suff}
%if "%{flavor}" == ""
@@ -73,10 +73,6 @@ Patch2: imb-cpp-flags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: dos2unix
BuildRequires: gcc-c++
# suse-hpc is not available for SLE < 15
%if 0%{?is_opensuse} || 0%{?sle_version} >= 150000
BuildRequires: suse-hpc
%endif
%if "%{flavor}" != ""
BuildRequires: %{flavor}
BuildRequires: %{flavor}-devel
@@ -89,34 +85,10 @@ Requires: mpitests = %{version}
ExcludeArch: %{arm}
%endif
%if "%{flavor}" == "mvapich2-gnu-hpc"
%if %{sles_pre_15}
# Disable hpc builds for SLE12
ExclusiveArch: do_not_build
%endif
ExcludeArch: i586 %arm s390
%endif
%if "%{flavor}" == "mvapich2-psm2"
ExclusiveArch: x86_64
%endif
%if "%{flavor}" == "mvapich2-psm2-gnu-hpc"
%if %{sles_pre_15}
# Disable hpc builds for SLE12
ExclusiveArch: do_not_build
%else
ExclusiveArch: x86_64
%endif
%endif
%if "%{flavor}" == "openmpi1-gnu-hpc"
%if %{sles_pre_15}
# Disable hpc builds for SLE12
ExclusiveArch: do_not_build
%endif
%endif
%if "%{flavor}" == "openmpi4"
%if %{sles_pre_or_15}
# Disable openmpi4 builds for SLES up to (including) 15
@@ -126,30 +98,15 @@ ExcludeArch: ppc64
%endif
%endif
%if "%{flavor}" == "openmpi4-gnu-hpc"
%if %{sles_pre_or_15}
# Disable openmpi4 builds for SLES up to (including) 15
%if "%{flavor}" == "openmpi5"
%if %{sles_pre_16}
# Disable openmpi5 builds for SLES < 16
ExclusiveArch: do_not_build
%else
ExcludeArch: i586 %arm s390 ppc64
ExcludeArch: ppc64 %{arm} %ix86
%endif
%endif
# Disable mpich builds for SLE12 as it is not available
%if "%{flavor}" == "mpich-ofi" || "%{flavor}" == "mpich"
%if %{sles_pre_15}
ExclusiveArch: do_not_build
%endif
%endif
# Disable mpich builds for SLE12 as it is not available
%if "%{flavor}" == "mpich-ofi-gnu-hpc" || "%{flavor}" == "mpich-gnu-hpc"
%if %{sles_pre_15}
ExclusiveArch: do_not_build
%endif
ExcludeArch: i586 %arm s390
%endif
%description
Set of popular MPI benchmarks: IMB v%{imb_ver} OSU benchmarks ver %{osu_ver}