Skip to content

Commit 3907818

Browse files
Merge pull request #11311 from Artemy-Mellanox/topic/gda-rpm-spec
UCT/GDA: Fix rpm build
2 parents 64f244d + 7ba9d56 commit 3907818

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

contrib/buildrpm.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ if [ $opt_binrpm -eq 1 ]; then
117117
with_args+=" $(with_arg mad)"
118118
with_args+=" $(with_arg mlx5)"
119119
with_args+=" $(with_arg efa)"
120-
with_args+=" $(with_arg gda)"
121120

122121
echo rpmbuild -bb $rpmmacros $rpmopts $rpmspec $defines $with_args | bash -eEx
123122
fi

ucx.spec.in

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
%bcond_without cma
33
%bcond_with cuda
44
%bcond_with gdrcopy
5-
%bcond_with gda
65
%bcond_without ib
76
%bcond_with knem
87
%bcond_without rdmacm
@@ -137,7 +136,6 @@ Provides header files and examples for developing with UCX.
137136
%_with_arg ugni ugni \
138137
%_with_arg mad mad \
139138
%_with_arg ze ze \
140-
%_with_arg gda gda \
141139
%{?configure_options}
142140
make %{?_smp_mflags} V=1
143141

@@ -214,7 +212,7 @@ Provides static libraries required for developing with UCX.
214212
%if %{with vfs}
215213
%{_libdir}/pkgconfig/ucx-fuse.pc
216214
%endif
217-
%if %{with gda}
215+
%if %{with cuda} && %{with mlx5}
218216
%{_libdir}/pkgconfig/ucx-ib-mlx5-gda.pc
219217
%endif
220218

@@ -434,7 +432,7 @@ Provides oneAPI Level Zero (ZE) Runtime support for UCX.
434432
%{_libdir}/ucx/libucm_ze.so.*
435433
%endif
436434

437-
%if %{with gda}
435+
%if %{with cuda} && %{with mlx5}
438436
%package ib-mlx5-gda
439437
Requires: %{name}-cuda%{?_isa} = %{version}-%{release}
440438
Requires: %{name}-ib%{?_isa} = %{version}-%{release}

0 commit comments

Comments
 (0)