forked from pool/mumps
Accepting request 817965 from science
- With gcc10, some fortran code started failing to build - add compiler option -std=legacy to fix (bsc#1173549). (forwarded request 817964 from eeich) OBS-URL: https://build.opensuse.org/request/show/817965 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mumps?expand=0&rev=10
This commit is contained in:
commit
a78ff97c51
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 30 20:05:56 UTC 2020 - Egbert Eich <eich@suse.com>
|
||||
|
||||
- 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 <eich@suse.com>
|
||||
|
||||
- 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 <eich@suse.com>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user