Add upstream patch to fix AVX library linkage
This commit is contained in:
parent
b5bdf1245b
commit
cd2fcb2471
1682
8322.patch
Normal file
1682
8322.patch
Normal file
File diff suppressed because it is too large
Load Diff
21
openmpi.spec
21
openmpi.spec
@ -25,9 +25,13 @@
|
|||||||
%bcond_without rdma
|
%bcond_without rdma
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Run autogen - needed for some patches
|
||||||
|
# For Patch0
|
||||||
|
%bcond_without autogen
|
||||||
|
|
||||||
Name: openmpi%{?_cc_name_suffix}
|
Name: openmpi%{?_cc_name_suffix}
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Open Message Passing Interface
|
Summary: Open Message Passing Interface
|
||||||
License: BSD and MIT and Romio
|
License: BSD and MIT and Romio
|
||||||
URL: http://www.open-mpi.org/
|
URL: http://www.open-mpi.org/
|
||||||
@ -39,9 +43,17 @@ Source2: openmpi.pth.py2
|
|||||||
Source3: openmpi.pth.py3
|
Source3: openmpi.pth.py3
|
||||||
Source4: macros.openmpi
|
Source4: macros.openmpi
|
||||||
|
|
||||||
|
# Fix AVX library linkage
|
||||||
|
Patch0: https://patch-diff.githubusercontent.com/raw/open-mpi/ompi/pull/8322.patch
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
|
%if %{with autogen}
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: perl(Data::Dumper)
|
||||||
|
BuildRequires: perl(File::Find)
|
||||||
|
%endif
|
||||||
BuildRequires: valgrind-devel
|
BuildRequires: valgrind-devel
|
||||||
%if %{with rdma}
|
%if %{with rdma}
|
||||||
BuildRequires: opensm-devel > 3.3.0
|
BuildRequires: opensm-devel > 3.3.0
|
||||||
@ -161,6 +173,10 @@ OpenMPI support for Python 3.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
%if %{with autogen}
|
||||||
|
./autogen.pl --force
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
@ -345,6 +361,9 @@ make check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 28 2021 Orion Poplawski <orion@nwra.com> - 4.1.0-4
|
||||||
|
- Add upstream patch to fix AVX library linkage
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user