Accepting request 869931 from home:eeich:branches:multimedia:libs

- Add build support for gcc10 to HPC build (bsc#1174439).

OBS-URL: https://build.opensuse.org/request/show/869931
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fftw3?expand=0&rev=89
This commit is contained in:
Takashi Iwai 2021-02-08 11:25:01 +00:00 committed by Git OBS Bridge
parent 3457264b89
commit b494211ca7
2 changed files with 58 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 6 10:13:41 UTC 2021 - Egbert Eich <eich@suse.com>
- Add build support for gcc10 to HPC build (bsc#1174439).
-------------------------------------------------------------------
Sun Jan 24 19:36:58 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -282,6 +282,59 @@ ExclusiveArch: do_not_build
%bcond_without mpi
%endif
%if "%flavor" == "gnu10-hpc"
%define compiler_family gnu
%define c_f_ver 10
%bcond_with mpi
%bcond_without hpc
%endif
%if "%{flavor}" == "gnu10-openmpi-hpc"
%{?DisOMPI1}
%global compiler_family gnu
%define c_f_ver 10
%global mpi_flavor openmpi
%define mpi_vers 1
%bcond_without hpc
%bcond_without mpi
%endif
%if "%{flavor}" == "gnu10-openmpi3-hpc"
%{?DisOMPI3}
%global compiler_family gnu
%define c_f_ver 10
%global mpi_flavor openmpi
%define mpi_vers 3
%bcond_without hpc
%bcond_without mpi
%endif
%if "%{flavor}" == "gnu10-openmpi4-hpc"
%{?DisOMPI4}
%global compiler_family gnu
%define c_f_ver 10
%global mpi_flavor openmpi
%define mpi_vers 4
%bcond_without hpc
%bcond_without mpi
%endif
%if "%{flavor}" == "gnu10-mvapich2-hpc"
%global compiler_family gnu
%define c_f_ver 10
%define mpi_flavor mvapich2
%bcond_without hpc
%bcond_without mpi
%endif
%if "%{flavor}" == "gnu10-mpich-hpc"
%global compiler_family gnu
%define c_f_ver 10
%define mpi_flavor mpich
%bcond_without hpc
%bcond_without mpi
%endif
# now exchange the paths
%if %{with hpc}
%{?mpi_flavor:%{bcond_without mpi}}%{!?mpi_flavor:%{bcond_with mpi}}