Skip to content

Commit dd36e9b

Browse files
committed
OpenMPI: Add missing header for ROCm memcpy
Taken from open-mpi/ompi#13295 and the 5.0.x backport.
1 parent 9f9ee8c commit dd36e9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openmpi.spec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
%define branch v5.0.x
66
%define tag v%{realversion}
77
Source: git+https://github.com/open-mpi/ompi.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&submodules=1&output=/%{n}-%{realversion}.tgz
8+
Source1: https://github.com/open-mpi/ompi/commit/aa5577441ff1ab7f97f8b63e442b37457c7bd997.diff
89
Patch0: openmpi-setenv-fix
910
BuildRequires: autotools flex
1011
%{!?without_cuda:Requires: cuda}
@@ -26,6 +27,7 @@ Requires: zlib
2627
%prep
2728
%setup -q -n %{n}-%{realversion}
2829
%patch0 -p1
30+
patch -p1 < %{SOURCE1}
2931

3032
#Make sure IPATH_NO_BACKTRACE and HFI_NO_BACKTRACE default values match what we expect (see cmsdist/openmpi-opt.file)
3133
grep ' opal_setenv("IPATH_NO_BACKTRACE", "%{IPATH_NO_BACKTRACE}", true, &environ)' opal/runtime/opal_init.c

0 commit comments

Comments
 (0)