Accepting request 779514 from science

- Add support for gcc8/9 building (jsc#SLE-8604). (forwarded request 779442 from eeich)

OBS-URL: https://build.opensuse.org/request/show/779514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/superlu?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2020-02-28 14:19:18 +00:00 committed by Git OBS Bridge
commit 3a982346eb
2 changed files with 24 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 26 12:30:51 UTC 2020 - Egbert Eich <eich@suse.com>
- Add support for gcc8/9 building (jsc#SLE-8604).
-------------------------------------------------------------------
Thu Feb 14 09:16:02 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package superlu
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@ -38,6 +38,24 @@ ExclusiveArch: do_not_build
%undefine c_f_ver
%endif
%if "%{flavor}" == "gnu7-hpc"
%bcond_without hpc
%global compiler_family gnu
%undefine c_f_ver 7
%endif
%if "%{flavor}" == "gnu8-hpc"
%bcond_without hpc
%global compiler_family gnu
%define c_f_ver 8
%endif
%if "%{flavor}" == "gnu9-hpc"
%bcond_without hpc
%global compiler_family gnu
%define c_f_ver 9
%endif
%bcond_with ringdisabled
%if %{with hpc} && %{with ringdisabled}