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