diff --git a/superlu.changes b/superlu.changes index 912a106..e0c9929 100644 --- a/superlu.changes +++ b/superlu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 26 12:30:51 UTC 2020 - Egbert Eich + +- Add support for gcc8/9 building (jsc#SLE-8604). + ------------------------------------------------------------------- Thu Feb 14 09:16:02 UTC 2019 - Jan Engelhardt diff --git a/superlu.spec b/superlu.spec index ba5c9b5..ca3ad0f 100644 --- a/superlu.spec +++ b/superlu.spec @@ -1,7 +1,7 @@ # # spec file for package superlu # -# 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 @@ -38,6 +38,24 @@ ExclusiveArch: do_not_build %undefine c_f_ver %endif +%if "%{flavor}" == "gnu7-hpc" +%bcond_without hpc +%global compiler_family gnu +%undefine c_f_ver 7 +%endif + +%if "%{flavor}" == "gnu8-hpc" +%bcond_without hpc +%global compiler_family gnu +%define c_f_ver 8 +%endif + +%if "%{flavor}" == "gnu9-hpc" +%bcond_without hpc +%global compiler_family gnu +%define c_f_ver 9 +%endif + %bcond_with ringdisabled %if %{with hpc} && %{with ringdisabled}