Accepting request 940614 from home:aginies:branches:science:HPC

- fix _multibuild with a correct list of gcc version and add
  ExclusiveArch: do-not-build for some sle_version
- Use %_rpmmacrodir instead of %{_sysconfdir}/rpm (boo#1191381).
- Improve setting of standard binaries (c, c++) for non-base
  versions.
- Improve environment settings: only set CC, CXX etc when
  compilers are installed. Thus, if only gnu<X>-compiler-hpc
  is installed, they will not be set.
- Add build support for gcc11 to HPC build (jsc#SLE-18780,
  jsc#SLE-18781, jsc#SLE-18782).
- Add build support for gcc10 to HPC build (bsc#1174439). 
  Fix version parsing for gcc10 and up.
- Add support for gcc v.6, v.8 and v.9.
  for SLE-12 HPC: v.6, v.7, v.8 (jsc#SLE-7765)
  for SLE-15 & SLE-15-SP1: gcc v.7, v.8 (jsc#SLE-7766)
  for SLE-15-SP2: add gcc v.9 (jsc#SLE-8604)
- For the base compiler add a Provides: for the versioned form.
- Add links from the generic compiler binary names cc, cpp, c++
  and fc to the compiler specific names in the package private
  binary directory.
- Define _hpc_gnu_module (bsc#1116458).
- Update to gcc v.7 for SLES-12 builds.
- Set the 'granularity' for selection to the
  granularity of GNU toolchain versions we
  distinguish: For major versions until 4,
  this is 2 versions, for anything above it
  is just the major version.
- On TW/Factory add explicit dependency to the 
  compiler major version package. This is to make 
  sure package gets rebuilt when this versions 
  changes.
- Add Requires: for lua-lmod to base package.
- Add Provides/Conflicts: to macro package:
  only one version of this macro package can
  can be installed at the same time.
- Make source files downloadable from git.
- Remove some debugging code.
- Fix LICENSE and copyright statement in LICENSE.
- Rename: rpmlintrc -> gnu-compilers-hpc-rpmlintrc
- Remove spec_fix.pl, use multibuild instead.
- Add RPM macros to be used together with macros.hpc from suse-hpc.
- Update spec_fix.pl: It is now able to produce multiple spec files
  from one replacement file.
- Remove ohpc-isms.
- Add support for gcc update versions.
- Pick correct compiler version.
- Fix group of devel package: Development/Languages
- Add gcc-c++ into requires of the devel package
- Make the devel package to require the exact version of the main one
- Modified package to use a spec file template.
- Initial version of gnu compiler selection module
  FATE#321705.

OBS-URL: https://build.opensuse.org/request/show/940614
OBS-URL: https://build.opensuse.org/package/show/science:HPC/gnu-compilers-hpc?expand=0&rev=34
This commit is contained in:
Christian Goll 2021-12-15 14:00:25 +00:00 committed by Git OBS Bridge
parent 0c1326f9a9
commit b3204bcaa3

View File

@ -49,12 +49,20 @@ ExclusiveArch: do_not_build
%if "%flavor" == "gnu10-hpc"
%define c_f_ver 10
%endif
%endif
%if "%flavor" == "gnu11-hpc"
%define c_f_ver 11
%endif
%if 0%{?sle_version} == 150200 && ("gnu-hpc" == "gnu10-hpc" || "gnu-hpc" == "gnu11-hpc")
ExclusiveArch: do-not-build
%endif
%if 0%{?suse_version} == 1599 && ("%flavor" == "gnu8-hpc" || "%flavor" == "gnu9-hpc")
ExclusiveArch: do-not-build
%endif
%{!?_rpmmacrodir:%define _rpmmacrodir %{_sysconfdir}/rpm}
# Keep in sync with macros.hpc-gnu
# ab >= 40 - version: a.b to accompodate for old gcc version scheme of gcc < 5