Fix valgrind arch availability

This commit is contained in:
Orion Poplawski 2015-08-24 20:28:04 -06:00
parent 2ccf31433e
commit bb7e095050

View File

@ -22,7 +22,7 @@
Name: openmpi%{?_cc_name_suffix} Name: openmpi%{?_cc_name_suffix}
Version: 1.8.8 Version: 1.8.8
Release: 3%{?dist} Release: 4%{?dist}
Summary: Open Message Passing Interface Summary: Open Message Passing Interface
Group: Development/Libraries Group: Development/Libraries
License: BSD, MIT and Romio License: BSD, MIT and Romio
@ -34,8 +34,7 @@ Source1: openmpi.module.in
Source2: macros.openmpi Source2: macros.openmpi
BuildRequires: gcc-gfortran BuildRequires: gcc-gfortran
#sparc64 don't have valgrind %ifnarch s390
%ifnarch %{sparc}
BuildRequires: valgrind-devel BuildRequires: valgrind-devel
%endif %endif
BuildRequires: libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0 BuildRequires: libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0
@ -123,7 +122,7 @@ Contains development wrapper for compiling Java with openmpi.
--with-libevent=/usr \ --with-libevent=/usr \
--with-verbs=/usr \ --with-verbs=/usr \
--with-sge \ --with-sge \
%ifnarch %{sparc} %ifnarch s390
--with-valgrind \ --with-valgrind \
--enable-memchecker \ --enable-memchecker \
%endif %endif
@ -234,6 +233,9 @@ make check
%changelog %changelog
* Mon Aug 23 2015 Orion Poplawski <orion@cora.nwra.com> 1.8.8-4
- Disable valgrind only on s390
* Mon Aug 17 2015 Orion Poplawski <orion@cora.nwra.com> 1.8.8-3 * Mon Aug 17 2015 Orion Poplawski <orion@cora.nwra.com> 1.8.8-3
- Do not filter libvt* provides as some dependencies link to it - Do not filter libvt* provides as some dependencies link to it