disable valgrind support on sparc64
This commit is contained in:
parent
cbc245ba58
commit
bf65001ac8
13
openmpi.spec
13
openmpi.spec
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
Name: openmpi%{?_cc_name_suffix}
|
Name: openmpi%{?_cc_name_suffix}
|
||||||
Version: 1.4.1
|
Version: 1.4.1
|
||||||
Release: 6%{?dist}
|
Release: 7%{?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
|
||||||
@ -37,7 +37,11 @@ Source0: openmpi-%{version}-RH.tar.bz2
|
|||||||
Source1: openmpi.module.in
|
Source1: openmpi.module.in
|
||||||
Source2: macros.openmpi
|
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, 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: libibverbs-devel >= 1.1.3, opensm-devel > 3.3.0
|
||||||
BuildRequires: librdmacm librdmacm-devel libibcm libibcm-devel
|
BuildRequires: librdmacm librdmacm-devel libibcm libibcm-devel
|
||||||
BuildRequires: python libtool-ltdl-devel plpa-devel
|
BuildRequires: python libtool-ltdl-devel plpa-devel
|
||||||
@ -132,7 +136,9 @@ XFLAGS="-fPIC"
|
|||||||
--enable-mpi-threads \
|
--enable-mpi-threads \
|
||||||
--enable-openib-ibcm \
|
--enable-openib-ibcm \
|
||||||
--with-sge \
|
--with-sge \
|
||||||
|
%ifnarch sparc64
|
||||||
--with-valgrind \
|
--with-valgrind \
|
||||||
|
%endif
|
||||||
--with-wrapper-cflags="%{?opt_cflags} %{?modeflag}" \
|
--with-wrapper-cflags="%{?opt_cflags} %{?modeflag}" \
|
||||||
--with-wrapper-cxxflags="%{?opt_cxxflags} %{?modeflag}" \
|
--with-wrapper-cxxflags="%{?opt_cxxflags} %{?modeflag}" \
|
||||||
--with-wrapper-fflags="%{?opt_fflags} %{?modeflag}" \
|
--with-wrapper-fflags="%{?opt_fflags} %{?modeflag}" \
|
||||||
@ -224,6 +230,9 @@ rm -rf %{buildroot}
|
|||||||
%{_sysconfdir}/rpm/macros.%{namearch}
|
%{_sysconfdir}/rpm/macros.%{namearch}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 05 2010 Dennis Gilmore <dennis@ausil.us> - 1.4.1-7
|
||||||
|
- disable valgrind support on sparc64
|
||||||
|
|
||||||
* 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user