Accepting request 687143 from home:anag:branches:science:HPC

- Add patch to remove obsolete GCC check (bnc#1129421). It also patches
  autogen.sh to get the autotools working in SLE12SP4.
  * 0001-Drop-GCC-check.patch
- Force to re-run autotools to generate properly the files after 
  patching src/binding/cxx/buildiface

OBS-URL: https://build.opensuse.org/request/show/687143
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=54
This commit is contained in:
Nicolas Morey-Chaisemartin
2019-03-21 12:59:45 +00:00
committed by Git OBS Bridge
parent 67b8d3699c
commit 6e2d12369f
3 changed files with 62 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package mvapich2
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -164,6 +164,9 @@ Source3: macros.hpc-mvapich2
Source100: _multibuild
Patch0: mvapich2-s390_get_cycles.patch
Patch2: mvapich2-arm-support.patch
# PATCH-FIX-UPSTREAM 0001-Drop-GCC-check.patch (bnc#1129421)
# It's been merged upstream, should be removed with the next release
Patch3: 0001-Drop-GCC-check.patch
Url: http://mvapich.cse.ohio-state.edu/overview/mvapich2/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -293,10 +296,11 @@ is based on MPICH2 and MVICH. This package contains the static libraries
%setup -q -n mvapich2-%{version}%{?rc_ver}
%patch0
%patch2
%patch3
cp /usr/share/automake*/config.* .
%build
#./autogen.sh
PERL_USE_UNSAFE_INC=1 ./autogen.sh
%if %{with hpc}
%{hpc_setup}
%{hpc_configure} \