Close 647011 and 679489

This commit is contained in:
Jay Fenlason 2011-03-17 00:28:42 -04:00
parent 13ecac7917
commit ad18b4ebac
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- openmpi-1.5/opal/config/opal_config_asm.m4.jj 2010-09-28 23:33:51.000000000 +0200
+++ openmpi-1.5/opal/config/opal_config_asm.m4 2011-02-23 01:39:21.191433509 +0100
@@ -885,7 +885,7 @@ AC_DEFUN([OMPI_CONFIG_ASM],[
ompi_cv_asm_arch="AMD64"
fi
OPAL_ASM_SUPPORT_64BIT=1
- OMPI_GCC_INLINE_ASSIGN='"xaddl %1,%0" : "=m"(ret), "+r"(negone)'
+ OMPI_GCC_INLINE_ASSIGN='"xaddl %1,%0" : "=m"(ret), "+r"(negone) : "m"(ret)'
;;
ia64-*)

View File

@ -19,7 +19,7 @@
Name: openmpi%{?_cc_name_suffix} Name: openmpi%{?_cc_name_suffix}
Version: 1.5 Version: 1.5
Release: 2%{?dist} Release: 3%{?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
@ -35,6 +35,7 @@ URL: http://www.open-mpi.org/
Source0: openmpi-%{version}-RH.tar.bz2 Source0: openmpi-%{version}-RH.tar.bz2
Source1: openmpi.module.in Source1: openmpi.module.in
Source2: macros.openmpi Source2: macros.openmpi
Patch0: openmpi-1.5-dt-textrel.patch
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
@ -44,6 +45,7 @@ BuildRequires: valgrind-devel
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
BuildRequires: libesmtp-devel
#%ifnarch ppc #%ifnarch ppc
#BuildRequires: compat-dapl-devel #BuildRequires: compat-dapl-devel
#%endif #%endif
@ -116,6 +118,7 @@ Contains development headers and libraries for openmpi
%prep %prep
%setup -q -n openmpi-%{version} %setup -q -n openmpi-%{version}
%patch0 -p1 -b .dt-textrel
./autogen.sh ./autogen.sh
%build %build
@ -132,7 +135,9 @@ XFLAGS="-fPIC"
--with-sge \ --with-sge \
%ifnarch %{sparc} %ifnarch %{sparc}
--with-valgrind \ --with-valgrind \
--enable-memchecker \
%endif %endif
--with-esmtp \
--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}" \
@ -227,6 +232,12 @@ rm -rf %{buildroot}
%{_sysconfdir}/rpm/macros.%{namearch} %{_sysconfdir}/rpm/macros.%{namearch}
%changelog %changelog
* Thu Mar 17 2011 Jay Fenlason <fenlason@redhat.com> 1.5-3
- Add dt-textrel patch to close
Resolves: bz679489
- Add memchecker and esmtp support
Resolves: bz647011
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild