Update to 2.0.2
This commit is contained in:
parent
e9eb831438
commit
378a6c5c8b
1
.gitignore
vendored
1
.gitignore
vendored
@ -34,3 +34,4 @@ openmpi-1.4.1-RH.tar.bz2
|
|||||||
/openmpi-1.10.3.tar.bz2
|
/openmpi-1.10.3.tar.bz2
|
||||||
/openmpi-1.10.4.tar.bz2
|
/openmpi-1.10.4.tar.bz2
|
||||||
/openmpi-2.0.1.tar.bz2
|
/openmpi-2.0.1.tar.bz2
|
||||||
|
/openmpi-2.0.2.tar.bz2
|
||||||
|
19
openmpi.spec
19
openmpi.spec
@ -20,8 +20,8 @@
|
|||||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||||
|
|
||||||
Name: openmpi%{?_cc_name_suffix}
|
Name: openmpi%{?_cc_name_suffix}
|
||||||
Version: 2.0.1
|
Version: 2.0.2
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Open Message Passing Interface
|
Summary: Open Message Passing Interface
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: BSD and MIT and Romio
|
License: BSD and MIT and Romio
|
||||||
@ -33,8 +33,6 @@ Source1: openmpi.module.in
|
|||||||
Source2: openmpi.pth.py2
|
Source2: openmpi.pth.py2
|
||||||
Source3: openmpi.pth.py3
|
Source3: openmpi.pth.py3
|
||||||
Source4: macros.openmpi
|
Source4: macros.openmpi
|
||||||
# threads: fix WAIT_SYNC_INIT with a zero count
|
|
||||||
Patch0: https://github.com/open-mpi/ompi/commit/44a66e208c5771e0897bcf27430a3afa171ba4c2.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
@ -64,7 +62,6 @@ BuildRequires: python3-devel
|
|||||||
BuildRequires: infinipath-psm-devel
|
BuildRequires: infinipath-psm-devel
|
||||||
BuildRequires: libpsm2-devel
|
BuildRequires: libpsm2-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libtool-ltdl-devel
|
|
||||||
BuildRequires: torque-devel
|
BuildRequires: torque-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: rpm-mpi-hooks
|
BuildRequires: rpm-mpi-hooks
|
||||||
@ -145,7 +142,7 @@ OpenMPI support for Python 3.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -n openmpi-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=%{_libdir}/%{name} \
|
./configure --prefix=%{_libdir}/%{name} \
|
||||||
@ -153,24 +150,27 @@ OpenMPI support for Python 3.
|
|||||||
--includedir=%{_includedir}/%{namearch} \
|
--includedir=%{_includedir}/%{namearch} \
|
||||||
--sysconfdir=%{_sysconfdir}/%{namearch} \
|
--sysconfdir=%{_sysconfdir}/%{namearch} \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
|
--enable-builtin-atomics \
|
||||||
--enable-mpi-thread-multiple \
|
--enable-mpi-thread-multiple \
|
||||||
%ifnarch %{power64}
|
%ifnarch %{power64}
|
||||||
--enable-mpi-cxx \
|
--enable-mpi-cxx \
|
||||||
%endif
|
%endif
|
||||||
--enable-mpi-java \
|
--enable-mpi-java \
|
||||||
--with-external-pmix \
|
|
||||||
--with-sge \
|
--with-sge \
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
--with-valgrind \
|
--with-valgrind \
|
||||||
--enable-memchecker \
|
--enable-memchecker \
|
||||||
%endif
|
%endif
|
||||||
--with-hwloc=/usr \
|
--with-hwloc=/usr \
|
||||||
--with-libltdl=/usr \
|
|
||||||
CC=%{opt_cc} CXX=%{opt_cxx} \
|
CC=%{opt_cc} CXX=%{opt_cxx} \
|
||||||
LDFLAGS='%{__global_ldflags}' \
|
LDFLAGS='%{__global_ldflags}' \
|
||||||
CFLAGS="%{?opt_cflags} %{!?opt_cflags:$RPM_OPT_FLAGS}" \
|
CFLAGS="%{?opt_cflags} %{!?opt_cflags:$RPM_OPT_FLAGS}" \
|
||||||
CXXFLAGS="%{?opt_cxxflags} %{!?opt_cxxflags:$RPM_OPT_FLAGS}" \
|
CXXFLAGS="%{?opt_cxxflags} %{!?opt_cxxflags:$RPM_OPT_FLAGS}" \
|
||||||
FC=%{opt_fc} FCFLAGS="%{?opt_fcflags} %{!?opt_fcflags:$RPM_OPT_FLAGS}"
|
FC=%{opt_fc} FCFLAGS="%{?opt_fcflags} %{!?opt_fcflags:$RPM_OPT_FLAGS}"
|
||||||
|
# This fails - https://github.com/open-mpi/ompi/issues/2616
|
||||||
|
# --with-hwloc=external \
|
||||||
|
# We cannot use external pmix without external libevent
|
||||||
|
# --with-pmix=external \
|
||||||
# --with-contrib-vt-flags='CXXFLAGS="-I%{_includedir}/dyninst -L%{_libdir}/dyninst"' \
|
# --with-contrib-vt-flags='CXXFLAGS="-I%{_includedir}/dyninst -L%{_libdir}/dyninst"' \
|
||||||
|
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
@ -298,6 +298,9 @@ make check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 2 2017 Orion Poplawski <orion@cora.nwra.com> - 2.0.2-1
|
||||||
|
- Update to 2.0.2
|
||||||
|
|
||||||
* Sat Jan 28 2017 Björn Esser <besser82@fedoraproject.org> - 2.0.1-7
|
* Sat Jan 28 2017 Björn Esser <besser82@fedoraproject.org> - 2.0.1-7
|
||||||
- Rebuilt for GCC-7
|
- Rebuilt for GCC-7
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user