Accepting request 901575 from home:eeich:branches:science:HPC

- Add build support for gcc10 to HPC build (bsc#1174439).

OBS-URL: https://build.opensuse.org/request/show/901575
OBS-URL: https://build.opensuse.org/package/show/science:HPC/gnu-compilers-hpc?expand=0&rev=29
This commit is contained in:
Egbert Eich 2021-06-24 13:14:53 +00:00 committed by Git OBS Bridge
parent ecdbf34875
commit 4c0b6e6d48
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 23 06:52:49 UTC 2021 - Egbert Eich <eich@suse.com>
- Add build support for gcc10 to HPC build (bsc#1174439).
-------------------------------------------------------------------
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 ||