From 4c0b6e6d48d46eb904948fac24c2e2f41f31fb7e6ce99df4e29d66a997777558 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 24 Jun 2021 13:14:53 +0000 Subject: [PATCH] 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 --- gnu-compilers-hpc.changes | 5 +++++ gnu-compilers-hpc.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu-compilers-hpc.changes b/gnu-compilers-hpc.changes index fbdb42d..0694ba5 100644 --- a/gnu-compilers-hpc.changes +++ b/gnu-compilers-hpc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 23 06:52:49 UTC 2021 - Egbert Eich + +- Add build support for gcc10 to HPC build (bsc#1174439). + ------------------------------------------------------------------- Thu Jul 23 16:13:13 UTC 2020 - Egbert Eich diff --git a/gnu-compilers-hpc.spec b/gnu-compilers-hpc.spec index 5918708..a409201 100644 --- a/gnu-compilers-hpc.spec +++ b/gnu-compilers-hpc.spec @@ -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 ||