Accepting request 810731 from home:eeich:branches:science

- Add macros to handle building of openmpi1 flavors for serial
  builds as well (bsc#1172345).

OBS-URL: https://build.opensuse.org/request/show/810731
OBS-URL: https://build.opensuse.org/package/show/science/mumps?expand=0&rev=46
This commit is contained in:
Egbert Eich 2020-06-02 08:26:59 +00:00 committed by Git OBS Bridge
parent e85efec460
commit 0dd645b217
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -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