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

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

OBS-URL: https://build.opensuse.org/request/show/822464
OBS-URL: https://build.opensuse.org/package/show/science:HPC/gnu-compilers-hpc?expand=0&rev=26
This commit is contained in:
Christian Goll 2020-07-23 18:47:59 +00:00 committed by Git OBS Bridge
parent 4bf6eaa49a
commit 797db9a0a1
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 23 16:13:13 UTC 2020 - Egbert Eich <eich@suse.com>
- Add build support for gcc10 to HPC build (bsc#1174439).
-------------------------------------------------------------------
Fri Aug 2 05:30:55 UTC 2019 - Egbert Eich <eich@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package gnu
#
# 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
@ -47,6 +47,10 @@ ExclusiveArch: do_not_build
%define c_f_ver 9
%endif
%if "%flavor" == "gnu10-hpc"
%define c_f_ver 10
%endif
# Keep in sync with macros.hpc-gnu
%global hpc_gnu_bin_version %{?c_f_ver:-%(echo %c_f_ver | \
sed -e "s@\\([0-9]\\)@\\1.@g" -e "s@\\([0-9]\\)\\.\\$@\\1@g")}
@ -72,7 +76,7 @@ Name: %myname
Version: 1.4
Release: 0
Url: https://github.com/openhpc/ohpc
URL: https://github.com/openhpc/ohpc
Source0: https://raw.githubusercontent.com/openSUSE/hpc/master/compiler/macros.hpc-gnu
Source1: LICENSE
Source2: gnu-compilers-hpc-rpmlintrc