Compare commits

...

7 Commits
master ... f10

Author SHA1 Message Date
Fedora Release Engineering ffac67a0f3 dist-git conversion 2010-07-29 04:59:25 +00:00
Bill Nottingham 0f58385ddb Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:24:17 +00:00
Jesse Keating 14536138e8 Initialize branch F-10 for openmpi 2008-11-07 03:27:02 +00:00
Jesse Keating 74c7513d45 - Autorebuild for GCC 4.3 2008-02-19 01:45:09 +00:00
Doug Ledford 7a6077a8d1 - Update to 1.2.4 upstream version
- Build against libtorque
- Pass a valid mode to open
- Resolves: bz189441, bz265141
2007-10-17 19:25:14 +00:00
Doug Ledford 021c67e2b7 - Update to 1.2.4 upstream version 2007-10-17 18:34:13 +00:00
Bill Nottingham deb0e344e5 makefile update to properly grab makefile.common 2007-10-15 19:12:06 +00:00
5 changed files with 30 additions and 11 deletions

View File

@ -2,3 +2,4 @@ openmpi-1.0.1.tar.bz2
openmpi-1.0.2.tar.bz2
openmpi-1.1.tar.bz2
openmpi-1.2.3.tar.bz2
openmpi-1.2.4.tar.bz2

View File

@ -1,6 +0,0 @@
# Makefile for source rpm: openmpi
# $Id$
NAME := openmpi
SPECFILE = $(firstword $(wildcard *.spec))
include ../common/Makefile.common

11
openmpi-1.2.4-open.patch Normal file
View File

@ -0,0 +1,11 @@
--- openmpi-1.2.4/orte/runtime/orte_abort.c.open 2007-10-17 14:47:28.000000000 -0400
+++ openmpi-1.2.4/orte/runtime/orte_abort.c 2007-10-17 14:53:23.000000000 -0400
@@ -88,7 +88,7 @@ int orte_abort(int status, bool report)
ORTE_ERROR_LOG(ORTE_ERR_OUT_OF_RESOURCE);
goto CLEANUP;
}
- fd = open(abort_file, O_CREAT);
+ fd = open(abort_file, O_WRONLY, O_CREAT);
if (0 < fd) close(fd);
}

View File

@ -1,6 +1,6 @@
Name: openmpi
Version: 1.2.3
Release: 5%{?dist}
Version: 1.2.4
Release: 2%{?dist}
Summary: Open Message Passing Interface
Group: Development/Libraries
@ -9,8 +9,9 @@ URL: http://www.open-mpi.org/
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 @@ Requires(preun): /usr/sbin/alternatives
%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 @@ Contains development headers and libraries for openmpi
# 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 @@ XFLAGS="-fPIC"
--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" \
@ -263,6 +267,15 @@ alternatives --remove mpicc %{_bindir}/opal_wrapper-%{version}-%{opt_cc}-%{mode}
%changelog
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.4-2
- Autorebuild for GCC 4.3
* Wed Oct 17 2007 Doug Ledford <dledford@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.

View File

@ -1 +1 @@
ae980bb00f9686934a1143701cc041e4 openmpi-1.2.3.tar.bz2
311b38c597f54d8d6b277225ef458666 openmpi-1.2.4.tar.bz2