From 864d53c85feb5dd7428e483ecc487ba3fc75a15c0c88f4d0d8b2b343532b741e Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Fri, 11 Sep 2020 08:24:51 +0000 Subject: [PATCH] Accepting request 833595 from home:eeich:branches:science - Add build support for gcc10 to HPC build (bsc#1174439). OBS-URL: https://build.opensuse.org/request/show/833595 OBS-URL: https://build.opensuse.org/package/show/science/metis?expand=0&rev=16 --- metis.changes | 5 +++++ metis.spec | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/metis.changes b/metis.changes index cf92726..b2a04af 100644 --- a/metis.changes +++ b/metis.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 23 16:31:17 UTC 2020 - Egbert Eich + +- Add build support for gcc10 to HPC build (bsc#1174439). + ------------------------------------------------------------------- Wed Feb 26 12:26:32 UTC 2020 - Egbert Eich diff --git a/metis.spec b/metis.spec index b639f26..2256998 100644 --- a/metis.spec +++ b/metis.spec @@ -69,6 +69,13 @@ ExclusiveArch: do_not_build %undefine mpi_flavor %endif +%if "%{flavor}" == "gnu10-hpc" +%bcond_without hpc +%define compiler_family gnu +%define c_f_ver 10 +%undefine mpi_flavor +%endif + %if %{without hpc} %if 0%{!?package_name:1} %define package_name %{pname}