1
0

Accepting request 944497 from science:HPC

- On Factory, build the default only. For Leap build all. On older Leap
  versions, this may fail as newer compilers do not resolve. Oh, well. (forwarded request 944496 from eeich)

OBS-URL: https://build.opensuse.org/request/show/944497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnu-compilers-hpc?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2022-01-07 11:45:57 +00:00 committed by Git OBS Bridge
commit 2d1c7b30a6
3 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,7 @@
<multibuild> <multibuild>
<package>gnu-hpc</package> <package>gnu-hpc</package>
<package>gnu8-hpc</package>
<package>gnu9-hpc</package>
<package>gnu10-hpc</package>
<package>gnu11-hpc</package>
</multibuild> </multibuild>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 13 16:45:02 UTC 2021 - Antoine Ginies <aginies@suse.com>
- fix _multibuild with a correct list of gcc version
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 6 18:50:31 UTC 2021 - Egbert Eich <eich@suse.com> Wed Oct 6 18:50:31 UTC 2021 - Egbert Eich <eich@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package gnu # spec file for package gnu
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -49,12 +49,17 @@ ExclusiveArch: do_not_build
%if "%flavor" == "gnu10-hpc" %if "%flavor" == "gnu10-hpc"
%define c_f_ver 10 %define c_f_ver 10
%endif %endif
%if "%flavor" == "gnu11-hpc" %if "%flavor" == "gnu11-hpc"
%define c_f_ver 11 %define c_f_ver 11
%endif %endif
# For Factory only build the default
%if 0%{?suse_version} > 1500 && "%flavor" != "gnu-hpc"
ExclusiveArch: do-not-build
%endif
%{!?_rpmmacrodir:%define _rpmmacrodir %{_sysconfdir}/rpm} %{!?_rpmmacrodir:%define _rpmmacrodir %{_sysconfdir}/rpm}
# Keep in sync with macros.hpc-gnu # Keep in sync with macros.hpc-gnu
# ab >= 40 - version: a.b to accompodate for old gcc version scheme of gcc < 5 # ab >= 40 - version: a.b to accompodate for old gcc version scheme of gcc < 5