rpms/openmpi/devel openmpi.spec,1.27,1.28
Doug Ledford (dledford)
fedora-extras-commits at redhat.com
Wed Oct 17 19:24:49 UTC 2007
Author: dledford
Update of /cvs/extras/rpms/openmpi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2690
Modified Files:
openmpi.spec
Log Message:
* Wed Oct 17 2007 Doug Ledford <dledford at redhat.com> - 1.2.4-1
- Update to 1.2.4 upstream version
- Build against libtorque
- Pass a valid mode to open
- Resolves: bz189441, bz265141
Index: openmpi.spec
===================================================================
RCS file: /cvs/extras/rpms/openmpi/devel/openmpi.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- openmpi.spec 17 Oct 2007 18:34:13 -0000 1.27
+++ openmpi.spec 17 Oct 2007 19:24:13 -0000 1.28
@@ -9,8 +9,9 @@
Source0: http://www.open-mpi.org/software/ompi/v1.2/downloads/%{name}-%{version}.tar.bz2
Source1: openmpi.pc.in
Source2: openmpi.module.in
+Patch0: openmpi-1.2.4-open.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: gcc-gfortran, libtool, numactl-devel, libsysfs-devel
+BuildRequires: gcc-gfortran, libtool, numactl-devel, libtorque-devel
#BuildRequires: libibverbs-devel, opensm-devel
#%ifnarch ppc
#BuildRequires: dapl-devel
@@ -28,7 +29,7 @@
%package devel
Summary: Development files for openmpi
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
Provides: mpi-devel
Requires(post): /usr/sbin/alternatives
Requires(preun): /usr/sbin/alternatives
@@ -107,6 +108,7 @@
# Kill the stack protection and fortify source stuff...it slows things down
# and openmpi hasn't been audited for it yet
#RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=.//' | sed -e 's/-fstack-protector//'`
+%patch0 -p1
%ifarch x86_64
XFLAGS="-fPIC"
@@ -117,6 +119,8 @@
--datadir=%{_datadir}/%{mpidir}/help%{mode} \
--mandir=%{_datadir}/%{mpidir}/man \
--with-libnuma=%{_libdir} \
+ --with-threads=posix \
+ --with-tm \
CC=%{opt_cc} \
LDFLAGS='-Wl,-z,noexecstack' \
CFLAGS="%{?opt_cc_cflags} $RPM_OPT_FLAGS $XFLAGS" \
@@ -265,6 +269,9 @@
%changelog
* Wed Oct 17 2007 Doug Ledford <dledford at redhat.com> - 1.2.4-1
- Update to 1.2.4 upstream version
+- Build against libtorque
+- Pass a valid mode to open
+- Resolves: bz189441, bz265141
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.2.3-5
- Rebuild for selinux ppc32 issue.
More information about the fedora-extras-commits
mailing list