[openmpi/f14/master] disable valgrind support on sparc64

Dennis Gilmore ausil at fedoraproject.org
Mon Sep 6 00:52:49 UTC 2010


commit bf65001ac8bd0ab54414fa749dab7a6ef908c4c1
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Sun Sep 5 19:52:34 2010 -0500

    disable valgrind support on sparc64

 openmpi.spec |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/openmpi.spec b/openmpi.spec
index 95d51bd..43268d7 100644
--- a/openmpi.spec
+++ b/openmpi.spec
@@ -19,7 +19,7 @@
 
 Name:			openmpi%{?_cc_name_suffix}
 Version:		1.4.1
-Release:		6%{?dist}
+Release:		7%{?dist}
 Summary:		Open Message Passing Interface
 Group:			Development/Libraries
 License:		BSD, MIT and Romio
@@ -37,7 +37,11 @@ Source0:		openmpi-%{version}-RH.tar.bz2
 Source1:		openmpi.module.in
 Source2:		macros.openmpi
 BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:		gcc-gfortran, libtool, numactl-devel, valgrind-devel
+BuildRequires:		gcc-gfortran, libtool, numactl-devel
+#sparc 64 doesnt have valgrind
+%ifnarch sparc64
+BuildRequires:          valgrind-devel
+%endif
 BuildRequires:		libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0
 BuildRequires:		librdmacm librdmacm-devel libibcm libibcm-devel
 BuildRequires:		python libtool-ltdl-devel plpa-devel
@@ -132,7 +136,9 @@ XFLAGS="-fPIC"
 	--enable-mpi-threads \
 	--enable-openib-ibcm \
 	--with-sge \
+%ifnarch sparc64
 	--with-valgrind \
+%endif
 	--with-wrapper-cflags="%{?opt_cflags} %{?modeflag}" \
 	--with-wrapper-cxxflags="%{?opt_cxxflags} %{?modeflag}" \
 	--with-wrapper-fflags="%{?opt_fflags} %{?modeflag}" \
@@ -224,6 +230,9 @@ rm -rf %{buildroot}
 %{_sysconfdir}/rpm/macros.%{namearch}
 
 %changelog
+* Sat Sep 05 2010 Dennis Gilmore <dennis at ausil.us> - 1.4.1-7
+- disable valgrind support on sparc64
+
 * 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