diff --git a/mumps.changes b/mumps.changes index 93c6a9c..a4c99b5 100644 --- a/mumps.changes +++ b/mumps.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Nov 29 22:10:30 UTC 2019 - Egbert Eich + +- Add support for gcc7. +- Add support for gcc8 and gcc9 (jsc#SLE-7766 & jsc#SLE-8609). + +------------------------------------------------------------------- +Thu Nov 28 16:16:49 UTC 2019 - Egbert Eich + +- Disable openmpi1 builds for SLE/Leap > 15.1. +- Enable openmpi3 builds for Leap and SLE > 15.1 (jsc#SLE-7773). + ------------------------------------------------------------------- Mon Nov 25 21:52:36 UTC 2019 - Stefan BrĂ¼ns diff --git a/mumps.spec b/mumps.spec index 83b2906..353e063 100644 --- a/mumps.spec +++ b/mumps.spec @@ -1,7 +1,7 @@ # # spec file for package mumps # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,13 +32,10 @@ ExclusiveArch: do_not_build %endif -%if 0%{?is_opensuse} || 0%{?is_backports} -%undefine DisOMPI1 -%undefine DisOMPI2 -%undefine DisOMPI3 -%else +%if 0%{?sle_version} >= 150200 %define DisOMPI1 ExclusiveArch: do_not_build -%undefine DisOMPI2 +%endif +%if !0%{?is_opensuse} && 0%{?sle_version:1} && 0%{?sle_version} < 150200 %define DisOMPI3 ExclusiveArch: do_not_build %endif @@ -105,18 +102,6 @@ ExclusiveArch: do_not_build %bcond_without scotch %endif -%if "%{flavor}" == "gnu-mvapich2-hpc" -%undefine c_f_ver -%global mpi_family mvapich2 -%bcond_without hpc -%endif - -%if "%{flavor}" == "gnu-mpich-hpc" -%undefine c_f_ver -%global mpi_family mpich -%bcond_without hpc -%endif - %if "%{flavor}" == "gnu-openmpi-hpc" %{?DisOMPI1} %undefine c_f_ver @@ -156,6 +141,147 @@ ExclusiveArch: do_not_build %bcond_without hpc %endif +%if "%{flavor}" == "gnu-mpich-hpc" +%undefine c_f_ver +%global mpi_family mpich +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu7-openmpi-hpc" +%{?DisOMPI1} +%define c_f_ver 7 +# macro mpi is used by macros for master package +%global mpi_family openmpi +%define mumps_f77_mpilibs -lmpi_mpifh -lmpi +%define mpi_ver 1 +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu7-openmpi2-hpc" +%{?DisOMPI2} +%define c_f_ver 7 +# macro mpi is used by macros for master package +%global mpi_family openmpi +%define mumps_f77_mpilibs -lmpi_mpifh -lmpi +%define mpi_ver 2 +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu7-openmpi3-hpc" +%{?DisOMPI3} +%define c_f_ver 7 +# macro mpi is used by macros for master package +%global mpi_family openmpi +%define mumps_f77_mpilibs -lmpi_mpifh -lmpi +%define mpi_ver 3 +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu7-mvapich2-hpc" +%define c_f_ver 7 +# macro mpi is used by macros for master package +%global mpi_family mvapich2 +%define mumps_f77_mpilibs -lfmpich -lmpich +%undefine mpi_ver +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu7-mpich-hpc" +%define c_f_ver 7 +%global mpi_family mpich +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu8-openmpi-hpc" +%{?DisOMPI1} +%define c_f_ver 8 +# macro mpi is used by macros for master package +%global mpi_family openmpi +%define mumps_f77_mpilibs -lmpi_mpifh -lmpi +%define mpi_ver 1 +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu8-openmpi2-hpc" +%{?DisOMPI2} +%define c_f_ver 8 +# macro mpi is used by macros for master package +%global mpi_family openmpi +%define mumps_f77_mpilibs -lmpi_mpifh -lmpi +%define mpi_ver 2 +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu8-openmpi3-hpc" +%{?DisOMPI3} +%define c_f_ver 8 +# macro mpi is used by macros for master package +%global mpi_family openmpi +%define mumps_f77_mpilibs -lmpi_mpifh -lmpi +%define mpi_ver 3 +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu8-mvapich2-hpc" +%define c_f_ver 8 +# macro mpi is used by macros for master package +%global mpi_family mvapich2 +%define mumps_f77_mpilibs -lfmpich -lmpich +%undefine mpi_ver +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu8-mpich-hpc" +%define c_f_ver 8 +%global mpi_family mpich +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu9-openmpi-hpc" +%{?DisOMPI1} +%define c_f_ver 9 +# macro mpi is used by macros for master package +%global mpi_family openmpi +%define mumps_f77_mpilibs -lmpi_mpifh -lmpi +%define mpi_ver 1 +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu9-openmpi2-hpc" +%{?DisOMPI2} +%define c_f_ver 9 +# macro mpi is used by macros for master package +%global mpi_family openmpi +%define mumps_f77_mpilibs -lmpi_mpifh -lmpi +%define mpi_ver 2 +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu9-openmpi3-hpc" +%{?DisOMPI3} +%define c_f_ver 9 +# macro mpi is used by macros for master package +%global mpi_family openmpi +%define mumps_f77_mpilibs -lmpi_mpifh -lmpi +%define mpi_ver 3 +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu9-mvapich2-hpc" +%define c_f_ver 9 +# macro mpi is used by macros for master package +%global mpi_family mvapich2 +%define mumps_f77_mpilibs -lfmpich -lmpich +%undefine mpi_ver +%bcond_without hpc +%endif + +%if "%{flavor}" == "gnu9-mpich-hpc" +%define c_f_ver 9 +%global mpi_family mpich +%bcond_without hpc +%endif + %ifarch i586 s390 ppc armv7l ExclusiveArch: do_not_build %endif @@ -216,7 +342,7 @@ Group: Productivity/Scientific/Math Name: %{package_name} Version: %{ver} Release: 0 -Url: http://mumps.enseeiht.fr/ +URL: http://mumps.enseeiht.fr/ Source0: http://mumps.enseeiht.fr/MUMPS_%{version}.tar.gz#/%{pname}-%{version}.tar.gz Source1: Makefile.inc Patch1: Makefiles-Serialize-libseq-libplat-mommond_mod-for-parallel-builds.patch