- Add missing openmpi2 build for gcc7.
- Add support for gcc8 and gcc9 (jsc#SLE-7766 & jsc#SLE-8609). OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpiP?expand=0&rev=26
This commit is contained in:
parent
873683b6a6
commit
38a23b0ed9
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 29 19:42:39 UTC 2019 - Egbert Eich <eich@suse.com>
|
||||
|
||||
- Add missing openmpi2 build for gcc7.
|
||||
- Add support for gcc8 and gcc9 (jsc#SLE-7766 & jsc#SLE-8609).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 28 16:03:47 UTC 2019 - Egbert Eich <eich@suse.com>
|
||||
|
||||
|
82
mpiP.spec
82
mpiP.spec
@ -25,7 +25,7 @@
|
||||
%if 0%{?sle_version} >= 150200
|
||||
%define DisOMPI1 ExclusiveArch: do_not_build
|
||||
%endif
|
||||
%if 0%{!?is_opensuse:1} && 0%{?sle_version:1} && 0%{?sle_version} < 150200
|
||||
%if !0%{?is_opensuse:1} && 0%{?sle_version:1} && 0%{?sle_version} < 150200
|
||||
%define DisOMPI3 ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
@ -77,6 +77,14 @@ ExclusiveArch: do_not_build
|
||||
%define mpi_ver 1
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu7-openmpi2-hpc"
|
||||
%{?DisOMPI3}
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 7
|
||||
%define mpi_family openmpi
|
||||
%define mpi_ver 2
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu7-openmpi3-hpc"
|
||||
%{?DisOMPI3}
|
||||
%global compiler_family gnu
|
||||
@ -97,6 +105,78 @@ ExclusiveArch: do_not_build
|
||||
%define mpi_family mpich
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu8-openmpi-hpc"
|
||||
%{?DisOMPI1}
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 8
|
||||
%define mpi_family openmpi
|
||||
%define mpi_ver 1
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu8-openmpi3-hpc"
|
||||
%{?DisOMPI3}
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 8
|
||||
%define mpi_family openmpi
|
||||
%define mpi_ver 3
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu8-openmpi2-hpc"
|
||||
%{?DisOMPI3}
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 8
|
||||
%define mpi_family openmpi
|
||||
%define mpi_ver 2
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu8-mvapich2-hpc"
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 8
|
||||
%define mpi_family mvapich2
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu8-mpich-hpc"
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 8
|
||||
%define mpi_family mpich
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu9-openmpi-hpc"
|
||||
%{?DisOMPI1}
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 9
|
||||
%define mpi_family openmpi
|
||||
%define mpi_ver 1
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu9-openmpi2-hpc"
|
||||
%{?DisOMPI3}
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 9
|
||||
%define mpi_family openmpi
|
||||
%define mpi_ver 2
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu9-openmpi3-hpc"
|
||||
%{?DisOMPI3}
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 9
|
||||
%define mpi_family openmpi
|
||||
%define mpi_ver 3
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu9-mvapich2-hpc"
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 9
|
||||
%define mpi_family mvapich2
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu9-mpich-hpc"
|
||||
%global compiler_family gnu
|
||||
%define c_f_ver 9
|
||||
%define mpi_family mpich
|
||||
%endif
|
||||
|
||||
%{?hpc_init:%{hpc_init -c %compiler_family -m %mpi_family %{?c_f_ver:-v %{c_f_ver}} %{?mpi_ver:-V %{mpi_ver}} %{?ext:-e %{ext}}}}
|
||||
|
||||
Name: %{?hpc_package_name:%{hpc_package_name %_vers}}%{!?hpc_package_name:%pname}
|
||||
|
Loading…
Reference in New Issue
Block a user