Source: hwloc-contrib
Version: 2.1.0+dfsg-2
Severity: wishlist

Hi Samuel,

please enable building hwloc-contrib on ppc64el, too. With the packaged
tesla drivers this could be useful for some people.
Neither do I plan to upload ppc64el binaries (my ppc64el 'machine' is a
qemu chroot) nor do I expect you to do that. But it would be nice to
have the package ready for people that want to build them locally.

The libcuda1 dependency was only needed for ancient nvidia-cuda-dev.
And it is unsatisfiable on ppc64el.

While thinking about it, libxnvctrl-dev and libxnvctrl0 are in main at
least since jessie, so you could move these parts to the hwloc package
in main, too. (Don't forget Breaks+Replaces ...)

Given the special nature of the hwloc/hwloc-contrib source packages,
the attached patch should only serve to give some ideas.

Andreas
diff -Nru hwloc-contrib-2.1.0+dfsg/debian/changelog 
hwloc-contrib-2.1.0+dfsg/debian/changelog
--- hwloc-contrib-2.1.0+dfsg/debian/changelog   2019-11-26 14:27:34.000000000 
+0100
+++ hwloc-contrib-2.1.0+dfsg/debian/changelog   2019-12-09 17:52:19.000000000 
+0100
@@ -1,3 +1,9 @@
+hwloc-contrib (2.1.0+dfsg-3) UNRELEASED; urgency=medium
+
+  * hwloc-contrib can be built on ppc64el, too.
+
+ -- Andreas Beckmann <a...@debian.org>  Mon, 09 Dec 2019 17:52:19 +0100
+
 hwloc-contrib (2.1.0+dfsg-2) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru hwloc-contrib-2.1.0+dfsg/debian/control 
hwloc-contrib-2.1.0+dfsg/debian/control
--- hwloc-contrib-2.1.0+dfsg/debian/control     2019-11-26 14:27:34.000000000 
+0100
+++ hwloc-contrib-2.1.0+dfsg/debian/control     2019-12-09 17:52:19.000000000 
+0100
@@ -3,7 +3,7 @@
 Maintainer: Samuel Thibault <sthiba...@debian.org>
 Build-Depends: debhelper (>= 9), libltdl-dev,
   valgrind [amd64 arm64 armhf i386 mips mipsel powerpc ppc64el s390x mips64el 
ppc64],
-  libx11-dev, libxext-dev, nvidia-cuda-dev, libcuda1, libxnvctrl-dev,
+  libx11-dev, libxext-dev, nvidia-cuda-dev, libxnvctrl-dev,
   libpciaccess-dev, libudev-dev [linux-any], pkg-config,
   libibverbs-dev [linux-any],
   ocl-icd-opencl-dev [!hurd-i386] | opencl-dev, opencl-headers,
@@ -18,7 +18,7 @@
 Vcs-Browser: https://github.com/open-mpi/hwloc-debian/tree/contrib
 
 Package: libhwloc-contrib-plugins
-Architecture: amd64
+Architecture: amd64 ppc64el
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}, libhwloc15 (>= 
${source:Upstream-Version}~), libhwloc15 (<< ${source:Upstream-Version}A)
 Description: Hierarchical view of the machine - contrib plugins

Reply via email to