Accepting request 779515 from science
- Add support for gcc8/9 building (jsc#SLE-8604). (forwarded request 779445 from eeich) OBS-URL: https://build.opensuse.org/request/show/779515 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/metis?expand=0&rev=7
This commit is contained in:
commit
199ad51384
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 26 12:26:32 UTC 2020 - Egbert Eich <eich@suse.com>
|
||||
|
||||
- Add support for gcc8/9 building (jsc#SLE-8604).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 07:23:19 UTC 2019 - Egbert Eich <eich@suse.com>
|
||||
|
||||
- Build HPC master package for 'examples'.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 12 12:58:53 UTC 2019 - Antoine Ginies <aginies@suse.com>
|
||||
|
||||
|
27
metis.spec
27
metis.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package metis
|
||||
#
|
||||
# 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
|
||||
@ -48,6 +48,27 @@ ExclusiveArch: do_not_build
|
||||
%undefine mpi_flavor
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu7-hpc"
|
||||
%bcond_without hpc
|
||||
%define compiler_family gnu
|
||||
%define c_f_ver 7
|
||||
%undefine mpi_flavor
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu8-hpc"
|
||||
%bcond_without hpc
|
||||
%define compiler_family gnu
|
||||
%define c_f_ver 8
|
||||
%undefine mpi_flavor
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "gnu9-hpc"
|
||||
%bcond_without hpc
|
||||
%define compiler_family gnu
|
||||
%define c_f_ver 9
|
||||
%undefine mpi_flavor
|
||||
%endif
|
||||
|
||||
%if %{without hpc}
|
||||
%if 0%{!?package_name:1}
|
||||
%define package_name %{pname}
|
||||
@ -82,7 +103,7 @@ Release: 0
|
||||
Summary: Serial Graph Partitioning and Fill-reducing Matrix Ordering
|
||||
License: Apache-2.0
|
||||
Group: Productivity/Scientific/Math
|
||||
Url: http://glaros.dtc.umn.edu/gkhome/metis/metis/overview
|
||||
URL: http://glaros.dtc.umn.edu/gkhome/metis/metis/overview
|
||||
Source0: http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/%{pname}-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE metis-cmake.patch
|
||||
Patch1: metis-cmake.patch
|
||||
@ -166,6 +187,8 @@ METIS library provides to partitioning unstructured graphs and hypergraph
|
||||
and computing fill-reducing orderings of sparse matrices. This package provides
|
||||
graph files you can use to test Metis.
|
||||
|
||||
%{?with_hpc:%{hpc_master_package examples}}
|
||||
|
||||
%prep
|
||||
%{?with_hpc: %hpc_debug}
|
||||
%setup -q -n %{pname}-%{version}
|
||||
|
Loading…
Reference in New Issue
Block a user