Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package hwloc-contrib

[ Reason ]
hwloc-contrib currently FTBFS due to #984984 : nvidia-alternative fixed
providing libnvidia-ml.so, and thus hwloc-contrib is now able to build
its nvml plugin but dh_missing complains that it was not configured to.

In the hwloc-contrib/2.4.1+dfsg-2 upload, I re-enabled installing
the nvml plugin, as the attached patch shows.

[ Impact ]
Without the nvml plugin, it is harder for hwloc-based applications to
determine the locality of GPUs in the system, and thus to optimize data
transfers and get efficient execution.

[ Tests ]
I have tested it on a system that has GPUs, the nvml location is
correct.

[ Risks ]
The code change is trivial :)
The consequence for systems without a GPU is just an nvmlInit() call
that will report that there is no nvml device. For systems with a GPU,
the nvml plugin just gets information from libnvidia-ml and stores it
for applications that would want it.

Alternatively, we could mark the nvml plugin as not-installed.

[ Checklist ]
  [X] all changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in testing

unblock hwloc-contrib/2.4.1+dfsg-2
diff -Nru hwloc-contrib-2.4.1+dfsg/debian/changelog 
hwloc-contrib-2.4.1+dfsg/debian/changelog
--- hwloc-contrib-2.4.1+dfsg/debian/changelog   2021-02-22 18:21:18.000000000 
+0100
+++ hwloc-contrib-2.4.1+dfsg/debian/changelog   2021-03-11 16:01:54.000000000 
+0100
@@ -1,3 +1,10 @@
+hwloc-contrib (2.4.1+dfsg-2) unstable; urgency=medium
+
+  * libhwloc-contrib-plugins.install: Install the nvml plugin again
+    (Closes: Bug#984984)
+
+ -- Samuel Thibault <sthiba...@debian.org>  Thu, 11 Mar 2021 16:01:54 +0100
+
 hwloc-contrib (2.4.1+dfsg-1) unstable; urgency=medium
 
   * New upstream bugfix release.
diff -Nru hwloc-contrib-2.4.1+dfsg/debian/libhwloc-contrib-plugins.install 
hwloc-contrib-2.4.1+dfsg/debian/libhwloc-contrib-plugins.install
--- hwloc-contrib-2.4.1+dfsg/debian/libhwloc-contrib-plugins.install    
2021-02-22 18:21:18.000000000 +0100
+++ hwloc-contrib-2.4.1+dfsg/debian/libhwloc-contrib-plugins.install    
2021-03-11 16:01:54.000000000 +0100
@@ -1 +1,2 @@
 usr/lib/*/hwloc/hwloc_cuda.so
+usr/lib/*/hwloc/hwloc_nvml.so

Reply via email to