Skip to content

Commit 52ace40

Browse files
author
Tzafrir Cohen
committed
BUILD/DEBIAN: Use dep libnvidia-ml1 for ucx-cuda
The names of packages provided by NVidia in CUDA don't seem to follow the standard required by Debian (package per library), and therefore shlibdep creates dependencies that are too strict: on libnvidia-compute-515 instead of the actual name of the library. Thus this commit fixes the generated dependency: adding "| libnvidia-ml1" (that is: may also be satisfied by any package that provides libnvidia-ml1). It seems that the name of the library, provided by all relevant packages, is "libnvidia-ml1". Use the standard dependency name of <specific> | <provides>.
1 parent c17db22 commit 52ace40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

debian/rules.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,9 @@ override_dh_auto_install:
2929

3030
override_dh_shlibdeps:
3131
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
32+
if [ -e debian/ucx-cuda.substvars ]; then \
33+
sed -i -e 's/libnvidia-compute-\([0-9]\+\)/& | libnvidia-ml1/' \
34+
debian/ucx-cuda.substvars \
35+
; fi
3236

3337
override_dh_auto_clean:

0 commit comments

Comments
 (0)