Hello community, here is the log from the commit of package petsc for openSUSE:Factory checked in at 2019-12-04 13:55:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/petsc (Old) and /work/SRC/openSUSE:Factory/.petsc.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "petsc" Wed Dec 4 13:55:18 2019 rev:19 rq:753898 version:3.12.2 Changes: -------- --- /work/SRC/openSUSE:Factory/petsc/petsc.changes 2019-11-28 13:51:30.346680348 +0100 +++ /work/SRC/openSUSE:Factory/.petsc.new.4691/petsc.changes 2019-12-04 14:20:58.902468565 +0100 @@ -1,0 +2,16 @@ +Tue Dec 3 08:31:20 UTC 2019 - Egbert Eich <[email protected]> + +- Update to version 3.12.2 (jsc#SLE-8505) + * https://www.mcs.anl.gov/petsc/documentation/changes/312.html +- Remove petsc-3.3-p2-fix-shared-libs-sonames.patch + link created directly in %install section +- Remove petsc-3.3-p2-dont-check-for-option-mistakes.patch + not needed. +- Remove petsc-3.3-fix-error-detection-in-makefile.patch + not needed. +- Add non-HPC build with openmpi3 +- Add HPC builds for gcc8 & gcc 9 (jsc#SLE-7766 & jsc#SLE-8609). +- Disable openmpi1 builds for SLE/Leap > 15.1. +- Enable openmpi3 builds for Leap and SLE > 15.1 (jsc#SLE-7773). + +------------------------------------------------------------------- Old: ---- petsc-3.11.3.tar.gz petsc-3.3-fix-error-detection-in-makefile.patch petsc-3.3-p2-dont-check-for-option-mistakes.patch petsc-3.3-p2-fix-shared-libs-sonames.patch New: ---- petsc-3.12.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ petsc.spec ++++++ --- /var/tmp/diff_new_pack.P9R1uu/_old 2019-12-04 14:20:59.610469162 +0100 +++ /var/tmp/diff_new_pack.P9R1uu/_new 2019-12-04 14:20:59.614469166 +0100 @@ -19,8 +19,8 @@ %global flavor @BUILD_FLAVOR@%{nil} %define pname petsc -%define vers 3.11.3 -%define _vers 3_11_3 +%define vers 3.12.2 +%define _vers 3_12_2 %define so_ver 3 %define openblas_vers 0.3.6 @@ -31,9 +31,10 @@ # Only available as openmpi flavor, and not in Factory %bcond_with pastix -%if 0%{?is_opensuse} || 0%{?is_backports} -%undefine DisOMPI3 -%else +%if 0%{?sle_version} >= 150200 +%define DisOMPI1 ExclusiveArch: do_not_build +%endif +%if !0%{?is_opensuse} && 0%{?sle_version:1} && 0%{?sle_version} < 150200 %define DisOMPI3 ExclusiveArch: do_not_build %endif @@ -52,17 +53,26 @@ %endif %if "%flavor" == "openmpi" +%{?DisOMPI1} %define mpi_family openmpi %define mpi_vers 1 %{bcond_with hpc} %endif %if "%flavor" == "openmpi2" +%{?DisOMPI2} %define mpi_family openmpi %define mpi_vers 2 %{bcond_with hpc} %endif +%if "%flavor" == "openmpi3" +%{?DisOMPI3} +%define mpi_family openmpi +%define mpi_vers 3 +%{bcond_with hpc} +%endif + %if "%flavor" == "mvapich2" %define mpi_family mvapich2 %{bcond_with hpc} @@ -77,21 +87,21 @@ %{bcond_without hpc} %endif -%if "%flavor" == "gnu-openmpi3-hpc" -%{?DisOMPI3} +%if "%flavor" == "gnu-openmpi2-hpc" +%{?DisOMPI2} %define mpi_family openmpi %define compiler_family gnu %undefine c_f_ver -%define mpi_vers 3 +%define mpi_vers 2 %{bcond_without hpc} %endif -%if "%flavor" == "gnu-openmpi2-hpc" -%{?DisOMPI2} +%if "%flavor" == "gnu-openmpi3-hpc" +%{?DisOMPI3} %define mpi_family openmpi %define compiler_family gnu %undefine c_f_ver -%define mpi_vers 2 +%define mpi_vers 3 %{bcond_without hpc} %endif @@ -118,6 +128,15 @@ %{bcond_without hpc} %endif +%if "%flavor" == "gnu7-openmpi2-hpc" +%{?DisOMPI2} +%define mpi_family openmpi +%define compiler_family gnu +%define c_f_ver 7 +%define mpi_vers 2 +%{bcond_without hpc} +%endif + %if "%flavor" == "gnu7-openmpi3-hpc" %{?DisOMPI3} %define mpi_family openmpi @@ -140,6 +159,88 @@ %define c_f_ver 7 %{bcond_without hpc} %endif +# +%if "%flavor" == "gnu8-openmpi-hpc" +%{?DisOMPI1} +%define mpi_family openmpi +%define compiler_family gnu +%define c_f_ver 8 +%define mpi_vers 1 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu8-openmpi2-hpc" +%{?DisOMPI2} +%define mpi_family openmpi +%define compiler_family gnu +%define c_f_ver 8 +%define mpi_vers 2 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu8-openmpi3-hpc" +%{?DisOMPI3} +%define mpi_family openmpi +%define compiler_family gnu +%define c_f_ver 8 +%define mpi_vers 3 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu8-mvapich2-hpc" +%define mpi_family mvapich2 +%define compiler_family gnu +%define c_f_ver 8 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu8-mpich-hpc" +%define mpi_family mpich +%define compiler_family gnu +%define c_f_ver 8 +%{bcond_without hpc} +%endif +# +%if "%flavor" == "gnu9-openmpi-hpc" +%{?DisOMPI1} +%define mpi_family openmpi +%define compiler_family gnu +%define c_f_ver 9 +%define mpi_vers 1 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu9-openmpi2-hpc" +%{?DisOMPI2} +%define mpi_family openmpi +%define compiler_family gnu +%define c_f_ver 9 +%define mpi_vers 2 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu9-openmpi3-hpc" +%{?DisOMPI3} +%define mpi_family openmpi +%define compiler_family gnu +%define c_f_ver 9 +%define mpi_vers 3 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu9-mvapich2-hpc" +%define mpi_family mvapich2 +%define compiler_family gnu +%define c_f_ver 9 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu9-mpich-hpc" +%define mpi_family mpich +%define compiler_family gnu +%define c_f_ver 9 +%{bcond_without hpc} +%endif %if !0%{?is_opensuse} && !0%{?with_hpc:1} ExclusiveArch: do_not_build @@ -194,11 +295,8 @@ Release: 0 Source: ftp://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-%{version}.tar.gz -Patch0: petsc-3.3-p2-fix-shared-libs-sonames.patch -Patch1: petsc-3.3-p2-no-rpath.patch -Patch2: petsc-3.3-p2-dont-check-for-option-mistakes.patch -Patch3: petsc-3.3-fix-error-detection-in-makefile.patch -Patch4: petsc-3.7-fix-pastix-detection.patch +Patch0: petsc-3.3-p2-no-rpath.patch +Patch1: petsc-3.7-fix-pastix-detection.patch URL: https://www.mcs.anl.gov/petsc/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{!?makedoc:1} @@ -333,11 +431,8 @@ %prep %setup -q -n petsc-%{version} -%patch0 -p1 -b .soname -%patch1 -p1 -b .rpath -%patch2 -p1 -b .option-mistakes -%patch3 -p1 -b .error-detect -%patch4 -p1 -b .pastix-detect +%patch0 -p1 -b .rpath +%patch1 -p1 -b .pastix-detect %if 0%{?makedoc:1} %files doc @@ -443,6 +538,7 @@ pushd %{buildroot}%{p_prefix}/lib ln -sf libpetsc.so.%{version} libpetsc.so +ln -sf libpetsc.so.%{version} libpetsc.so.%{so_ver} popd %if %{without hpc} @@ -596,6 +692,7 @@ done %fdupes %{buildroot}%{p_include} +%fdupes %{buildroot}%{p_libdir} ## %post -n %{libname %_vers} -p /sbin/ldconfig ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.P9R1uu/_old 2019-12-04 14:20:59.650469196 +0100 +++ /var/tmp/diff_new_pack.P9R1uu/_new 2019-12-04 14:20:59.654469199 +0100 @@ -3,6 +3,7 @@ <package>serial</package> <package>openmpi</package> <package>openmpi2</package> + <package>openmpi3</package> <package>gnu-openmpi-hpc</package> <package>gnu-openmpi2-hpc</package> <package>gnu-openmpi3-hpc</package> ++++++ petsc-3.11.3.tar.gz -> petsc-3.12.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/petsc/petsc-3.11.3.tar.gz /work/SRC/openSUSE:Factory/.petsc.new.4691/petsc-3.12.2.tar.gz differ: char 5, line 1
