actually need to disable valgrind on all sparc arches

This commit is contained in:
Dennis Gilmore 2010-09-05 20:10:17 -05:00
parent bf65001ac8
commit a978faa317

View File

@ -39,7 +39,7 @@ Source2: macros.openmpi
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-gfortran, libtool, numactl-devel
#sparc 64 doesnt have valgrind
%ifnarch sparc64
%ifnarch %{sparc}
BuildRequires: valgrind-devel
%endif
BuildRequires: libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0
@ -136,7 +136,7 @@ XFLAGS="-fPIC"
--enable-mpi-threads \
--enable-openib-ibcm \
--with-sge \
%ifnarch sparc64
%ifnarch %{sparc}
--with-valgrind \
%endif
--with-wrapper-cflags="%{?opt_cflags} %{?modeflag}" \
@ -231,7 +231,7 @@ rm -rf %{buildroot}
%changelog
* Sat Sep 05 2010 Dennis Gilmore <dennis@ausil.us> - 1.4.1-7
- disable valgrind support on sparc64
- disable valgrind support on sparc arches
* Sat Jul 24 2010 David Malcolm <dmalcolm@redhat.com> - 1.4.1-6
- workaround for rhbz#617766