diff --git a/mumps.changes b/mumps.changes index 52fbd1c..0c42001 100644 --- a/mumps.changes +++ b/mumps.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Jun 30 20:05:56 UTC 2020 - Egbert Eich + +- With gcc10, some fortran code started failing to build - + add compiler option -std=legacy to fix (bsc#1173549). + +------------------------------------------------------------------- +Tue Jun 2 07:50:37 UTC 2020 - Egbert Eich + +- Add macros to handle building of openmpi1 flavors for serial + builds as well (bsc#1172345). + ------------------------------------------------------------------- Tue Dec 3 12:06:39 UTC 2019 - Egbert Eich diff --git a/mumps.spec b/mumps.spec index 8029f13..8bba38d 100644 --- a/mumps.spec +++ b/mumps.spec @@ -1,7 +1,7 @@ # # spec file for package mumps # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -53,6 +53,7 @@ ExclusiveArch: do_not_build %endif %if "%{flavor}" == "openmpi1" +%{?DisOMPI1} %define mpi_family openmpi %define mumps_f77_mpilibs -lmpi_mpifh -lmpi %define mpi_ver 1 @@ -80,6 +81,7 @@ ExclusiveArch: do_not_build %endif %if "%{flavor}" == "scotch-openmpi1" +%{?DisOMPI1} %define mpi_family openmpi %define mumps_f77_mpilibs -lmpi_mpifh -lmpi %define mpi_ver 1 @@ -578,7 +580,7 @@ module load openblas scalapack %if %{with mpi} # Set LD_LIBRARY_PATH and PATH %define C_C mpicc - %define F_C mpif77 + %define F_C mpif77 -std=legacy %define F_L mpif77 %define SCALAP -lscalapack %{!?with_hpc:-lblacs} %define MUMPS_LIBF77 %{!?with_hpc:-L%{my_libdir}} %{?mumps_f77_mpilibs} @@ -588,7 +590,7 @@ module load openblas scalapack %define LIBS \\\$(LIBPAR) %else # mpi %define C_C gcc - %define F_C gfortran + %define F_C gfortran -std=legacy %define F_L gfortran %define LIBSEQNEEDED libseqneeded %define MUMPS_LIBF77 -lmpiseq%{?PLAT}