[openmpi/f14/master] actually need to disable valgrind on all sparc arches

Dennis Gilmore ausil at fedoraproject.org
Mon Sep 6 01:10:32 UTC 2010


commit a978faa31751fa8e47032c50d808666730e1f188
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Sun Sep 5 20:10:17 2010 -0500

    actually need to disable valgrind on all sparc arches

 openmpi.spec |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/openmpi.spec b/openmpi.spec
index 43268d7..9705cf2 100644
--- a/openmpi.spec
+++ b/openmpi.spec
@@ -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 at ausil.us> - 1.4.1-7
-- disable valgrind support on sparc64
+- disable valgrind support on sparc arches
 
 * Sat Jul 24 2010 David Malcolm <dmalcolm at redhat.com> - 1.4.1-6
 - workaround for rhbz#617766


More information about the scm-commits mailing list