Accepting request 903936 from science:HPC

- Add build support for gcc11 to HPC build (jsc#SLE-18780,
  jsc#SLE-18781, jsc#SLE-18782). (forwarded request 903935 from eeich)

OBS-URL: https://build.opensuse.org/request/show/903936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnu-compilers-hpc?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2021-07-07 16:29:33 +00:00 committed by Git OBS Bridge
commit c5ad621b84
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 23 06:52:49 UTC 2021 - Egbert Eich <eich@suse.com>
- Add build support for gcc11 to HPC build (jsc#SLE-18780,
jsc#SLE-18781, jsc#SLE-18782).
-------------------------------------------------------------------
Thu Jul 23 16:13:13 UTC 2020 - Egbert Eich <eich@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package gnu
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -51,6 +51,10 @@ ExclusiveArch: do_not_build
%define c_f_ver 10
%endif
%if "%flavor" == "gnu11-hpc"
%define c_f_ver 11
%endif
# Keep in sync with macros.hpc-gnu
# ab >= 40 - version: a.b to accompodate for old gcc version scheme of gcc < 5
%global hpc_gnu_bin_version %{?c_f_ver:-%(v=%c_f_ver; [ $v -lt 40 ] && echo $v ||